b6a0d1
# System-wide configuration file for tomcat services
b6a0d1
# This will be loaded by systemd as an environment file,
b6a0d1
# so please keep the syntax. For shell expansion support
b6a0d1
# place your custom files as /etc/tomcat/conf.d/*.conf
b6a0d1
#
b6a0d1
# There are 2 "classes" of startup behavior in this package.
b6a0d1
# The old one, the default service named tomcat.service.
b6a0d1
# The new named instances are called tomcat@instance.service.
b6a0d1
#
b6a0d1
# Use this file to change default values for all services.
b6a0d1
# Change the service specific ones to affect only one service.
b6a0d1
# For tomcat.service it's /etc/sysconfig/tomcat, for
b6a0d1
# tomcat@instance it's /etc/sysconfig/tomcat@instance.
b6a0d1
b6a0d1
# This variable is used to figure out if config is loaded or not.
b6a0d1
TOMCAT_CFG_LOADED="1"
b6a0d1
b6a0d1
# In new-style instances, if CATALINA_BASE isn't specified, it will
b6a0d1
# be constructed by joining TOMCATS_BASE and NAME.
b6a0d1
TOMCATS_BASE="/var/lib/tomcats/"
b6a0d1
b6a0d1
# Where your java installation lives
b6a0d1
JAVA_HOME="/usr/lib/jvm/jre"
b6a0d1
b6a0d1
# Where your tomcat installation lives
b6a0d1
CATALINA_HOME="@@@TCHOME@@@"
b6a0d1
b6a0d1
# System-wide tmp
b6a0d1
CATALINA_TMPDIR="/var/cache/tomcat/temp"
b6a0d1
b6a0d1
# You can pass some parameters to java here if you wish to
b6a0d1
#JAVA_OPTS="-Xminf0.1 -Xmaxf0.3"
b6a0d1
b6a0d1
# Use JAVA_OPTS to set java.library.path for libtcnative.so
b6a0d1
#JAVA_OPTS="-Djava.library.path=/usr/lib"
b6a0d1
b6a0d1
# Set default javax.sql.DataSource factory to apache commons one. See rhbz#1214381
b6a0d1
JAVA_OPTS="-Djavax.sql.DataSource.Factory=org.apache.commons.dbcp.BasicDataSourceFactory"
b6a0d1
b6a0d1
# You can change your tomcat locale here
b6a0d1
#LANG="en_US"
b6a0d1
b6a0d1
# Run tomcat under the Java Security Manager
b6a0d1
SECURITY_MANAGER="false"
b6a0d1
b6a0d1
# SHUTDOWN_WAIT has been deprecated. To change the shutdown wait time, set
b6a0d1
# TimeoutStopSec in tomcat.service.
b6a0d1
b6a0d1
# If you wish to further customize your tomcat environment,
b6a0d1
# put your own definitions here
b6a0d1
# (i.e. LD_LIBRARY_PATH for some jdbc drivers)