Is there any procedure for generating a memory dump for Tomcat running as a Windows service when the service dies and hangs? We had a production instance stop responding last night and then it refused to stop when the operator tried to shut it down using the services control panel. We had to use task manager to kill it. It started up just fine.
The log showed stopping messages for 2 out of the 3 servelts, so I'm guessing the problem is with the unresponsive servlet, but a memory dump would be helpful in determining cause. Some good links to some helpful information is all I'm really looking for. Also, can anyone shed some light on what the following INFO message means from the catalina log: Jan 14, 2010 4:58:35 PM org.apache.catalina.core.StandardWrapper unload INFO: Waiting for 13 instance(s) to be deallocated Is that just the number of sessions active? Or something else I should look into? Here is the full catalina log from the shutdown. It looks normal to me except for the INFO statements, and the fact that the service never actually stopped. Jan 14, 2010 4:58:34 PM org.apache.coyote.http11.Http11AprProtocol pause INFO: Pausing Coyote HTTP/1.1 on http-172.16.5.1-80 Jan 14, 2010 4:58:34 PM org.apache.coyote.http11.Http11AprProtocol pause INFO: Pausing Coyote HTTP/1.1 on http-172.16.5.1-443 Jan 14, 2010 4:58:35 PM org.apache.catalina.core.StandardService stop INFO: Stopping service GE Jan 14, 2010 4:58:35 PM org.apache.catalina.core.StandardWrapper unload INFO: Waiting for 13 instance(s) to be deallocated Jan 14, 2010 4:58:36 PM org.apache.catalina.core.StandardWrapper unload INFO: Waiting for 13 instance(s) to be deallocated Jan 14, 2010 4:58:37 PM org.apache.catalina.core.StandardWrapper unload INFO: Waiting for 13 instance(s) to be deallocated Jan 14, 2010 4:58:38 PM org.apache.coyote.http11.Http11AprProtocol destroy INFO: Stopping Coyote HTTP/1.1 on http-172.16.5.1-80 Jan 14, 2010 4:58:38 PM org.apache.coyote.http11.Http11AprProtocol destroy INFO: Stopping Coyote HTTP/1.1 on http-172.16.5.1-443 Specs: Windows 2008 Server SP2 x64 Tomcat 5.5.27 W/native libs Sun Java jdk1.6.0_13\jre\bin\server\jvm.dll Memory settings at the time: min: 3000, max: 6000, inuse: about 3300 (per TM) ================================================================= Jeffrey W. Janner e-mail: jeffrey.jan...@polydyne.com <mailto:jeffrey.jan...@polydyne.com> PolyDyne Software Inc. web: http://www.polydyne.com/ <http://www.polydyne.com/> 9390 Research Blvd. phone: (512) 343-9100 x8930 Building 1, Suite 400 fax: (512) 343-9297 Austin, TX 78759 ================================================================= ******************************* NOTICE ********************************* This message is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (call us collect at 512-343-9100) and immediately delete this message and all its attachments.