Chapter 4. Testing the installation

4.1. Starting the Server

Note

If you installed JBoss BRMS using the generic deployable version on Red Hat Java Web Server, Section 1.5, “Installing Red Hat JBoss BRMS for Red Hat JBoss Enterprise Application Platform” contains the instructions for starting the server. You can ignore the following discussion.
Once the JBoss BRMS server is installed on JBoss EAP 6, you can run it either in the standalone or the domain mode.

4.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 1.2, “Downloading Red Hat JBoss BRMS for 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 4.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 JBoss BRMS using the installer, an option to apply the security policy is given to you at the time of install. The installer doesn't provide a separate standalone-secure.sh script.

4.1.2. Domain mode

If you used the JAR installer , JBoss BRMS is already configured for running in the domain mode.

Note

If you chose the Deployable ZIP for JBoss EAP, the configuration steps for domain mode are described in Section 1.2, “Downloading Red Hat JBoss BRMS for JBoss EAP.
To start 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