tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Armbrust <daniel.armbrust.l...@gmail.com>
Subject Re: How to debug Error: listenerStart?
Date Thu, 02 Apr 2009 15:28:06 GMT
> 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message