1 Reply Latest reply on Feb 3, 2004 8:06 AM by ajud

    New shutdown options with jboss 3.2

    ajud

      I am using several instances of jboss 3.2.3 on a linux box. I need a way to shutdown each instance individually from shell scripts.

      I noticed there are new options available. One no longer uses domain and port.

      -s, --server= Specify the JNDI URL of the remote server
      -n, --serverName= Specify the JMX name of the ServerImpl
      -a, --adapter= Specify JNDI name of the RMI adapter to use

      Is there someone who can provide me examples on how to use it. I feel completely lost when I have to find the correct parameter names. Even by browsing the jmx-console.

      Many thanks in advance.

        • 1. Re: New shutdown options with jboss 3.2
          ajud

          This is what I have been looking for:

          shutdown.sh --server=jnp://localhost:1099
          -- serverName=jboss.system:type=Server

          Message:
          Shutdown message has been posted to the server.
          Server shutdown may take a while - check logfiles for completion

          The parameter "adapter" is not required at all.