2 Replies Latest reply on Jan 27, 2004 3:56 AM by n2

    Can't shutdown 3.2.1 with shutdown.bat

    dbronk

      I have multiple instances running using the service-bindings.xml. I have tried the following to shutdown by name, none have worked.

      shutdown.bat -s localhost -n defaultRD
      shutdown.bat -n defaultRD

      If I run:
      shutdown -s localhost
      It will close the first instance I started, but then none of the above 3 commands will work. The error I get follows:

      C:\jboss\bin>shutdown.bat -n defaultRD
      Exception in thread "main" javax.management.MalformedObjectNameException: missing domain
      at javax.management.ObjectName.init(ObjectName.java:205)
      at javax.management.ObjectName.(ObjectName.java:87)
      at org.jboss.Shutdown.main(Shutdown.java:143)

        • 1. Re: Can't shutdown 3.2.1 with shutdown.bat
          n2

          ich have the same problem:

          two instances of jboss 3.2.3 on one machine (linux) one on port 1099 another on port 1101.

          shutdown.sh -s localhost:1099 is ok
          shutdown.sh -s localhost:1101 does nothing. there is no error-message. the command does not terminate.

          i can stop both with "killall -9 java". if i want to stop just one thats no help.

          • 2. Re: Can't shutdown 3.2.1 with shutdown.bat
            n2

            i found the solution:

            port 1101 was the rmi-port of jboss-service.xml. if i use the jndi-port 1102 it worked fine:

            shutdown.sh -s localhost:1102