changeset 565:b9c98eb22273

try java_opts
author belknapSSDT <zach.belknap@mcoecn.org>
date Fri, 24 May 2024 15:10:26 -0400
parents 429ab7060baf
children 19e78679e017
files tomcat-17/setenv17.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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"