The trace below indicates that the call to bind JMX connector server to
RMI registry (that is supposed to be running at 8686) fails.
---
Caused by: java.io.IOException: Cannot bind to URL
[rmi://wsqeb7.east.sun.com:8686/management/rmi-jmx-connector]:
javax.naming.ServiceUnavailableException [Root exception is
java.rmi.ConnectException: Connection refused to host:
wsqeb7.east.sun.com; nested exception is: java.net.ConnectException:
Connection timed out: connect]
---
Something is blocking access to this registry at that port or the
registry failed to start (say because 8686 was already occupied - a log
might exist in your server.log above the one indicated below)
You can check if a standalone registry can be started at that port. Or
it could be that Windows firewall is blocking the access.
-Nandini
tom amiro wrote:
> Hi,
>
> I'm having trouble getting out of the starting gate with the latest
> promoted GF 9.1_01 build.
> On Windows XP with JDK 1.6_02, it gives the following errors
> immediately after
> startup and attempts to browse the splash page
>
>> [#|2007-10-26T14:50:18.875-0400|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|ADM1079:
>> Initialization of AMX MBeans started|#]
>>
>> [#|2007-10-26T14:50:41.937-0400|SEVERE|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;com.sun.enterprise.admin.server.core.JmxConnectorLifecycle_at_a083f2;com.sun.appserv.server.ServerLifecycleException:
>> Cannot bind to URL
>> [rmi://wsqeb7.east.sun.com:8686/management/rmi-jmx-connector]:
>> javax.naming.ServiceUnavailableException [Root exception is
>> java.rmi.ConnectException: Connection refused to host:
>> wsqeb7.east.sun.com; nested exception is:
>> java.net.ConnectException: Connection timed out:
>> connect];_RequestID=e69e6940-0d37-4fad-9849-ae4bbd46c7c6;|Service
>> com.sun.enterprise.admin.server.core.JmxConnectorLifecycle_at_a083f2
>> cannot be started! : com.sun.appserv.server.ServerLifecycleException:
>> Cannot bind to URL
>> [rmi://wsqeb7.east.sun.com:8686/management/rmi-jmx-connector]:
>> javax.naming.ServiceUnavailableException [Root exception is
>> java.rmi.ConnectException: Connection refused to host:
>> wsqeb7.east.sun.com; nested exception is:
>> java.net.ConnectException: Connection timed out: connect]|#]
>>
>> [#|2007-10-26T14:50:41.937-0400|SEVERE|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=e69e6940-0d37-4fad-9849-ae4bbd46c7c6;|CORE5071:
>> An error occured during initialization
>> com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL
>> [rmi://wsqeb7.east.sun.com:8686/management/rmi-jmx-connector]:
>> javax.naming.ServiceUnavailableException [Root exception is
>> java.rmi.ConnectException: Connection refused to host:
>> wsqeb7.east.sun.com; nested exception is:
>> java.net.ConnectException: Connection timed out: connect]
>> at
>> com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnectorLifecycle.java:153)
>>
>> at
>> com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:442)
>>
>> at
>> com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:120)
>>
>> at com.sun.enterprise.server.PEMain.run(PEMain.java:411)
>> at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
>> 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:597)
>> at com.sun.enterprise.server.PELaunch.main(PELaunch.java:412)
>> Caused by: java.io.IOException: Cannot bind to URL
>> [rmi://wsqeb7.east.sun.com:8686/management/rmi-jmx-connector]:
>> javax.naming.ServiceUnavailableException [Root exception is
>> java.rmi.ConnectException: Connection refused to host:
>> wsqeb7.east.sun.com; nested exception is:
>> java.net.ConnectException: Connection timed out: connect]
>> at
>> javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:804)
>>
>> at
>> javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:417)
>>
>> at
>> com.sun.enterprise.admin.jmx.remote.server.rmi.JmxConnectorServerDriver.startConnectorServer(JmxConnectorServerDriver.java:218)
>>
>> at
>> com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnectorLifecycle.java:134)
>>
>> ... 9 more
>> Caused by: javax.naming.ServiceUnavailableException [Root exception
>> is java.rmi.ConnectException: Connection refused to host:
>> wsqeb7.east.sun.com; nested exception is:
>> java.net.ConnectException: Connection timed out: connect]
>> at
>> com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:126)
>> at
>> com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.java:208)
>>
>> at javax.naming.InitialContext.bind(InitialContext.java:400)
>> at
>> javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:625)
>>
>> at
>> javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:412)
>>
>> ... 11 more
>> Caused by: java.rmi.ConnectException: Connection refused to host:
>> wsqeb7.east.sun.com; nested exception is:
>> java.net.ConnectException: Connection timed out: connect
>> at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)
>> at
>> sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
>> at
>> sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
>> at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
>> at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
>> at
>> com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:120)
>> ... 15 more
>> Caused by: java.net.ConnectException: Connection timed out: connect
>> at java.net.PlainSocketImpl.socketConnect(Native Method)
>> at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
>> at
>> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
>> at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
>> at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
>> 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:597)
>> at
>> com.sun.enterprise.server.ss.provider.ASPlainSocketImpl$2.run(ASPlainSocketImpl.java:419)
>>
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> com.sun.enterprise.server.ss.provider.ASPlainSocketImpl._invoke(ASPlainSocketImpl.java:416)
>>
>> at
>> com.sun.enterprise.server.ss.provider.ASPlainSocketImpl.connect(ASPlainSocketImpl.java:288)
>>
>> at
>> com.sun.enterprise.server.ss.provider.ASClientSocketImpl.connect(ASClientSocketImpl.java:267)
>>
>> at java.net.Socket.connect(Socket.java:518)
>> at java.net.Socket.connect(Socket.java:468)
>> at java.net.Socket.<init>(Socket.java:365)
>> at java.net.Socket.<init>(Socket.java:179)
>> at
>> sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
>>
>> at
>> sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
>>
>> at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)
>> ... 20 more
>> |#]
>>
>> [#|2007-10-26T14:50:41.937-0400|SEVERE|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=e69e6940-0d37-4fad-9849-ae4bbd46c7c6;|Server
>> Startup failed. Exiting...|#]
>>
>> [#|2007-10-26T14:50:41.937-0400|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Server
>> shutdown in progress...|#]
>>
>> [#|2007-10-26T14:50:41.937-0400|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;|WEB0303:
>> Stopping Sun-Java-System/Application-Server.|#]
>>
>> [#|2007-10-26T14:50:41.937-0400|WARNING|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=e69e6940-0d37-4fad-9849-ae4bbd46c7c6;|CORE5061:
>> Exception : com.sun.appserv.server.ServerLifecycleException: WEB0106:
>> An error occurred while stopping the web container
>> at
>> com.sun.enterprise.web.PEWebContainer.stopInstance(PEWebContainer.java:822)
>>
>> at
>> com.sun.enterprise.web.PEWebContainerLifecycle.onShutdown(PEWebContainerLifecycle.java:95)
>>
>> at
>> com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:549)
>>
>> at
>> com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown(OnDemandServer.java:131)
>>
>> at com.sun.enterprise.server.PEMain.run(PEMain.java:429)
>> at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
>> 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:597)
>> at com.sun.enterprise.server.PELaunch.main(PELaunch.java:412)
>> Caused by: LifecycleException: WEB0103: This web container has not
>> yet been started
>> at com.sun.enterprise.web.WebContainer.stop(WebContainer.java:913)
>> at
>> com.sun.enterprise.web.PEWebContainer.stopInstance(PEWebContainer.java:814)
>>
>> ... 10 more
>> |#]
>>
>> [#|2007-10-26T14:50:41.937-0400|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE5051:
>> Shutting down all J2EE applications ...|#]
>>
>> [#|2007-10-26T14:50:41.937-0400|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE
>> 5060 : Stopping all J2EE Connector 1.5 Compliant resource adapters
>> ...|#]
>>
>> [#|2007-10-26T14:50:41.953-0400|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE
>> 5061 : Resource adapters Stop() Complete|#]
>>
>> [#|2007-10-26T14:50:41.953-0400|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE5052:
>> Application shutdown complete.|#]
>>
>> [#|2007-10-26T14:50:41.953-0400|WARNING|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=e69e6940-0d37-4fad-9849-ae4bbd46c7c6;|CORE5061:
>> Exception : java.lang.NullPointerException
>> at
>> com.sun.enterprise.util.InvocationManagerImpl.preInvoke(InvocationManagerImpl.java:136)
>>
>> at
>> com.sun.appserv.server.ServerLifecycleModule.preInvoke(ServerLifecycleModule.java:178)
>>
>> at
>> com.sun.appserv.server.ServerLifecycleModule.postEvent(ServerLifecycleModule.java:219)
>>
>> at
>> com.sun.appserv.server.ServerLifecycleModule.onShutdown(ServerLifecycleModule.java:273)
>>
>> at
>> com.sun.appserv.server.LifecycleModuleService.onShutdown(LifecycleModuleService.java:487)
>>
>> at
>> com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:549)
>>
>> at
>> com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown(OnDemandServer.java:131)
>>
>> at com.sun.enterprise.server.PEMain.run(PEMain.java:429)
>> at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
>> 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:597)
>> at com.sun.enterprise.server.PELaunch.main(PELaunch.java:412)
>> |#]
>>
>> [#|2007-10-26T14:50:41.968-0400|WARNING|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=e69e6940-0d37-4fad-9849-ae4bbd46c7c6;|CORE5061:
>> Exception : com.sun.appserv.server.ServerLifecycleException
>> at
>> com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onShutdown(JmxConnectorLifecycle.java:171)
>>
>> at
>> com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:549)
>>
>> at
>> com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown(OnDemandServer.java:131)
>>
>> at com.sun.enterprise.server.PEMain.run(PEMain.java:429)
>> at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
>> 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:597)
>> at com.sun.enterprise.server.PELaunch.main(PELaunch.java:412)
>> |#]
>>
>> [#|2007-10-26T14:50:43.250-0400|WARNING|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=e69e6940-0d37-4fad-9849-ae4bbd46c7c6;|CORE5061:
>> Exception : java.lang.NullPointerException
>> at
>> com.sun.enterprise.util.InvocationManagerImpl.preInvoke(InvocationManagerImpl.java:136)
>>
>> at
>> com.sun.appserv.server.ServerLifecycleModule.preInvoke(ServerLifecycleModule.java:178)
>>
>> at
>> com.sun.appserv.server.ServerLifecycleModule.postEvent(ServerLifecycleModule.java:219)
>>
>> at
>> com.sun.appserv.server.ServerLifecycleModule.onTermination(ServerLifecycleModule.java:277)
>>
>> at
>> com.sun.appserv.server.LifecycleModuleService.onTermination(LifecycleModuleService.java:496)
>>
>> at
>> com.sun.enterprise.server.ApplicationServer.onTermination(ApplicationServer.java:587)
>>
>> at com.sun.enterprise.server.PEMain.run(PEMain.java:434)
>> at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
>> 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:597)
>> at com.sun.enterprise.server.PELaunch.main(PELaunch.java:412)
>> |#]
>>
>> [#|2007-10-26T14:50:43.250-0400|SEVERE|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=e69e6940-0d37-4fad-9849-ae4bbd46c7c6;|Server
>> stopped due to Server startup failure.|#]
>>
>> [#|2007-10-26T14:50:43.265-0400|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=12;_ThreadName=Thread-1;|sendin
>>
> Tom
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>