comparison 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
comparison
equal deleted inserted replaced
6:79c21c74fe03 7:72f33ca6aa5b
1 #! /bin/sh 1 #! /bin/sh
2 echo "_______________________________________________" 2 #
3 3 . "$CATALINA_HOME/bin/createTomcatAdmin.sh"
4 export CATALINA_OPTS="$CATALINA_OPTS -Xss256k" 4 #
5 echo "__________________________________________"
5 6
6 export CATALINA_OPTS="$CATALINA_OPTS -XX:+UseCompressedOops" 7 export CATALINA_OPTS="$CATALINA_OPTS -XX:+UseCompressedOops"
7 8
8 export CATALINA_OPTS="$CATALINA_OPTS -Djava.security.egd=file:/dev/./urandom" 9 export CATALINA_OPTS="$CATALINA_OPTS -Djava.security.egd=file:/dev/./urandom"
9 10
10 echo "Using CATALINA_OPTS:" 11 echo "Using CATALINA_OPTS $CATALINA_OPTS"
11 for arg in $CATALINA_OPTS 12 echo "Using JAVA_OPTS $JAVA_OPTS"
12 do 13 echo "_________________________________________"
13 echo ">> " $arg
14 done
15 echo "" 14 echo ""
16
17 echo "Using JAVA_OPTS:"
18 for arg in $JAVA_OPTS
19 do
20 echo ">> " $arg
21 done
22 echo "_______________________________________________"
23 echo ""