4.5. RPM Installation Configuration Files
The RPM installation of JBoss Enterprise Application Platform 6 includes three additional configuration files that are used by the service init script to specify the application server's launch environment. One of these files applies to all JBoss Enterprise Application Platform 6 instances, the other two provide overrides for standalone and domain mode servers.
Table 4.1. RPM Installation Configuration Files
File | Description |
---|---|
/etc/jbossas/jbossas.conf | This file is read first and applies to all JBoss Enterprise Application Platform 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 wille overrides those in jbossas.conf when running as a domain-mode server. |
Table 4.2. RPM Installation Configuration Properties
Property | Description |
---|---|
JBOSS_USER |
The system user account that the JBoss Enterprise Application Platform 6 runs as. This user also has ownership of the files.
Default value:
jboss .
|
JBOSS_GROUP |
The system user group that the JBoss Enterprise Application Platform 6 files belong to.
Default value:
jboss
|
JBOSS_START_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.
Default value:
standalone.xml or domain.xml or standalone or domain servers respectively.
|