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
|
1 #! /bin/sh
|
|
2 #
|
|
3 . "$CATALINA_HOME/bin/createTomcatAdmin.sh"
|
|
4 #
|
|
5 echo "__________________________________________"
|
|
6
|
|
7 export CATALINA_OPTS="$CATALINA_OPTS -XX:+UseCompressedOops"
|
|
8
|
|
9 export CATALINA_OPTS="$CATALINA_OPTS -Djava.security.egd=file:/dev/./urandom"
|
|
10
|
|
11 echo "Using CATALINA_OPTS $CATALINA_OPTS"
|
|
12 echo "Using JAVA_OPTS $JAVA_OPTS"
|
|
13 echo "_________________________________________"
|
|
14 echo ""
|