Tomcat Settings

Add this to conf/server.xml

unpackWARs="true" autoDeploy="false">

prefix=”localhost_access_log.” suffix=”.txt”
pattern=”%h %l %u %t “%r” %s %b” />

debug=”0″ distributable=”false” saveOnRestart=”false” pathname=”” >

 

processTlds fixes slow startup performance

Also: WEB-INF/classes/logging.properties

org.apache.catalina.core.ContainerBase.Catalina.html">Catalina*.level = SEVERE

org.apache.catalina.core.ContainerBase.Catalina.html">Catalina*.handlers = java.util.logging.ConsoleHandler


Or edit this file:

/opt/entermedia/tomcat/conf/logging.properties

.level = INFO
.level = SEVERE
Setup tomcat/bin/setenv.sh

To increase the JVM maximum heap size, run Java in 64-bit mode:

export JAVA_OPTS="-d64 -Xms256m -Xmx2024m -XX:MaxPermSize=128m"