Chapter 6. Testing Installation

6.1. Starting Server

Note

If you installed Red Hat JBoss BRMS using the generic deployable version on Red Hat Java Web Server, Section 2.6, “Installing Red Hat JBoss BRMS on Red Hat JBoss Enterprise Application Platform” contains the instructions for starting the server. You can ignore the following discussion.

Once the Red Hat JBoss BRMS 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, 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 2.2, “Downloading Red Hat JBoss BRMS for Red Hat JBoss EAP”.

The default startup script, standalone.sh that Red Hat JBoss BRMS 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 BRMS 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 BRMS 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, Red Hat JBoss BRMS 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 2.2, “Downloading Red Hat JBoss BRMS for Red Hat JBoss EAP”.

To start Red Hat JBoss BRMS 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