users@glassfish.java.net

Re: can't run glassfish-9.0-b48 in windows XP

From: Binod <Binod.Pg_at_Sun.COM>
Date: Fri, 06 Oct 2006 16:06:00 +0530

As I said, something on the problematic machine is blocking a port. Note
that
nio, in windows, opens sockets on loop back address for internal
communication.

Once I found a Sasser virus in such a machine. I am not saying that your
machine
has a virus.

Will you be able to send us information about the processes running in
the problematic
machine? For example, you can send a screen snapshot of the taskmanager
window.
That might give us some clue..

- Binod.

>Hi,
>I did a new installation on a other windows XP mashine and did not get any
>error.
>it worked without adding the line:
><jvm-options>-Dcom.sun.enterprise.server.ss.ASQuickStartup=false</jvm-options>
>Regards,
>Ove
>
>
>Binod.Pg wrote:
>
>
>>This issue could happen due to multiple reasons, for eg: some setting
>>in the firewall in your machine might be interfering with nio.
>>
>>To narrow down the issue, can you try disabling firewall or any other
>>network filtering software in your machine (and dont set the jvm-option)
>>and let us know the result.
>>
>>thanks,
>>Binod,
>>
>>
>>
>>>Hi,
>>>It works, thanks!
>>>Regards,
>>>Ove
>>>
>>>Jeanfrancois Arcand-2 wrote:
>>>
>>>
>>>
>>>
>>>>Hi,
>>>>
>>>>add the following in domain.xml:
>>>>
>>>><jvm-options>-Dcom.sun.enterprise.server.ss.ASQuickStartup=false</jvm-options>
>>>>
>>>>and restart your server. If that works, can you file an issue:
>>>>
>>>>https://glassfish.dev.java.net/servlets/ProjectIssues
>>>>
>>>>Categorie: others.
>>>>
>>>>Thanks
>>>>
>>>>-- Jeanfrancois
>>>>
>>>>
>>>>OveNordstrom wrote:
>>>>
>>>>
>>>>
>>>>
>>>>>C:\Sun\glassfish\bin>asadmin start-domain domain1
>>>>>
>>>>>It looks ok!
>>>>>(No errors in C:\Sun\glassfish\domains\domain1\logs).
>>>>>
>>>>>Now in the browser I do this: http://localhost:8080/
>>>>>It don't work, what to do?
>>>>>
>>>>>C:\Sun\glassfish\domains\domain1\logs:
>>>>>------------------------------------------------------
>>>>>[#|2006-10-03T15:20:38.375+0200|INFO|sun-appserver-pe9.0|javax.enterprise.tools.launcher|_ThreadID=10;_ThreadName=main;|
>>>>>C:/jdk1.5.0_09/jre/..\bin\java
>>>>>-client
>>>>>-Xmx512m
>>>>>-XX:NewRatio=2
>>>>>-Dcom.sun.aas.defaultLogFile=C:/Sun/glassfish/domains/domain1/logs/server.log
>>>>>-Djava.endorsed.dirs=C:/Sun/glassfish/lib/endorsed
>>>>>-Djava.security.policy=C:/Sun/glassfish/domains/domain1/config/server.policy
>>>>>-Djava.security.auth.login.config=C:/Sun/glassfish/domains/domain1/config/login.conf
>>>>>-Dsun.rmi.dgc.server.gcInterval=3600000
>>>>>-Dsun.rmi.dgc.client.gcInterval=3600000
>>>>>-Djavax.net.ssl.keyStore=C:/Sun/glassfish/domains/domain1/config/keystore.jks
>>>>>-Djavax.net.ssl.trustStore=C:/Sun/glassfish/domains/domain1/config/cacerts.jks
>>>>>-Djava.ext.dirs=C:/jdk1.5.0_09/jre/../jre/lib/ext;C:/Sun/glassfish/domains/domain1/lib/ext;C:/Sun/glassfish/javadb/lib
>>>>>-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
>>>>>-Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
>>>>>-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
>>>>>-Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
>>>>>-Dcom.sun.enterprise.taglisteners=jsf-impl.jar
>>>>>-Dcom.sun.aas.classloader.optionalOverrideableChain=appserv-ws.jar,commons-logging.jar,commons-launcher.jar
>>>>>-Dcom.sun.aas.classloader.appserverChainJars=admin-cli.jar,admin-cli-ee.jar,dbschema.jar,j2ee-svc.jar
>>>>>-Dcom.sun.aas.classloader.serverClassPath.ee=%HADB_HOME%/lib/hadbjdbc4.jar,C:/Sun/glassfish/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,%HADB_HOME%/lib/dbstate.jar,%HADB_HOME%/lib/hadbm.jar,%HADB_HOME%/lib/hadbmgt.jar,%MFWK_HOME%/lib/mfwk_instrum_tk.jar
>>>>>-Dcom.sun.aas.configName=server-config
>>>>>-Ddomain.name=domain1
>>>>>-Djmx.invoke.getters=true
>>>>>-Dcom.sun.aas.promptForIdentity=true
>>>>>-Dcom.sun.aas.classloader.optionalOverrideableChain.ee=
>>>>>-Dcom.sun.aas.instanceRoot=C:/Sun/glassfish/domains/domain1
>>>>>-Dcom.sun.aas.domainName=domain1
>>>>>-Dcom.sun.aas.classloader.sharedChainJars=javaee.jar,C:/jdk1.5.0_09/jre/../lib/tools.jar,install/applications/jmsra/imqjmsra.jar,commons-launcher.jar,C:/Sun/glassfish/imq/lib/jaxm-api.jar,C:/Sun/glassfish/imq/lib/fscontext.jar,C:/Sun/glassfish/imq/lib/imqbroker.jar,C:/Sun/glassfish/imq/lib/imqjmx.jar,C:/Sun/glassfish/imq/lib/imqxm.jar,C:/Sun/glassfish/lib/ant/lib/ant.jar,appserv-ws.jar,mail.jar,jsf-api.jar,jsf-impl.jar,appserv-jstl.jar,appserv-env.jar,jmxremote_optional.jar,C:/Sun/glassfish/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,commons-logging.jar,activation.jar,appserv-rt.jar,appserv-admin.jar,appserv-cmp.jar
>>>>>-Dcom.sun.aas.classloader.sharedChainJars.ee=appserv-se.jar,appserv-ee.jar,%HADB_HOME%/lib/dbstate.jar,%HADB_HOME%/lib/hadbjdbc4.jar,jgroups-all.jar,%MFWK_HOME%/lib/mfwk_instrum_tk.jar
>>>>>-Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
>>>>>-Dcom.sun.enterprise.overrideablejavaxpackages=javax.xml.bind,javax.help,javax.portlet
>>>>>-Dcom.sun.aas.classloader.serverClassPath=C:/Sun/glassfish/lib/install/applications/jmsra/imqjmsra.jar,C:/Sun/glassfish/imq/lib/jaxm-api.jar,C:/Sun/glassfish/imq/lib/fscontext.jar,C:/Sun/glassfish/imq/lib/imqbroker.jar,C:/Sun/glassfish/imq/lib/imqjmx.jar,C:/Sun/glassfish/lib/ant/lib/ant.jar,C:/Sun/glassfish/lib/SUNWjdmk/5.1/lib/jdmkrt.jar
>>>>>-Dcom.sun.aas.classloader.appserverChainJars.ee=
>>>>>-Dcom.sun.aas.configRoot=C:/Sun/glassfish/config
>>>>>-Djava.library.path=C:\Sun\glassfish\lib;C:\Sun\glassfish\lib;C:\jdk1.5.0_09\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Sun\glassfish\lib;C:\Sun\glassfish\bin;C:\Sun\glassfish\bin;C:\Sun\glassfish\lib;C:\jdk1.5.0_09\bin;C:\Nokia\Carbide_j_1_5\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
>>>>>Files\ATI Technologies\ATI Control Panel;C:\Program
>>>>>Files\Subversion\bin;C:\Program
>>>>>Files\QuickTime\QTSystem\;C:\Nokia\Update_Manager\bin;C:\Program
>>>>>Files\netbeans-5.5beta2\uml3\modules\DoorsIntegrationFiles\modules\bin;C:\apache-ant-1.6.5\bin
>>>>>-Dcom.sun.aas.instanceName=server
>>>>>-Dcom.sun.aas.processLauncher=SE
>>>>>-Dcom.sun.aas.installRoot=C:/Sun/glassfish
>>>>>-Dcom.sun.aas.ClassPathPrefix=
>>>>>-Dcom.sun.aas.ClassPathSuffix=
>>>>>-Dcom.sun.aas.ServerClassPath=
>>>>>-cp
>>>>>;C:/Sun/glassfish/lib/appserv-launch.jar
>>>>>com.sun.enterprise.server.PELaunch
>>>>>start|#]
>>>>>
>>>>>[#|2006-10-03T15:20:38.890+0200|INFO|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Starting
>>>>>Sun Java System Application Server Platform Edition 9.0 (build b48)
>>>>>...|#]
>>>>>
>>>>>[#|2006-10-03T15:20:40.562+0200|INFO|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE5098:
>>>>>AS Socket Service Initialization has been completed.|#]
>>>>>
>>>>>[#|2006-10-03T15:20:40.593+0200|INFO|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;Java
>>>>>HotSpot(TM) Client VM;1.5.0_09;Sun Microsystems Inc.;|CORE5076: Using
>>>>>[Java
>>>>>HotSpot(TM) Client VM, Version 1.5.0_09] from [Sun Microsystems Inc.]|#]
>>>>>
>>>>>[#|2006-10-03T15:20:40.640+0200|INFO|sun-appserver-pe9.0|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;|SEC1002:
>>>>>Security Manager is OFF.|#]
>>>>>
>>>>>[#|2006-10-03T15:20:42.078+0200|INFO|sun-appserver-pe9.0|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|ADM0001:MBeanServer
>>>>>initialized successfully|#]
>>>>>
>>>>>[#|2006-10-03T15:20:44.703+0200|INFO|sun-appserver-pe9.0|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;com.sun.enterprise.security.provider.PolicyWrapper;|SEC1143:
>>>>>Loading policy provider
>>>>>com.sun.enterprise.security.provider.PolicyWrapper.|#]
>>>>>
>>>>>[#|2006-10-03T15:20:44.859+0200|INFO|sun-appserver-pe9.0|javax.enterprise.system.core.selfmanagement|_ThreadID=10;_ThreadName=main;|sgmt.service_initialized|#]
>>>>>
>>>>>[#|2006-10-03T15:21:07.453+0200|INFO|sun-appserver-pe9.0|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|ADM1079:
>>>>>Initialization of AMX MBeans successful|#]
>>>>>
>>>>>[#|2006-10-03T15:22:15.750+0200|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;com.sun.enterprise.admin.server.core.JmxConnectorLifecycle_at_138d56e;com.sun.appserv.server.ServerLifecycleException:
>>>>>Cannot bind to URL
>>>>>[rmi://10.226.16.49:8686/management/rmi-jmx-connector]:
>>>>>javax.naming.CommunicationException [Root exception is
>>>>>java.rmi.ConnectIOException: error during JRMP connection establishment;
>>>>>nested exception is:
>>>>> java.net.SocketTimeoutException: Read timed
>>>>>out];_RequestID=8c3ca2d0-0a94-4641-958d-f1371e8677f7;|Service
>>>>>com.sun.enterprise.admin.server.core.JmxConnectorLifecycle_at_138d56e
>>>>>
>>>>>
>cannot
>
>
>>>>>be
>>>>>started! : com.sun.appserv.server.ServerLifecycleException: Cannot bind
>>>>>to
>>>>>URL [rmi://10.226.16.49:8686/management/rmi-jmx-connector]:
>>>>>javax.naming.CommunicationException [Root exception is
>>>>>java.rmi.ConnectIOException: error during JRMP connection establishment;
>>>>>nested exception is:
>>>>> java.net.SocketTimeoutException: Read timed out]|#]
>>>>>
>>>>>[#|2006-10-03T15:22:15.750+0200|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=8c3ca2d0-0a94-4641-958d-f1371e8677f7;|CORE5071:
>>>>>An error occured during initialization
>>>>>com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL
>>>>>[rmi://10.226.16.49:8686/management/rmi-jmx-connector]:
>>>>>javax.naming.CommunicationException [Root exception is
>>>>>java.rmi.ConnectIOException: error during JRMP connection establishment;
>>>>>nested exception is:
>>>>> java.net.SocketTimeoutException: Read timed out]
>>>>> at
>>>>>com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnectorLifecycle.java:127)
>>>>> at
>>>>>com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:326)
>>>>> at
>>>>>com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:112)
>>>>> at com.sun.enterprise.server.PEMain.run(PEMain.java:326)
>>>>> at com.sun.enterprise.server.PEMain.main(PEMain.java:260)
>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> at
>>>>>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>> at
>>>>>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>> at java.lang.reflect.Method.invoke(Method.java:585)
>>>>> at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
>>>>>Caused by: java.io.IOException: Cannot bind to URL
>>>>>[rmi://10.226.16.49:8686/management/rmi-jmx-connector]:
>>>>>javax.naming.CommunicationException [Root exception is
>>>>>java.rmi.ConnectIOException: error during JRMP connection establishment;
>>>>>nested exception is:
>>>>> java.net.SocketTimeoutException: Read timed out]
>>>>> at
>>>>>javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:814)
>>>>> at
>>>>>javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:431)
>>>>> at
>>>>>com.sun.enterprise.admin.jmx.remote.server.rmi.JmxConnectorServerDriver.startConnectorServer(JmxConnectorServerDriver.java:196)
>>>>> at
>>>>>com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnectorLifecycle.java:118)
>>>>> ... 9 more
>>>>>Caused by: javax.naming.CommunicationException [Root exception is
>>>>>java.rmi.ConnectIOException: error during JRMP connection establishment;
>>>>>nested exception is:
>>>>> java.net.SocketTimeoutException: Read timed out]
>>>>> at
>>>>>com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:122)
>>>>> at
>>>>>com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.java:208)
>>>>> at javax.naming.InitialContext.bind(InitialContext.java:359)
>>>>> at
>>>>>javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:635)
>>>>> at
>>>>>javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:427)
>>>>> ... 11 more
>>>>>Caused by: java.rmi.ConnectIOException: error during JRMP connection
>>>>>establishment; nested exception is:
>>>>> java.net.SocketTimeoutException: Read timed out
>>>>> at
>>>>>sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:273)
>>>>> at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
>>>>> at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)
>>>>> at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
>>>>> at
>>>>>com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:116)
>>>>> ... 15 more
>>>>>Caused by: java.net.SocketTimeoutException: Read timed out
>>>>> at
>>>>>com.sun.enterprise.server.ss.provider.ASInputStream.waitForSelect(ASInputStream.java:141)
>>>>> at
>>>>>com.sun.enterprise.server.ss.provider.ASInputStream.read(ASInputStream.java:99)
>>>>> at
>>>>>com.sun.enterprise.server.ss.provider.ASInputStream.read(ASInputStream.java:91)
>>>>> at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
>>>>> at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
>>>>> at java.io.DataInputStream.readByte(DataInputStream.java:241)
>>>>> at
>>>>>sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:215)
>>>>> ... 19 more
>>>>>|#]
>>>>>
>>>>>[#|2006-10-03T15:22:15.750+0200|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=8c3ca2d0-0a94-4641-958d-f1371e8677f7;|Server
>>>>>Startup failed. Exiting...|#]
>>>>>
>>>>>[#|2006-10-03T15:22:15.750+0200|INFO|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Server
>>>>>shutdown in progress...|#]
>>>>>
>>>>>[#|2006-10-03T15:22:15.750+0200|INFO|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE5051:
>>>>>Shutting down all J2EE applications ...|#]
>>>>>
>>>>>[#|2006-10-03T15:22:15.750+0200|INFO|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE
>>>>>5060 : Stopping all J2EE Connector 1.5 Compliant resource adapters
>>>>>...|#]
>>>>>
>>>>>[#|2006-10-03T15:22:15.750+0200|INFO|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE
>>>>>5061 : Resource adapters Stop() Complete|#]
>>>>>
>>>>>[#|2006-10-03T15:22:15.750+0200|INFO|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE5052:
>>>>>Application shutdown complete.|#]
>>>>>
>>>>>[#|2006-10-03T15:22:15.765+0200|WARNING|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=8c3ca2d0-0a94-4641-958d-f1371e8677f7;|CORE5061:
>>>>>Exception :
>>>>>com.sun.appserv.server.ServerLifecycleException
>>>>> at
>>>>>com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onShutdown(JmxConnectorLifecycle.java:145)
>>>>> at
>>>>>com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:440)
>>>>> at
>>>>>com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown(OnDemandServer.java:123)
>>>>> at com.sun.enterprise.server.PEMain.run(PEMain.java:343)
>>>>> at com.sun.enterprise.server.PEMain.main(PEMain.java:260)
>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> at
>>>>>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>> at
>>>>>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>> at java.lang.reflect.Method.invoke(Method.java:585)
>>>>> at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
>>>>>|#]
>>>>>
>>>>>[#|2006-10-03T15:22:16.140+0200|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=8c3ca2d0-0a94-4641-958d-f1371e8677f7;|Server
>>>>>stopped due to Server startup failure.|#]
>>>>>
>>>>>[#|2006-10-03T15:22:16.171+0200|INFO|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=11;_ThreadName=Thread-1;|sending
>>>>>notification to server...server|#]
>>>>>
>>>>>[#|2006-10-03T15:22:16.171+0200|INFO|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=11;_ThreadName=Thread-1;|Server
>>>>>shutdown complete.|#]
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>---------------------------------------------------------------------
>>>>To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>>>For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>>
>>
>>
>>
>
>
>