Apache Tomcat Startscript Optionen

Optimierungen im Startup-Script

 export LANG=de_DE.UTF-8
 export JAVA_HOME=/usr/local/java
 export JAVA_OPTS="-Xmx2715m -Xms45m -Dfile.encoding=UTF-8 -Duser.language=de -XX:MaxPermSize=478m -Djava.awt.headless=true"

JMX aktivieren

 export CATALINA_OPTS="-Dcom.sun.management.jmxremote.port=8090 -Dcom.sun.management.jmxremote.authenticate=true -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.password.file=/srv/tomcat/shared/conf/jmxremote.password -Dcom.sun.management.jmxremote.access.file=/srv/tomcat/shared/conf/jmxremote.access"


Startup Script für shared Umgebungen

z.B. unter /srv/tomcat/shared

export LANG=de_DE.UTF-8
export JAVA_HOME=/usr/local/java
export JAVA_OPTS="-Xmx2715m -Xms45m -Dfile.encoding=UTF-8 -Duser.language=de -XX:MaxPermSize=478m -Djava.awt.headless=true"
export CATALINA_OPTS="-Dcom.sun.management.jmxremote.port=8090 -Dcom.sun.management.jmxremote.authenticate=true -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.password.file=/srv/tomcat/shared/conf/jmxremote.password -Dcom.sun.management.jmxremote.access.file=/srv/tomcat/shared/conf/jmxremote.access"
export CATALINA_BASE=/srv/tomcat/shared
/usr/local/apache-tomcat/bin/catalina.sh $1