jboss-eap.conf
1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# General configuration for the init.d scripts,
# not necessarily for JBoss EAP itself.
# default location: /etc/default/jboss-eap
## Location of JDK
# JAVA_HOME="/usr/lib/jvm/default-java"
## Location of JBoss EAP
# JBOSS_HOME="/opt/jboss-eap"
JBOSS_HOME={{ jboss_home | default('/opt/jboss-eap') }}
## The username who should own the process.
# JBOSS_USER=jboss-eap
JBOSS_USER={{ system_user | default('jboss-eap') }}
## The mode JBoss EAP should start, standalone or domain
# JBOSS_MODE=standalone
JBOSS_MODE={{ jboss_mode | default('standalone') }}
## Configuration for standalone mode
# JBOSS_CONFIG=standalone.xml
JBOSS_CONFIG={{ jboss_host_config | default('standalone.xml') }}
## Configuration for domain mode
# JBOSS_DOMAIN_CONFIG=domain.xml
# JBOSS_HOST_CONFIG=host-master.xml
## The amount of time to wait for startup
# STARTUP_WAIT=60
## The amount of time to wait for shutdown
# SHUTDOWN_WAIT=60
## Location to keep the console log
# JBOSS_CONSOLE_LOG="/var/log/jboss-eap/console.log"
JBOSS_CONSOLE_LOG="/var/log/jboss-eap/console.log"
## Additionals args to include in startup
# JBOSS_OPTS="--admin-only -b 127.0.0.1"
# original
#{% if inventory_hostname.startswith('p') %}
# JBOSS_OPTS="-Djboss.default.multicast.address=230.0.0.10 -Djboss.modcluster.multicast.address=224.0.1.106 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true"
#{% endif %}
#{% if inventory_hostname.startswith('t') %}
# JBOSS_OPTS="-Djboss.default.multicast.address=230.0.0.20 -Djboss.modcluster.multicast.address=224.0.1.107 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true"
#{% endif %}