0 Replies Latest reply on Feb 16, 2005 8:54 PM by Sundaram Ramasamy

    jboss-4.0.0 shutdown problem

    Sundaram Ramasamy Newbie

      Hi,

      I am using redhat_init.sh sctip to stop jboss process, Its giving following error message.

       /etc/init.d/jboss stop
      
      su -jboss -c '/usr/java/j2sdk1.4.2/bin/java -classpath /home/jboss-4.0.0/bin/shutdown.jar:/home/jboss-4.0.0/client/jnet.jar org.jboss.Shutdown --shutdown'
      
      
      
      Shutting down jboss: Exception in thread "main" javax.naming.NameNotFoundException: RMIAdaptor not bound
       at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
       at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
       at org.jnp.server.NamingServer.getObject(NamingServer.java:509)
       at org.jnp.server.NamingServer.lookup(NamingServer.java:282)
       at org.jnp.server.NamingServer.lookup(NamingServer.java:256)
       at org.jnp.server.NamingServer.lookup(NamingServer.java:256)
       at sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
       at sun.rmi.transport.Transport$1.run(Transport.java:148)
       at java.security.AccessController.doPrivileged(Native Method)
       at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
       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:534)
       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:133)
       at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:529)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:508)
       at javax.naming.InitialContext.lookup(InitialContext.java:347)
       at org.jboss.Shutdown.main(Shutdown.java:182)
      


      How will I fix this problem?