Chapter 4. Launching the JBoss Enterprise Application Platform Server
JBoss Enterprise Application Platform includes a startup script for both Linux/Unix platforms & Microsoft Windows as well a configuration file,
run.conf
, which determines the startup environment of the server. For Linux and Unix installations the startup script is run.sh
and on Microsoft Windows installations it is run.bat
. Regardless of platform the script is located in JBOSS_HOME/bin
.
JBoss Enterprise Application Platform has been certified with the use of the Java Security Manager. You must use the policy settings as defined in the JBoss CC Security Policy file, which is located in
JBOSS_HOME/bin/security_cc.policy
.
Follow the guidance in Section 4.2, “Enabling the Java Security Manager” and Section 2.5.5, “Java Security Manager Policy File ”.
Important
Operating JBoss Enterprise Application Platform using the Java Security Manager and different policy settings is not considered to be a certified configuration.
4.1. Starting the JBoss Enterprise Application Platform Server
To start the JBoss Enterprise Application Platform server, use the start up script that is appropriate for your platform. You must use the
-c
command parameter to specify the production
server configuration.
Example 4.1. Starting the server on Unix or Linux
[home]$ cd JBOSS_HOME/bin [bin]$ ./run.sh -c production
Example 4.2. Starting the server on Windows
cd JBOSS_HOME/bin $ run.bat -c production