> What are you using on the command line to start Tomcat? In particular, what
> is the value of the following system properties?
>
> java.util.logging.manager
> java.util.logging.config.file
>
> The default values are org.apache.juli.ClassLoaderLogManager and
> ${catalina.base}/conf/logging.properties, respectively.
>
> - Chuck
I'm using the catalina.sh script that comes with tomcat, with the
following modifications.
I set JRE_HOME to the path of the JRE that I want tomcat to use.
I set JAVA_OPTS with a bunch of memory / garbage collector options.
Both of these variables are hard coded into the top of the catalina.sh
script. The rest is untouched from stock.
I added an echo to the catalina.sh script to print the JAVA_OPTS that
is actually using:
-server -Xss250k -Xms1200m -Xmx1200m -XX:MaxPermSize=128m
-XX:+UseConcMarkSweepGC -XX:+UseParNewGC
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/opt/foo/tomcat/bin/../../nn/log
-Djava.net.preferIPv4Stack=true
-Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false
-Djava.awt.headless=true
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=/opt/foo/tomcat/conf/logging.properties
The logging properties appear to match what you expect.
Dan
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]