File jboss6.sysconfig of Package jboss6
### General configuration for the init.d scripts,
## Path: Productivity/JAS/JBoss6
## ServiceRestart: jboss6
## Description: Location of JDK
## Type: string
## Default: "/usr/lib/jvm/java"
JAVA_HOME="/usr/%{_lib}/jvm/java"
## Description: Location of Java
## Type: string
## Default: "/usr/java/jdk1.6.0/bin"
JAVAPTH="/usr/java/jdk1.6.0/bin"
## Description: Location of JBoss6
## Type: string
## Default: "/var/lib/%{version}"
JBOSS_HOME="/srv/jboss/6.1.0"
## Description: The user under which jboss will run, or use RUNASIS to run as the current user
## Type: string
## Default: jboss6
JBOSSUS="jboss"
## Description: The classpath for the shutdown class
## Type: string
## Default: $JBOSS_HOME/bin/shutdown.jar:$JBOSS_HOME/client/jnet.jar
JBOSSCP="$JBOSS_HOME/bin/shutdown.jar:$JBOSS_HOME/client/jnet.jar"
## Description: The script to use to start jboss,
## Type: string
## Sample: second portrange: $JBOSS_HOME/bin/run.sh -c default -Djboss.service.binding.set=ports-01 -b 192.168.1.1 -Djava.library.path=/foo/foobar.lib
## Default: $JBOSS_HOME/bin/run.sh -c default -Djboss.service.binding.set=ports-00 -b 192.168.1.1
JBOSSSH="$JBOSS_HOME/bin/run.sh -c default"
## Description: what will be done with the console log
## Type: string
## Sample: /dev/null
## Default: /opt/jboss/log/jboss.log
JBOSS_CONSOLE="$JBOSS_HOME/log/jboss.log"
## Description: JBoss Start
## Type: string
## Default: cd $JBOSS_HOME/bin; $JBOSSSH
#CMD_START="cd $JBOSS_HOME/bin; $JBOSSSH"
CMD_START="$JBOSSSH"
## Description: JBoss Stop
## Type: string
## Sample: second portrange: $JAVAPTH/java -classpath $JBOSSCP org.jboss.Shutdown --shutdown --host 192.168.1.1 --port 1190 --user foo --password foo -S
## Default: $JAVAPTH/java -classpath $JBOSSCP org.jboss.Shutdown --shutdown --host foobar --port 1090 --user foo --password --foo -S
CMD_STOP="$JAVAPTH/java -classpath $JBOSSCP org.jboss.Shutdown --shutdown"