comparison tomcat-17/setenv17.sh @ 565:b9c98eb22273

try java_opts
author belknapSSDT <zach.belknap@mcoecn.org>
date Fri, 24 May 2024 15:10:26 -0400
parents 39114f8cda17
children d1050dda4be2
comparison
equal deleted inserted replaced
564:429ab7060baf 565:b9c98eb22273
5 export CATALINA_OPTS="$CATALINA_OPTS -XX:+UseG1GC" 5 export CATALINA_OPTS="$CATALINA_OPTS -XX:+UseG1GC"
6 export CATALINA_OPTS="$CATALINA_OPTS -XX:+UseStringDeduplication " 6 export CATALINA_OPTS="$CATALINA_OPTS -XX:+UseStringDeduplication "
7 export CATALINA_OPTS="$CATALINA_OPTS -Djava.security.egd=file:/dev/./urandom" 7 export CATALINA_OPTS="$CATALINA_OPTS -Djava.security.egd=file:/dev/./urandom"
8 export CATALINA_OPTS="$CATALINA_OPTS -Duser.language=en" 8 export CATALINA_OPTS="$CATALINA_OPTS -Duser.language=en"
9 export CATALINA_OPTS="$CATALINA_OPTS -Duser.region=US" 9 export CATALINA_OPTS="$CATALINA_OPTS -Duser.region=US"
10 export CATALINA_OPTS="$CATALINA_OPTS --add-exports=java.xml/com.sun.org.apache.xml.internal.serialize=ALL-UNNAMED" 10 export JAVA_OPTS="$JAVA_OPTS --add-exports=java.xml/com.sun.org.apache.xml.internal.serialize=ALL-UNNAMED"
11 11
12 echo "Using CATALINA_OPTS $CATALINA_OPTS" 12 echo "Using CATALINA_OPTS $CATALINA_OPTS"
13 echo "Using JAVA_OPTS $JAVA_OPTS" 13 echo "Using JAVA_OPTS $JAVA_OPTS"
14 echo "_________________________________________" 14 echo "_________________________________________"
15 echo "" 15 echo ""