0 Replies Latest reply on Oct 16, 2012 7:20 AM by mack663

    Jboss 6.1.0 shutdown error ?

    mack663 Newbie

      Hello ,

       

      >nohup /data/test/jboss-6.1.0.Final/bin/run.sh -c notification -b 0.0.0.0 &   assigned to run with the start command.

       

      Below is the shutdown command

       

      > /data/test/jboss-6.1.0.Final/bin/shutdown.sh --server=service:jmx:rmi:///jndi/rmi://0.0.0.0:1299/jmxrmi -S

       

      I receive the following error.

       

      Exception in thread "main" java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: non-JRMP server at remote endpoint]

              at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:338)

              at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)

              at org.jboss.Shutdown.main(Shutdown.java:235)

      Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: non-JRMP server at remote endpoint]

              at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101)

              at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:185)

              at javax.naming.InitialContext.lookup(InitialContext.java:392)

              at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1886)

              at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1856)

              at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:257)

              ... 2 more

      Caused by: java.rmi.ConnectIOException: non-JRMP server at remote endpoint

              at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:230)

              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.lookup(Unknown Source)

              at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97)

              ... 7 more