annotate tomcat/setenv.sh @ 6:79c21c74fe03

add hash bang
author smith@nwoca.org
date Sun, 13 Sep 2015 18:26:30 -0400
parents 9b74645ce4a4
children 72f33ca6aa5b
rev   line source
6
79c21c74fe03 add hash bang
smith@nwoca.org
parents: 5
diff changeset
1 #! /bin/sh
5
9b74645ce4a4 add setenv file
smith@nwoca.org
parents:
diff changeset
2 echo "_______________________________________________"
9b74645ce4a4 add setenv file
smith@nwoca.org
parents:
diff changeset
3
9b74645ce4a4 add setenv file
smith@nwoca.org
parents:
diff changeset
4 export CATALINA_OPTS="$CATALINA_OPTS -Xss256k"
9b74645ce4a4 add setenv file
smith@nwoca.org
parents:
diff changeset
5
9b74645ce4a4 add setenv file
smith@nwoca.org
parents:
diff changeset
6 export CATALINA_OPTS="$CATALINA_OPTS -XX:+UseCompressedOops"
9b74645ce4a4 add setenv file
smith@nwoca.org
parents:
diff changeset
7
9b74645ce4a4 add setenv file
smith@nwoca.org
parents:
diff changeset
8 export CATALINA_OPTS="$CATALINA_OPTS -Djava.security.egd=file:/dev/./urandom"
9b74645ce4a4 add setenv file
smith@nwoca.org
parents:
diff changeset
9
9b74645ce4a4 add setenv file
smith@nwoca.org
parents:
diff changeset
10 echo "Using CATALINA_OPTS:"
9b74645ce4a4 add setenv file
smith@nwoca.org
parents:
diff changeset
11 for arg in $CATALINA_OPTS
9b74645ce4a4 add setenv file
smith@nwoca.org
parents:
diff changeset
12 do
9b74645ce4a4 add setenv file
smith@nwoca.org
parents:
diff changeset
13 echo ">> " $arg
9b74645ce4a4 add setenv file
smith@nwoca.org
parents:
diff changeset
14 done
9b74645ce4a4 add setenv file
smith@nwoca.org
parents:
diff changeset
15 echo ""
9b74645ce4a4 add setenv file
smith@nwoca.org
parents:
diff changeset
16
9b74645ce4a4 add setenv file
smith@nwoca.org
parents:
diff changeset
17 echo "Using JAVA_OPTS:"
9b74645ce4a4 add setenv file
smith@nwoca.org
parents:
diff changeset
18 for arg in $JAVA_OPTS
9b74645ce4a4 add setenv file
smith@nwoca.org
parents:
diff changeset
19 do
9b74645ce4a4 add setenv file
smith@nwoca.org
parents:
diff changeset
20 echo ">> " $arg
9b74645ce4a4 add setenv file
smith@nwoca.org
parents:
diff changeset
21 done
9b74645ce4a4 add setenv file
smith@nwoca.org
parents:
diff changeset
22 echo "_______________________________________________"
9b74645ce4a4 add setenv file
smith@nwoca.org
parents:
diff changeset
23 echo ""