view 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
line wrap: on
line source
#! /bin/sh
#
echo "__________________________________________"

export CATALINA_OPTS="$CATALINA_OPTS -XX:+UseG1GC"
export CATALINA_OPTS="$CATALINA_OPTS -XX:+UseStringDeduplication "
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"

echo "Using CATALINA_OPTS $CATALINA_OPTS"
echo "Using     JAVA_OPTS $JAVA_OPTS"
echo "_________________________________________"
echo ""