cloudstack/client/tomcatconf/tomcat6-ssl.conf.in
frank 3b8851ad68 Bug 9479 - provide option for built in https
use our certificate as java trust store
2011-09-02 11:00:04 -07:00

57 lines
1.8 KiB
Bash

#!/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 -Djavax.net.ssl.trustStore=/etc/cloud/management/cloudmanagementserver.keystore -Djavax.net.ssl.trustStorePassword=vmops.com -Dcom.sun.management.jmxremote.port=45219 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=@MSLOGDIR@ -XX:PermSize=128M"
# 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