view tomcat-17/setenv17.sh @ 567:09607475c22d

try java_opts again
author belknapSSDT <zach.belknap@mcoecn.org>
date Fri, 24 May 2024 15:14:30 -0400
parents b9c98eb22273
children d1050dda4be2
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 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"
echo "_________________________________________"
echo ""