On 03/28/2012 07:28 PM, Konstantin Kolinko wrote:
2012/3/29 Farrukh Najmi<farr...@wellfleetsoftware.com>:
Can someone please tell me how I can configure the location for the JVM log
file for Tomcat 7. Thanks for your help.
1. What is "JVM log file"
I want to get a log file with a thread dump in the tomcat jvm. The
reason is that I have a deadlock during startup of my jvm and I want to
understand and resolve it.
This happens when my webapp is deployed in Tomcat 7.0.26 but not when
deployed in Glassfish 3.1.2.
In Glassfish I can specify the following options to indicate where I
want the JVM log file to be created which contains the thread dump on a
SIGINT:
-XX:+LogVMOutput -XX:LogFile=/tmp/jvm.log
2. There is "Logging" chapter in the User's Guide. Did it not help?
That did not seem to help.
--
Regards,
Farrukh Najmi
Web: http://www.wellfleetsoftware.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org