Chapter 5. Stopping JBoss EAP

The following procedure uses the Management command line interface (CLI) to stop JBoss EAP.

Prerequisites

  • JBoss EAP 7.4 is running.

Procedure

  1. Launch the Management CLI by running:

    $ EAP_HOME/bin/jboss-cli.sh
  2. Connect to the server by running the connect command:

    [disconnected /] connect
  3. Stop the server by running the shutdown command:

    [standalone@localhost:9999 /] shutdown
  4. Close the Management CLI by running the quit command:

    [standalone@localhost:9999 /] quit

Alternative

Here is another way to stop JBoss EAP:

  1. Navigate to the terminal where JBoss EAP is running.
  2. Press Ctrl+C to stop JBoss Enterprise Application Platform.