Start and stop commands

This section describes how to start and stop the JBoss application server.

JBoss on Windows

Starting JBoss on Windows

ConSol CM without CMRF

Run the following command to start the JBoss server for a setup with ConSol CM without CMRF. Alternatively you can configure JBoss to run as a service. Please see the ConSol CM Setup Manual for details.

<JBOSS_HOME>\bin\standalone.bat -P <JBOSS_HOME>\bin\cm6-config.properties -c cm6-<DB>.xml

Replace cm6-<DB>.xml with the configuration file for your database:

ConSol CM with CMRF in standalone mode

Use the following command to start the JBoss which executes ConSol CM.

<JBOSS_HOME>\bin\standalone.bat -P <JBOSS_HOME>\bin\cm6-config.properties -c cm6-dwh-<DB>.xml

Replace cm6-dwh-<DB>.xml with the ConSol CM configuration file for your database:

Use the following command to start the JBoss which executes the CMRF:

<JBOSS_CMRF_HOME>\bin\standalone.bat -P <JBOSS_CMRF_HOME>\bin\cmrf-config.properties -c cmrf-<DB>.xml

Replace cmrf-<DB>.xml with the CMRF configuration file for your database:

ConSol CM with CMRF in overlay mode

Use the following command to start the JBoss which executes ConSol CM and the CMRF.

<JBOSS_HOME>\bin\standalone.sh -P <JBOSS_HOME>\bin\cm6-cmrf-config.properties -c cm6-cmrf-<DB>.xml

Replace cm6-cmrf-<DB>.xml with the ConSol CM configuration file for your database:

Shutting down JBoss on Windows

Run the following command to stop the JBoss server. Alternatively you can put it into the configuration of the Windows service.

<JBOSS_HOME>\bin\jboss-cli.bat --controller=localhost:9999 --connect --command=:shutdown

JBoss on Linux

Starting JBoss on Linux

ConSol CM without CMRF

Run the following command to start the JBoss server for a setup with ConSol CM without CMRF. Alternatively you can put it into a start script (usually init.d or systemd). Please see the ConSol CM Setup Manual for details.

<JBOSS_HOME>/bin/standalone.sh -P <JBOSS_HOME>/bin/cm6-config.properties -c cm6-<DB>.xml

Replace cm6-<DB>.xml with the configuration file for your database:

ConSol CM with CMRF in standalone mode

Use the following command to start the JBoss which executes ConSol CM.

<JBOSS_HOME>/bin/standalone.sh -P <JBOSS_HOME>/bin/cm6-config.properties -c cm6-dwh-<DB>.xml

Replace cm6-dwh-<DB>.xml with the ConSol CM configuration file for your database:

Use the following command to start the JBoss which executes the CMRF:

<JBOSS_CMRF_HOME>/bin/standalone.sh -P <JBOSS_CMRF_HOME>/bin/cmrf-config.properties -c cmrf-<DB>.xml

Replace cmrf-<DB>.xml with the CMRF configuration file for your database:

ConSol CM with CMRF in overlay mode

Use the following command to start the JBoss which executes ConSol CM and the CMRF.

<JBOSS_HOME>/bin/standalone.sh -P <JBOSS_HOME>/bin/cm6-cmrf-config.properties -c cm6-cmrf-<DB>.xml

Replace cm6-cmrf-<DB>.xml with the ConSol CM configuration file for your database:

Shutting down JBoss on Linux

ConSol CM without CMRF

Run the following command to stop the JBoss server. Alternatively you can put it into a stop script (usually init.d or systemd). Please see the ConSol CM Setup Manual for details.

<JBOSS_HOME>/bin/jboss-cli.sh --controller=localhost:9999 --connect --command=:shutdown

General settings