annotate tomcat/setenv.sh @ 75:aa2fd199ba56

improve pid2name script
author smith@nwoca.org
date Wed, 23 Mar 2016 16:39:31 +0100
parents 6a4ba408b8c4
children 53671513b240
rev   line source
7
72f33ca6aa5b add admin password and custom CATALINA_OPS
smith@nwoca.org
parents: 6
diff changeset
1 #! /bin/sh
72f33ca6aa5b add admin password and custom CATALINA_OPS
smith@nwoca.org
parents: 6
diff changeset
2 #
72f33ca6aa5b add admin password and custom CATALINA_OPS
smith@nwoca.org
parents: 6
diff changeset
3 echo "__________________________________________"
72f33ca6aa5b add admin password and custom CATALINA_OPS
smith@nwoca.org
parents: 6
diff changeset
4
23
6a4ba408b8c4 improve tomcat configuration
smith@nwoca.org
parents: 8
diff changeset
5 export CATALINA_OPTS="$CATALINA_OPTS -XX:+UseG1GC"
6a4ba408b8c4 improve tomcat configuration
smith@nwoca.org
parents: 8
diff changeset
6 export CATALINA_OPTS="$CATALINA_OPTS -XX:+UseStringDeduplication "
7
72f33ca6aa5b add admin password and custom CATALINA_OPS
smith@nwoca.org
parents: 6
diff changeset
7 export CATALINA_OPTS="$CATALINA_OPTS -XX:+UseCompressedOops"
72f33ca6aa5b add admin password and custom CATALINA_OPS
smith@nwoca.org
parents: 6
diff changeset
8 export CATALINA_OPTS="$CATALINA_OPTS -Djava.security.egd=file:/dev/./urandom"
72f33ca6aa5b add admin password and custom CATALINA_OPS
smith@nwoca.org
parents: 6
diff changeset
9
72f33ca6aa5b add admin password and custom CATALINA_OPS
smith@nwoca.org
parents: 6
diff changeset
10 echo "Using CATALINA_OPTS $CATALINA_OPTS"
72f33ca6aa5b add admin password and custom CATALINA_OPS
smith@nwoca.org
parents: 6
diff changeset
11 echo "Using JAVA_OPTS $JAVA_OPTS"
72f33ca6aa5b add admin password and custom CATALINA_OPS
smith@nwoca.org
parents: 6
diff changeset
12 echo "_________________________________________"
72f33ca6aa5b add admin password and custom CATALINA_OPS
smith@nwoca.org
parents: 6
diff changeset
13 echo ""