#!/usr/bin/env bash # System-wide configuration file for tomcat6 services # This will be sourced by tomcat6 and any secondary service # Values will be overridden by service-specific configuration # files in /etc/sysconfig # # Use this one to change default values for all services # Change the service specific ones to affect only one service # (see, for instance, /etc/sysconfig/tomcat6) # # Where your java installation lives #JAVA_HOME="/usr/lib/jvm/java" # Where your tomcat installation lives CATALINA_BASE="@MSENVIRON@" CATALINA_HOME="@MSENVIRON@" JASPER_HOME="@MSENVIRON@" CATALINA_TMPDIR="@MSENVIRON@/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/lib64" JAVA_OPTS="-Djava.awt.headless=true -Xmx128M -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=@MSLOGDIR@" # What user should run tomcat TOMCAT_USER="@MSUSER@" # Do not remove the following line TOMCAT6_USER="$TOMCAT_USER" TOMCAT_LOG="@MSLOGDIR@/catalina.out" # 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 SHUTDOWN_WAIT="30" # Whether to annoy the user with "attempting to shut down" messages or not SHUTDOWN_VERBOSE="false" # Set the TOMCAT_PID location CATALINA_PID="@PIDDIR@/@PACKAGE@-management.pid" # Connector port is 8080 for this tomcat6 instance #CONNECTOR_PORT="8080" # We pick up the classpath in the next line dummy=1 ; . @MSCONF@/classpath.conf