Red Hat Training

A Red Hat training course is available for Red Hat Fuse

Chapter 5. Starting and Stopping the Application Server

You need to start the JBoss Enterprise Application Platform instance for JBoss Fuse Service Works to run. This is because the JBoss Fuse Service Works components run on the JBoss Enterprise Application Platform container.

Note

For more information about starting and stopping JBoss Enterprise Application Platform using alternative and more advanced methods, see the Red Hat JBoss Enterprise Application Platform Administration and Configuration Guide.

5.1. Start JBoss EAP 6 as a Standalone Server

Summary

This topic covers the steps to start JBoss EAP 6 as a Standalone Server.

Procedure 5.1. Start the Platform Service as a Standalone Server

  1. For Red Hat Enterprise Linux.

    Run the command: EAP_HOME/bin/standalone.sh
  2. For Microsoft Windows Server.

    Run the command: EAP_HOME\bin\standalone.bat
  3. Optional: Specify additional parameters.

    To print a list of additional parameters to pass to the start-up scripts, use the -h parameter.
Result

The JBoss EAP 6 Standalone Server instance starts.

5.2. Stop JBoss EAP 6 as a Standalone Server

You can stop JBoss Enterprise Application Platform using the Management CLI or by pressing CTRL+C in the terminal.
  1. Stopping JBoss Enterprise Application Platform using the Management CLI.

    • Run the EAP_HOME/bin/jboss-cli.sh command to launch the Management CLI.
      $ EAP_HOME/bin/jboss-cli.sh
    • Run the connect command to connect to the server.
      [disconnected /] connect
    • Run the shutdown command to stop the server.
      [standalone@localhost:9999 /] shutdown
    • Run the quit command to close the Management CLI.
      [standalone@localhost:9999 /] quit
  2. Stopping JBoss Enterprise Application Platform by pressing CTRL+C.

    Press Ctrl+C in the server window (the terminal window where JBoss Enterprise Application Platform was started).
    Result

    Each of these alternatives stops JBoss Enterprise Application Platform.