view tomcat/setenv.sh @ 81:53671513b240

DEP-10: add timezone and locale settings. add java base image. add native APR for tomcat
author smith@nwoca.org
date Mon, 11 Apr 2016 17:46:42 -0400
parents 6a4ba408b8c4
children
line wrap: on
line source
#! /bin/sh
#
echo "__________________________________________"

export CATALINA_OPTS="$CATALINA_OPTS -XX:+UseG1GC"
export CATALINA_OPTS="$CATALINA_OPTS -XX:+UseStringDeduplication "
export CATALINA_OPTS="$CATALINA_OPTS -Djava.security.egd=file:/dev/./urandom"
export CATALINA_OPTS="$CATALINA_OPTS -Duser.language=en"
export CATALINA_OPTS="$CATALINA_OPTS -Duser.region=US"

echo "Using CATALINA_OPTS $CATALINA_OPTS"
echo "Using     JAVA_OPTS $JAVA_OPTS"
echo "_________________________________________"
echo ""