Dan,

Does Tomcat do an orderly shutdown?

Normally, when Tomcat shuts down, it shows the process in catalina.out. When this issue happens, there are no entries in catalina.out (or any other log that I could locate.) On the other hand, it seems to clean up the ports because I can just start Tomcat (with startup.sh). So, I am not certain whether or not it is an 'orderly' shutdown.

Does Tomcat appear to freeze (stop answering new requests)

Using ps aux | grep Tomcat shows no process. Also, I can just restart Tomcat with startup.sh which implies the ports are cleared which seems to mean it is not 'frozen'.

Does the JVM hosting Tomcat crash?

I do not think so because that should produce an entry in a file or a file that shows the cause (somewhat) at the time the JVM crashed. I have not been able to find any such entry or file.

You can use these options on your JVM in your tomcat start sequence to
control where the JVM crash log will be written (And to force one for an out of memory error)

I have added these switches to the startup (catalina.sh.)

Thanks for the suggestions.

Carl


----- Original Message ----- From: "Dan Armbrust" <daniel.armbrust.l...@gmail.com>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Tuesday, February 02, 2010 1:36 PM
Subject: Re: Tomcat dies suddenly


Carl,

Maybe I missed it, but you still haven't clarified what you mean by
tomcat stops.

Does Tomcat do an orderly shutdown?
Does Tomcat appear to freeze (stop answering new requests)
Does the JVM hosting Tomcat crash?

Assuming you have a JVM crash issue here... you should try other JVMs
(32 bit, and/or other versions).
You should try different JVM switches.
And you should find the JVM crash log file - you should have one somewhere.

You can use these options on your JVM in your tomcat start sequence to
control where the JVM crash log will be written (And to force one for
an out of memory error)

-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/logFolder

Dan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to