[jboss-user] [Installation, Configuration & DEPLOYMENT] - Problem when restarting: javax.naming.NameNotFoundException:

oawofolu do-not-reply at jboss.com
Thu Mar 26 18:02:24 EDT 2009


Hi all,

I'm a newbie to JBoss and I hope this is an easy question. Basically I'm having trouble with shutting down the server (JBoss 5.0, CentOS 5):

[root at XXXDD standard-report]# $JBOSS_HOME/bin/shutdown.sh -S
Exception in thread "main" javax.naming.NameNotFoundException: jmx not bound
        at org.jnp.server.NamingServer.getBinding(NamingServer.java:564)
        at org.jnp.server.NamingServer.getBinding(NamingServer.java:572)
        at org.jnp.server.NamingServer.getObject(NamingServer.java:578)
        at org.jnp.server.NamingServer.lookup(NamingServer.java:288)
        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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
        at sun.rmi.transport.Transport$1.run(Transport.java:159)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
        at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
        at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
        at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:178)
        at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:132)
        at $Proxy0.lookup(Unknown Source)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:669)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629)
        at javax.naming.InitialContext.lookup(InitialContext.java:392)
        at org.jboss.Shutdown.main(Shutdown.java:218)

Now the problem is that the application I deployed has nothing to do with JMX (it's a JRuby application...)

Also, the shutdown was working before, it only broke when I attempted to start the server using:

$JBOSS_HOME/bin/run.sh -b 0.0.0.0 >& /dev/null &

PLEASE HELP!!! (Need a fix urgently as I'm supposed to have been done with tthe deployment by now...)

Thanks in advance

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4221424#4221424

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4221424



More information about the jboss-user mailing list