summaryrefslogtreecommitdiff
blob: c46ca201aab481d11d129ba706963b4e5f1dbe86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# $Header: /var/cvsroot/gentoo-x86/www-servers/tomcat/files/5.0.28/tomcat.conf,v 1.3 2005/09/14 19:11:37 humpback Exp $

# JVM Runtime
# Using the default setting, it will determine your JVM from the system-vm
# set using java-config.
# See java-config(1) manual page for assistance in determining this value.
#
# You can override this value with whatever path you wish.  
# Example: JAVA_HOME=/opt/sun-jdk-1.4.2.05

#JAVA_HOME=`java-config -O`

# (Optional) Java runtime options used when the "start", "stop", or "run"
# commands are executed.
# JAVA_OPTS=""

# profile
PROFILE=default

# Where your web applications are located
CATALINA_HOME=/usr/share/tomcat-5
CATALINA_BASE=/var/lib/tomcat-5/${PROFILE}

# Tomcat's User
CATALINA_USER=tomcat

# Location of the Tomcat JARs and classes
CATALINA_LIBDIR=/usr/share/tomcat-5/server/lib

# The CLASSPATH for Tomcat to use, plus any others you need.
#CLASSPATH=${CLASSPATH}:${CATALINA_LIBDIR}

# (Optional) Directory path location of temporary directory the JVM should 
# use (java.io.tmpdir).  Defaults to $CATALINA_BASE/temp.
CATALINA_TMPDIR="/var/tmp/tomcat-5/${PROFILE}"

# TOMCAT STARTUP/SHUTDOWN
# 	debug             Start Catalina in a debugger
# 	debug -security   Debug Catalina with a security manager
# 	embedded          Start Catalina in embedded mode
# 	jpda start        Start Catalina under JPDA debugger
# 	start             Start Catalina in a separate window
# 	start -security   Start in a separate window with security manager
# 	stop              Stop Catalina"
#
# NOTE: -security requires JSSE (see below)
# NOTE: jpda requires JPDA (see below)
TOMCAT_START="start"
TOMCAT_STOP="stop"

# (Optional) Java runtime options used when the "start", "stop", or "run" 
# commands are executed.
CATALINA_OPTS="-Dlog4j.configuration=file:/etc/tomcat-5/log4j.properties"

# Java Platform Debugger Architecture (JPDA)
# http://java.sun.com/products/jpda/
# Included with Java SDK 1.3 and later.  No need to specify location.
#
#   JPDA_TRANSPORT  (Optional) JPDA transport used when the "jpda start"
#                   command is executed. The default is "dt_socket".
#
#   JPDA_ADDRESS    (Optional) Java runtime options used when the "jpda start"
#                   command is executed. The default is 8000.
#
# JPDA_TRANSPORT="dt_socket"
# JPDA_ADDRESS="8000"

# Java Secure Socket Extension (JSSE)
# http://java.sun.com/products/jsse/
# Included with Java SDK 1.4 and later.
#
#   JSSE_HOME       (Optional) May point at your Java Secure Sockets Extension
#                   (JSSE) installation, whose JAR files will be added to the
#                   system class path used to start Tomcat.
#
# JSSE_HOME="/opt/sun-jdk-1.4.1.02/jre/lib/"