view tomcat/setenv.sh @ 47:a0283d218ff5

handle training instances with prefix in directory name. use docker-compose.yml as template instead of linking. set application property to reduce memory requirements
author smith@nwoca.org
date Thu, 04 Feb 2016 22:39:09 +0000
parents 6a4ba408b8c4
children 53671513b240
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 -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 ""