| 1 |
# Service-specific configuration file for tomcat5 services |
| 2 |
# This will be sourced by the SysV service script after the global |
| 3 |
# configuration file /etc/tomcat5/tomcat5.conf, thus allowing values |
| 4 |
# to be overridden on a per-service way |
| 5 |
# |
| 6 |
# NEVER change the init script itself: |
| 7 |
# To change values for all services make your changes in |
| 8 |
# /etc/tomcat5/tomcat5.conf |
| 9 |
# To change values for a specific service, change it here |
| 10 |
# To create a new service, create a link from /etc/init.d/<you new service> to |
| 11 |
# /etc/init.d/tomcat5 (do not copy the init script) and make a copy of the |
| 12 |
# /etc/sysconfig/tomcat5 file to /etc/sysconfig/<you new service> and change |
| 13 |
# the property values so the two services won't conflict |
| 14 |
# Register the new service in the system as usual (see chkconfig and similars) |
| 15 |
# |
| 16 |
# tomcat5 service configuration file |
| 17 |
|
| 18 |
# you could also override JAVA_HOME here |
| 19 |
# Where your java installation lives |
| 20 |
JAVA_HOME="/usr/lib/jvm/java" |
| 21 |
|
| 22 |
# Where your tomcat installation lives |
| 23 |
# That change from previous RPM where TOMCAT_HOME |
| 24 |
# used to be /var/tomcat. |
| 25 |
# Now /var/tomcat will be the base for webapps only |
| 26 |
CATALINA_HOME="/usr/share/tomcat5" |
| 27 |
JASPER_HOME="/usr/share/tomcat5" |
| 28 |
CATALINA_TMPDIR="/usr/share/tomcat5/temp" |
| 29 |
JAVA_ENDORSED_DIRS="/usr/share/tomcat5/common/endorsed" |
| 30 |
|
| 31 |
# You can pass some parameters to java |
| 32 |
# here if you wish to |
| 33 |
#JAVA_OPTS="-Xminf0.1 -Xmaxf0.3" |
| 34 |
|
| 35 |
# Use JAVA_OPTS to set java.library.path for libtcnative.so |
| 36 |
#JAVA_OPTS="-Djava.library.path=/usr/lib64 |
| 37 |
|
| 38 |
# Bug 190: |
| 39 |
# https://www.jpackage.org/bugzilla/show_bug.cgi?id=190 |
| 40 |
# System property catalina.ext.dirs should be set to its default value |
| 41 |
# for ExtensionValidator to be functional. |
| 42 |
JAVA_OPTS="$JAVA_OPTS -Dcatalina.ext.dirs=$CATALINA_HOME/shared/lib:$CATALINA_HOME/common/lib" |
| 43 |
|
| 44 |
# What user should run tomcat |
| 45 |
TOMCAT_USER="tomcat" |
| 46 |
|
| 47 |
# You can change your tomcat locale here |
| 48 |
#LANG=en_US |
| 49 |
|
| 50 |
# Time to wait in seconds, before killing process |
| 51 |
SHUTDOWN_WAIT=30 |
| 52 |
|
| 53 |
# Set the TOMCAT_PID location |
| 54 |
CATALINA_PID=/var/run/tomcat5.pid |
| 55 |
|
| 56 |
# Connector port is 8080 for this tomcat5 instance |
| 57 |
#CONNECTOR_PORT=8080 |
| 58 |
|
| 59 |
# If you wish to further customize your tomcat environment, |
| 60 |
# put your own definitions here |
| 61 |
# (i.e. LD_LIBRARY_PATH for some jdbc drivers) |
| 62 |
# Just do not forget to export them :) |
| 63 |
|