title: Shutdown JBoss 7 AS along with host-controller
body: <p>I use JBoss 7.1.1-FINAL AS. Its configured to startup in domain mode with default settings. I use the domain.sh file to start up the server which starts 4 java processes:</p>
  
  <ol>
  <li>Host-controller</li>
  <li>Process-controller</li>
  <li>server-one</li>
  <li>server-two</li>
  </ol>
  
  <p>In order to shutdown the server, i invoke the following command:</p>
  
  <pre><code>./jboss-cli.sh --connect controller=host:9999 /host=master:shutdown
  </code></pre>
  
  <p>This brings down the 2 servers, server-one and server-two.</p>
  
  <p>I would like to know how to stop host-controller and process-controller.</p>
  
  <p>Thanks for the help.</p>