diff 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
line wrap: on
line diff
--- a/tomcat-17/setenv17.sh	Fri May 24 10:37:11 2024 -0400
+++ b/tomcat-17/setenv17.sh	Fri May 24 15:10:26 2024 -0400
@@ -7,7 +7,7 @@
 export CATALINA_OPTS="$CATALINA_OPTS -Djava.security.egd=file:/dev/./urandom"
 export CATALINA_OPTS="$CATALINA_OPTS -Duser.language=en"
 export CATALINA_OPTS="$CATALINA_OPTS -Duser.region=US"
-export CATALINA_OPTS="$CATALINA_OPTS --add-exports=java.xml/com.sun.org.apache.xml.internal.serialize=ALL-UNNAMED"
+export JAVA_OPTS="$JAVA_OPTS --add-exports=java.xml/com.sun.org.apache.xml.internal.serialize=ALL-UNNAMED"
 
 echo "Using CATALINA_OPTS $CATALINA_OPTS"
 echo "Using     JAVA_OPTS $JAVA_OPTS"