Chapter 6. Testing Installation

6.1. Starting Server

Note

If you installed Red Hat JBoss BPM Suite using the generic deployable version on Red Hat Java Web Server, Section 3.3, “Generic Deployable Bundle Installation” contains the instructions for starting the server. You can ignore the following discussion.

Once the Red Hat JBoss BPM Suite server is installed on Red Hat JBoss EAP 6, you can run it either in the standalone or the domain mode.

6.1.1. Standalone Mode

If you used the JAR installer for JBoss EAP 6, referenced in Section 3.1, “Red Hat JBoss BPM Suite Installer Installation”, you can run the server in one of the standalone modes: standalone or standalone-secure.

Note

If you chose the Deployable ZIP for JBoss EAP, the configuration steps are described in Section 3.2, “Installing Red Hat JBoss BPM Suite on Red Hat JBoss Enterprise Application Platform”.

The default startup script, standalone.sh that Red Hat JBoss BPM Suite ships with, is optimized for performance. To run your server in the performance mode, do the following:

  1. On the command line, move into the $EAP_HOME/bin/ directory.
  2. In a Unix environment, run:

    ./standalone.sh

    In a Windows environment, run:

    ./standalone.bat

Red Hat JBoss BPM Suite also ships with a separate script, standalone-secure.sh, that is optimized for security. This script applies a security policy by default that protects against a known security vulnerability.

Note

It is recommended that production environments use standalone-secure.sh script.

Warning

The use of a security manager imposes a significant performance penalty that you should be aware of. The tradeoff between security and performance must be made by taking into consideration individual circumstances. See Section 6.2, “Java Security Manager and Performance Management”.

To run your server in the secure mode with this script, do the following:

  1. On the command line, move into the $EAP_HOME/bin/ directory.
  2. In a Unix environment, run:

    ./standalone-secure.sh

    In a Windows environment, run:

    ./standalone-secure.bat
Note

If you installed Red Hat JBoss BPM Suite using the installer, an option to apply the security policy is given to you at the time of install. The installer does not provide a separate standalone-secure.sh script.

6.1.2. Domain Mode

If you used the JAR installer, referenced in Section 3.1, “Red Hat JBoss BPM Suite Installer Installation”, Red Hat JBoss BPM Suite is already configured for running in the domain mode.

Note

If you chose the Deployable ZIP for Red Hat JBoss EAP, the configuration steps for domain mode are described in Section 3.2, “Installing Red Hat JBoss BPM Suite on Red Hat JBoss Enterprise Application Platform”.

To start Red Hat JBoss BPM Suite in the domain mode, perform the following steps:

  1. On the command line, move into the $EAP_HOME/bin/ directory.
  2. In a Unix environment, run:

    ./domain.sh

    In a Windows environment, run:

    ./domain.bat