> From: /U [mailto:uma...@comcast.net] > Subject: Shutdown command does not terminate tomcat process > > But I find that the process is till running: > > # jps -l > 24819 org.apache.catalina.startup.Bootstrap > 25103 sun.tools.jps.Jps > # > > why does this happen? Does not shutdown command to shutdown port > kill tomcat?
You most likely have a webapp that has started a thread on its own, and has failed to clean up properly when the webapp is stopped. If you take a thread dump, you should be able to see the rogue thread. Normally, one uses a ServletContextListener to stop your asynchronous threads during webapp or container termination. Note that there's a FAQ entry for this situation: http://wiki.apache.org/tomcat/FAQ/Miscellaneous#Q25 - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org