122197843b
- package was partly merged with the scripts used in the Fedora distribution - support running multiple tomcat instances on the same server (fate#317783) - add catalina-jmx-remote.jar (fate#318403) - remove sysvinit support: systemd is required OBS-URL: https://build.opensuse.org/request/show/385746 OBS-URL: https://build.opensuse.org/package/show/Java:packages/tomcat?expand=0&rev=83
53 lines
1.8 KiB
Plaintext
53 lines
1.8 KiB
Plaintext
# System-wide configuration file for tomcat services
|
|
# This will be loaded by systemd as an environment file,
|
|
# so please keep the syntax. For shell expansion support
|
|
# place your custom files as /etc/tomcat/conf.d/*.conf
|
|
#
|
|
# There are 2 "classes" of startup behavior in this package.
|
|
# The old one, the default service named tomcat.service.
|
|
# The new named instances are called tomcat@instance.service.
|
|
#
|
|
# Use this file to change default values for all services.
|
|
# Change the service specific ones to affect only one service.
|
|
# For tomcat.service it's /etc/sysconfig/tomcat, for
|
|
# tomcat@instance it's /etc/sysconfig/tomcat@instance.
|
|
|
|
# This variable is used to figure out if config is loaded or not.
|
|
TOMCAT_CFG_LOADED="1"
|
|
|
|
# In new-style instances, if CATALINA_BASE isn't specified, it will
|
|
# be constructed by joining TOMCATS_BASE and NAME.
|
|
TOMCATS_BASE="/var/lib/tomcats/"
|
|
|
|
# Where your java installation lives
|
|
JAVA_HOME="/usr/lib/jvm/jre"
|
|
|
|
# Where your tomcat installation lives
|
|
CATALINA_HOME="@@@TCHOME@@@"
|
|
|
|
# System-wide tmp
|
|
CATALINA_TMPDIR="/var/cache/tomcat/temp"
|
|
|
|
# You can pass some parameters to java here if you wish to
|
|
#JAVA_OPTS="-Xminf0.1 -Xmaxf0.3"
|
|
|
|
# Use JAVA_OPTS to set java.library.path for libtcnative.so
|
|
#JAVA_OPTS="-Djava.library.path=/usr/lib"
|
|
|
|
# Set default javax.sql.DataSource factory to apache commons one. See rhbz#1214381
|
|
JAVA_OPTS="-Djavax.sql.DataSource.Factory=org.apache.commons.dbcp.BasicDataSourceFactory"
|
|
|
|
# You can change your tomcat locale here
|
|
#LANG="en_US"
|
|
|
|
# Run tomcat under the Java Security Manager
|
|
SECURITY_MANAGER="false"
|
|
|
|
# Time to wait in seconds, before killing process
|
|
# TODO(stingray): does nothing, fix.
|
|
# SHUTDOWN_WAIT="30"
|
|
|
|
# If you wish to further customize your tomcat environment,
|
|
# put your own definitions here
|
|
# (i.e. LD_LIBRARY_PATH for some jdbc drivers)
|