I can't get Jboss to restart
jaytaylor Nov 10, 2005 4:56 PMI just started at a company (first job out of school) and the guy that was administering Jboss left the week before I started. No one else wanted the job of maintaining it, so it fell to me. I've never used Jboss before, but I've been doing pretty well so far. Until today that is...
I tried to restart Jboss using a script the guy before me had written. It basically just called the shutdown.sh and then run.sh from jboss/bin. This wasn't the first time I had used this script, and in the past it worked fine. This time however, it gave me this error during the shutdown part:
Exception in thread "main" javax.naming.NameNotFoundException: jmx not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:491)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:499)
at org.jnp.server.NamingServer.getObject(NamingServer.java:505)
at org.jnp.server.NamingServer.lookup(NamingServer.java:249)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:595)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:544)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:520)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at org.jboss.Shutdown.main(Shutdown.java:182)
After reading all over the net, I haven't been able to find anything that explains why this happens. Not only that, but then when it tried to start it gave a million error messages. The one message that really stuck out was that the port 4444 was in use and there was a conflict. Does this mean that there is still a JBoss instance running? If there is, how could I end it? And if i end it, will it fix the problem? I've got JBoss running on Sun 5.8.
Any help would be unbelievably great. Thanks.