annotate 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
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 . "$CATALINA_HOME/bin/createTomcatAdmin.sh"
72f33ca6aa5b add admin password and custom CATALINA_OPS
smith@nwoca.org
parents: 6
diff changeset
4 #
72f33ca6aa5b add admin password and custom CATALINA_OPS
smith@nwoca.org
parents: 6
diff changeset
5 echo "__________________________________________"
72f33ca6aa5b add admin password and custom CATALINA_OPS
smith@nwoca.org
parents: 6
diff changeset
6
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
72f33ca6aa5b add admin password and custom CATALINA_OPS
smith@nwoca.org
parents: 6
diff changeset
9 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
10
72f33ca6aa5b add admin password and custom CATALINA_OPS
smith@nwoca.org
parents: 6
diff changeset
11 echo "Using CATALINA_OPTS $CATALINA_OPTS"
72f33ca6aa5b add admin password and custom CATALINA_OPS
smith@nwoca.org
parents: 6
diff changeset
12 echo "Using JAVA_OPTS $JAVA_OPTS"
72f33ca6aa5b add admin password and custom CATALINA_OPS
smith@nwoca.org
parents: 6
diff changeset
13 echo "_________________________________________"
72f33ca6aa5b add admin password and custom CATALINA_OPS
smith@nwoca.org
parents: 6
diff changeset
14 echo ""