annotate tomcat-17/setenv.sh @ 540:7d108e6b44f2

add export for module
author belknapSSDT <zach.belknap@mcoecn.org>
date Wed, 22 May 2024 18:59:56 -0400
parents 2201156ad763
children 9b920ae0f065
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 -Djava.security.egd=file:/dev/./urandom"
81
53671513b240 DEP-10: add timezone and locale settings. add java base image. add native APR for tomcat
smith@nwoca.org
parents: 23
diff changeset
8 export CATALINA_OPTS="$CATALINA_OPTS -Duser.language=en"
53671513b240 DEP-10: add timezone and locale settings. add java base image. add native APR for tomcat
smith@nwoca.org
parents: 23
diff changeset
9 export CATALINA_OPTS="$CATALINA_OPTS -Duser.region=US"
540
7d108e6b44f2 add export for module
belknapSSDT <zach.belknap@mcoecn.org>
parents: 427
diff changeset
10 export CATALINA_OPTS="$CATALINA_OPTS --add-exports=java.xml/com.sun.org.apache.xml.internal.serialize=ALL-UNNAMED"
7
72f33ca6aa5b add admin password and custom CATALINA_OPS
smith@nwoca.org
parents: 6
diff changeset
11
72f33ca6aa5b add admin password and custom CATALINA_OPS
smith@nwoca.org
parents: 6
diff changeset
12 echo "Using CATALINA_OPTS $CATALINA_OPTS"
72f33ca6aa5b add admin password and custom CATALINA_OPS
smith@nwoca.org
parents: 6
diff changeset
13 echo "Using JAVA_OPTS $JAVA_OPTS"
72f33ca6aa5b add admin password and custom CATALINA_OPS
smith@nwoca.org
parents: 6
diff changeset
14 echo "_________________________________________"
72f33ca6aa5b add admin password and custom CATALINA_OPS
smith@nwoca.org
parents: 6
diff changeset
15 echo ""