|
|
262920 |
# System-wide configuration file for tomcat services
|
|
|
295e28 |
# This will be loaded by systemd as an environment file,
|
|
|
04fb17 |
# so please keep the syntax. For shell expansion support
|
|
|
04fb17 |
# place your custom files as /etc/tomcat/conf.d/*.conf
|
|
|
262920 |
#
|
|
|
295e28 |
# There are 2 "classes" of startup behavior in this package.
|
|
|
295e28 |
# The old one, the default service named tomcat.service.
|
|
|
295e28 |
# The new named instances are called tomcat@instance.service.
|
|
|
262920 |
#
|
|
|
295e28 |
# Use this file to change default values for all services.
|
|
|
295e28 |
# Change the service specific ones to affect only one service.
|
|
|
295e28 |
# For tomcat.service it's /etc/sysconfig/tomcat, for
|
|
|
295e28 |
# tomcat@instance it's /etc/sysconfig/tomcat@instance.
|
|
|
295e28 |
|
|
|
295e28 |
# This variable is used to figure out if config is loaded or not.
|
|
|
295e28 |
TOMCAT_CFG_LOADED="1"
|
|
|
295e28 |
|
|
|
295e28 |
# In new-style instances, if CATALINA_BASE isn't specified, it will
|
|
|
295e28 |
# be constructed by joining TOMCATS_BASE and NAME.
|
|
|
295e28 |
TOMCATS_BASE="/var/lib/tomcats/"
|
|
|
262920 |
|
|
|
262920 |
# Where your java installation lives
|
|
|
262920 |
JAVA_HOME="/usr/lib/jvm/jre"
|
|
|
262920 |
|
|
|
262920 |
# Where your tomcat installation lives
|
|
|
262920 |
CATALINA_HOME="@@@TCHOME@@@"
|
|
|
295e28 |
|
|
|
295e28 |
# System-wide tmp
|
|
|
295e28 |
CATALINA_TMPDIR="/var/cache/tomcat/temp"
|
|
|
262920 |
|
|
|
262920 |
# You can pass some parameters to java here if you wish to
|
|
|
262920 |
#JAVA_OPTS="-Xminf0.1 -Xmaxf0.3"
|
|
|
262920 |
|
|
|
262920 |
# Use JAVA_OPTS to set java.library.path for libtcnative.so
|
|
|
295e28 |
#JAVA_OPTS="-Djava.library.path=/usr/lib"
|
|
|
262920 |
|
|
|
262920 |
# You can change your tomcat locale here
|
|
|
262920 |
#LANG="en_US"
|
|
|
262920 |
|
|
|
262920 |
# Run tomcat under the Java Security Manager
|
|
|
262920 |
SECURITY_MANAGER="false"
|
|
|
262920 |
|
|
|
262920 |
# Time to wait in seconds, before killing process
|
|
|
295e28 |
# TODO(stingray): does nothing, fix.
|
|
|
295e28 |
# SHUTDOWN_WAIT="30"
|
|
|
262920 |
|
|
|
262920 |
# If you wish to further customize your tomcat environment,
|
|
|
262920 |
# put your own definitions here
|
|
|
262920 |
# (i.e. LD_LIBRARY_PATH for some jdbc drivers)
|