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