2 Replies Latest reply on Oct 28, 2011 11:17 AM by rnair

    Shutting down AS7 in domain mode

    rnair

      Hi,

       

      I just recently installed AS 7 (ver 7.02) and was scanning the directories. I had an issue with shutting down AS7 in domain mode. I started AS7 in the background (/opt/jboss/bin/domain.sh &). When I attempted to shut down the server (/opt/jboss/bin/jboss-admin.sh --connect command=:shutdown), I get the following error message:

       

      Connected to domain controller at localhost:9999

      {

          "outcome" => "failed",

          "failure-description" => "No handler for shutdown at address []",

          "rolled-back" => true

      }

       

      Please advise. I did not have any issue while shutting down AS7 in standalone mode.

        • 1. Re: Shutting down AS7 in domain mode
          jsremba

          Running in domain mode, you need to also include your domain name (host) that you would like to shutdown. Seeing that you are connected to localhost on the default 9999 port, I'm assuming you are also using the default domain name of master (found in host.xml).

          So, your shutdown command would look like:

           

          /opt/jboss/bin/jboss-admin.sh --connect command=/host=master:shutdown

          • 2. Re: Shutting down AS7 in domain mode
            rnair

            Joe,

             

            Thank you for your help. It shuts down correctly.