view tomcat/setenv.sh @ 7:72f33ca6aa5b

add admin password and custom CATALINA_OPS
author smith@nwoca.org
date Mon, 14 Sep 2015 13:06:10 +0100
parents 79c21c74fe03
children 42ab2045d76c
line wrap: on
line source
#! /bin/sh
#
. "$CATALINA_HOME/bin/createTomcatAdmin.sh"
#
echo "__________________________________________"

export CATALINA_OPTS="$CATALINA_OPTS -XX:+UseCompressedOops"

export CATALINA_OPTS="$CATALINA_OPTS -Djava.security.egd=file:/dev/./urandom"

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