Last active
August 29, 2015 14:17
-
-
Save loinguyenduc101/f10af5640d20323a657f to your computer and use it in GitHub Desktop.
commons options for tomcat. add|edit $TOMCAT_HOME/bin/setenv.sh|bat
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export CATALINA_OPTS="$CATALINA_OPTS -Dfile.encoding=UTF8 -Djava.net.preferIPv4Stack=true -Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false" | |
export CATALINA_PID=$CATALINA_HOME/bin/tomcat.pid | |
export JAVA_OPTS="$JAVA_OPTS -Xms128m -Xmx1024m -XX:PermSize=64m -XX:MaxPermSize=256m" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment