A.4. RPM Installation Configuration Files for JBoss EAP 6
The RPM installation of JBoss EAP 6 includes three additional configuration files to the ZIP installation. These files are used by the service init script to specify the application server's launch environment. One of these files applies to all JBoss EAP 6 instances, while the other two provide overrides for standalone and domain mode servers.
File | Description |
---|---|
/etc/jbossas/jbossas.conf | This file is read first and applies to all JBoss EAP 6 instances. |
/etc/sysconfig/jbossas | Settings specific to standalone servers. Values specified here will override those in jbossas.conf when running as a standalone server. |
/etc/sysconfig/jbossas-domain | Settings specific to domain-mode servers. Values specified here will override those in jbossas.conf when running as a domain-mode server. |
Property | Description |
---|---|
JBOSS_USER |
The system user account that the JBoss EAP 6 runs as. This user also has ownership of the files.
Default value:
jboss
|
JBOSS_GROUP |
The system user group that the JBoss EAP 6 files belong to.
Default value:
jboss
|
JBOSS_STARTUP_WAIT |
The number of seconds that the init script will wait until confirming that the server has launched successfully after receiving a
start or restart command.
Default value:
60
|
JBOSS_SHUTDOWN_WAIT |
The number of seconds that the init script will wait for the server to shutdown before continuing when it receives a
stop or restart command.
Default value:
20
|
JBOSS_CONSOLE_LOG |
The file that the CONSOLE log handler will be redirected to.
Default value:
/var/log/jbossas/$JBOSSCONF/console.log
|
JAVA_HOME |
The directory where your Java Runtime Environment is installed.
Default value:
/usr/lib/jvm/jre
|
JBOSS_HOME |
The directory where the application server files are installed.
Default value:
/usr/share/jbossas
|
JAVAPTH |
The path where the Java executable files are installed.
Default value:
$JAVA_HOME/bin
|
JBOSSCONF |
The server mode to launch this server in,
standalone or domain .
Default value:
standalone or domain depending on server mode.
|
JBOSSSH |
The script which is used to launch to server.
Default value:
$JBOSS_HOME/bin/$JBOSSCONF.sh
|
JBOSS_SERVER_CONFIG |
The server configuration file to use.
There is no default for this property. Either
standalone.xml or domain.xml can be defined at start.
|
JBOSS_HOST_CONFIG | This property allows a user to specify the host configuration (such as host.xml ). It has no value set as the default. |