wood burning stoves 2.0*
The moose likes Other Java Products and Servers and the fly likes Sun AppServer won't start - getting desperate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Sun AppServer won Watch "Sun AppServer won New topic
Author

Sun AppServer won't start - getting desperate

Baba Bizlowsky
Ranch Hand

Joined: Dec 15, 2003
Posts: 39
Hi everybody.

I am trying to start up Sun AppServer from the latest distribution (Q4) but it fails every time. What's even worse I tried it on another comp and
everything works perfectly. I really can't discern what the problem is
from the log, so I hope someone here can help me out somehow.

I don't want to post the whole log cause it would clutter the post, but the part of the log when everyhing breaks down goes like:


[#|2004-11-24T09:52:59.733+0100|INFO|sun-appserver-pe8.1|javax.enterprise.system.stream.out|_ThreadID=10;|
Doing RMI/TLS Client setup in this VM|#]

[#|2004-11-24T09:53:22.358+0100|SEVERE|sun-appserver-pe8.1|javax.enterprise.system.core|_ThreadID=10;|Service com.sun.enterprise.admin.server.core.JmxConnectorLifecycle@ca8735
cannot be started! : com.sun.appserv.server.ServerLifecycleException:
Cannot bind to URL [rmi://SLUGGY:8686/management/rmi-jmx-connector]: javax.naming.ServiceUnavailableException
[Root exception is java.rmi.ConnectException: Connection refused to host: SLUGGY; nested exception is:
java.net.ConnectException: Connection timed out: connect]|#]

[#|2004-11-24T09:53:22.358+0100|SEVERE|sun-appserver-pe8.1|javax.enterprise.system.core|_ThreadID=10;|CORE5071: An error occured during initialization
com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://SLUGGY:8686/management/rmi-jmx-connector]: javax.naming.ServiceUnavailableException
[Root exception is java.rmi.ConnectException: Connection refused to host: SLUGGY; nested exception is:
java.net.ConnectException: Connection timed out: connect]
at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnectorLifecycle.java:96)
at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
at com.sun.enterprise.server.PEMain.run(PEMain.java:265)
at com.sun.enterprise.server.PEMain.main(PEMain.java:217)
Caused by: java.io.IOException: Cannot bind to URL [rmi://SLUGGY:8686/management/rmi-jmx-connector]: javax.naming.ServiceUnavailableException
[Root exception is java.rmi.ConnectException: Connection refused to host: SLUGGY; nested exception is:
java.net.ConnectException: Connection timed out: connect]
at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:798)
at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:430)
at com.sun.enterprise.admin.jmx.remote.server.JmxConnectorServerDriver.startConnectorServer(JmxConnectorServerDriver.java:173)
at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnectorLifecycle.java:88)
... 3 more
Caused by: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: SLUGGY; nested exception is:
java.net.ConnectException: Connection timed out: connect]
at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:117)
at com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.java:208)
at javax.naming.InitialContext.bind(InitialContext.java:355)
at javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:619)
at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:426)
... 5 more
Caused by: java.rmi.ConnectException: Connection refused to host: SLUGGY; nested exception is:
java.net.ConnectException: Connection timed out: connect
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)
at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:111)
... 9 more
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:452)
at java.net.Socket.connect(Socket.java:402)
at java.net.Socket.<init>(Socket.java:309)
at java.net.Socket.<init>(Socket.java:124)
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:562)
... 14 more
|#]

[#|2004-11-24T09:53:22.358+0100|SEVERE|sun-appserver-pe8.1|javax.enterprise.system.core|_ThreadID=10;|Server Startup failed. Exiting...|#]

[#|2004-11-24T09:53:22.358+0100|INFO|sun-appserver-pe8.1|javax.enterprise.system.core|_ThreadID=10;|Server shutdown in progress...|#]

[#|2004-11-24T09:53:22.358+0100|WARNING|sun-appserver-pe8.1|javax.enterprise.system.core|_ThreadID=10;|CORE5061: Exception :
com.sun.appserv.server.ServerLifecycleException
at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onShutdown(JmxConnectorLifecycle.java:113)
at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:414)
at com.sun.enterprise.server.PEMain.run(PEMain.java:286)
at com.sun.enterprise.server.PEMain.main(PEMain.java:217)
|#]

[#|2004-11-24T09:53:22.358+0100|INFO|sun-appserver-pe8.1|javax.enterprise.system.container.web|_ThreadID=10;|WEB0303: Stopping Sun-Java-System/Application-Server.|#]

[#|2004-11-24T09:53:22.358+0100|INFO|sun-appserver-pe8.1|javax.enterprise.system.container.web|_ThreadID=10;|Stopping Sun-Java-System/Application-Server-PE HTTP/1.1 on 8080|#]

[#|2004-11-24T09:53:22.374+0100|SEVERE|sun-appserver-pe8.1|org.apache.commons.modeler.Registry|_ThreadID=10;|Error unregistering mbean
javax.management.RuntimeOperationsException: Object name cannot be null
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.isRegistered(DefaultMBeanServerInterceptor.java:545)
at com.sun.jmx.mbeanserver.JmxMBeanServer.isRegistered(JmxMBeanServer.java:619)
at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
at $Proxy1.isRegistered(Unknown Source)
at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.isRegistered(SunoneInterceptor.java:360)
at org.apache.commons.modeler.Registry.unregisterComponent(Registry.java:642)
at com.sun.enterprise.web.connector.grizzly.SelectorThread.unregisterComponents(SelectorThread.java:1624)
at com.sun.enterprise.web.connector.grizzly.SelectorThread.stopEndpoint(SelectorThread.java:1218)
at com.sun.enterprise.web.connector.grizzly.GrizzlyHttpProtocol.destroy(GrizzlyHttpProtocol.java:266)
at org.apache.coyote.tomcat5.CoyoteConnector.stop(CoyoteConnector.java:1537)
at org.apache.catalina.startup.Embedded.stop(Embedded.java:891)
at com.sun.enterprise.web.WebContainer.stop(WebContainer.java:738)
at com.sun.enterprise.web.PEWebContainer.stopInstance(PEWebContainer.java:452)
at com.sun.enterprise.web.PEWebContainerLifecycle.onShutdown(PEWebContainerLifecycle.java:65)
at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:414)
at com.sun.enterprise.server.PEMain.run(PEMain.java:286)
at com.sun.enterprise.server.PEMain.main(PEMain.java:217)
Caused by: java.lang.IllegalArgumentException: Object name cannot be null
... 20 more
|#]

[#|2004-11-24T09:53:22.374+0100|SEVERE|sun-appserver-pe8.1|org.apache.commons.modeler.Registry|_ThreadID=10;|Error unregistering mbean
javax.management.RuntimeOperationsException: Object name cannot be null
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.isRegistered(DefaultMBeanServerInterceptor.java:545)
at com.sun.jmx.mbeanserver.JmxMBeanServer.isRegistered(JmxMBeanServer.java:619)
at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
at $Proxy1.isRegistered(Unknown Source)
at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.isRegistered(SunoneInterceptor.java:360)
at org.apache.commons.modeler.Registry.unregisterComponent(Registry.java:642)
at com.sun.enterprise.web.connector.grizzly.SelectorThread.unregisterComponents(SelectorThread.java:1627)
at com.sun.enterprise.web.connector.grizzly.SelectorThread.stopEndpoint(SelectorThread.java:1218)
at com.sun.enterprise.web.connector.grizzly.GrizzlyHttpProtocol.destroy(GrizzlyHttpProtocol.java:266)
at org.apache.coyote.tomcat5.CoyoteConnector.stop(CoyoteConnector.java:1537)
at org.apache.catalina.startup.Embedded.stop(Embedded.java:891)
at com.sun.enterprise.web.WebContainer.stop(WebContainer.java:738)
at com.sun.enterprise.web.PEWebContainer.stopInstance(PEWebContainer.java:452)
at com.sun.enterprise.web.PEWebContainerLifecycle.onShutdown(PEWebContainerLifecycle.java:65)
at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:414)
at com.sun.enterprise.server.PEMain.run(PEMain.java:286)
at com.sun.enterprise.server.PEMain.main(PEMain.java:217)
Caused by: java.lang.IllegalArgumentException: Object name cannot be null
... 20 more
|#]

[#|2004-11-24T09:53:22.374+0100|INFO|sun-appserver-pe8.1|javax.enterprise.system.container.web|_ThreadID=10;|Stopping Sun-Java-System/Application-Server-PE HTTP/1.1 on 8181|#]

[#|2004-11-24T09:53:43.358+0100|SEVERE|sun-appserver-pe8.1|org.apache.commons.modeler.Registry|_ThreadID=10;|Error unregistering mbean
javax.management.RuntimeOperationsException: Object name cannot be null
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.isRegistered(DefaultMBeanServerInterceptor.java:545)
at com.sun.jmx.mbeanserver.JmxMBeanServer.isRegistered(JmxMBeanServer.java:619)
at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
at $Proxy1.isRegistered(Unknown Source)
at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.isRegistered(SunoneInterceptor.java:360)
at org.apache.commons.modeler.Registry.unregisterComponent(Registry.java:642)
at com.sun.enterprise.web.connector.grizzly.SelectorThread.unregisterComponents(SelectorThread.java:1624)
at com.sun.enterprise.web.connector.grizzly.SelectorThread.stopEndpoint(SelectorThread.java:1218)
at com.sun.enterprise.web.connector.grizzly.GrizzlyHttpProtocol.destroy(GrizzlyHttpProtocol.java:266)
at org.apache.coyote.tomcat5.CoyoteConnector.stop(CoyoteConnector.java:1537)
at org.apache.catalina.startup.Embedded.stop(Embedded.java:891)
at com.sun.enterprise.web.WebContainer.stop(WebContainer.java:738)
at com.sun.enterprise.web.PEWebContainer.stopInstance(PEWebContainer.java:452)
at com.sun.enterprise.web.PEWebContainerLifecycle.onShutdown(PEWebContainerLifecycle.java:65)
at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:414)
at com.sun.enterprise.server.PEMain.run(PEMain.java:286)
at com.sun.enterprise.server.PEMain.main(PEMain.java:217)
Caused by: java.lang.IllegalArgumentException: Object name cannot be null
... 20 more
|#]

[#|2004-11-24T09:53:43.358+0100|SEVERE|sun-appserver-pe8.1|org.apache.commons.modeler.Registry|_ThreadID=10;|Error unregistering mbean
javax.management.RuntimeOperationsException: Object name cannot be null
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.isRegistered(DefaultMBeanServerInterceptor.java:545)
at com.sun.jmx.mbeanserver.JmxMBeanServer.isRegistered(JmxMBeanServer.java:619)
at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
at $Proxy1.isRegistered(Unknown Source)
at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.isRegistered(SunoneInterceptor.java:360)
at org.apache.commons.modeler.Registry.unregisterComponent(Registry.java:642)
at com.sun.enterprise.web.connector.grizzly.SelectorThread.unregisterComponents(SelectorThread.java:1627)
at com.sun.enterprise.web.connector.grizzly.SelectorThread.stopEndpoint(SelectorThread.java:1218)
at com.sun.enterprise.web.connector.grizzly.GrizzlyHttpProtocol.destroy(GrizzlyHttpProtocol.java:266)
at org.apache.coyote.tomcat5.CoyoteConnector.stop(CoyoteConnector.java:1537)
at org.apache.catalina.startup.Embedded.stop(Embedded.java:891)
at com.sun.enterprise.web.WebContainer.stop(WebContainer.java:738)
at com.sun.enterprise.web.PEWebContainer.stopInstance(PEWebContainer.java:452)
at com.sun.enterprise.web.PEWebContainerLifecycle.onShutdown(PEWebContainerLifecycle.java:65)
at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:414)
at com.sun.enterprise.server.PEMain.run(PEMain.java:286)
at com.sun.enterprise.server.PEMain.main(PEMain.java:217)
Caused by: java.lang.IllegalArgumentException: Object name cannot be null
... 20 more
|#]



Please help me - at least give me a hint where to start. Cheers!
Chiaw Huat Lee
Greenhorn

Joined: Oct 24, 2004
Posts: 15
I think most likely is because the port that you're using for your Sun AppServer is been used.That is why in your friend computer...it is working fine.
You can check whether the port number that your Sun AppServer is using is been used by other s/w or the system.
Well,this is 1 of the thing that you can try of.
You can use fport to check for you.Just simply type 'fport' in google search.
Hope it help.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Sun AppServer won't start - getting desperate
 
Similar Threads
Server startup issue
Bug in the installation java_ee_sdk-5_05 on Windows Vista
glassfish-v2 server unable to start on win-vista
sun java application server start up failure
Running glass fish gives CLI 156 error