Summary: | Tomcat 5.5 init script 'stop()' not working: confused about --stop --exec | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mark H. Wood <mwood> |
Component: | Current packages | Assignee: | William L. Thomson Jr. (RETIRED) <wltjr> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Mark H. Wood
2007-05-16 21:27:55 UTC
Well you are the first to report this, and it's been in use for some time on quite a many systems. How long did you wait after issuing the stop command did you check to see if Tomcat is still running? Shutdown is not instant and at times it takes a while. Why? Well just as you stated, to shut it down a request must be sent. That request has to be processed, servlet's destroy functions called and allowed time to clean up and do their thing. Much less for Tomcat itself to do the same with it's webapps, and etc. FYI, catalina.sh is WAY worse at doing shutdowns. But don't take my word there, take the authors of Tomcat the Definitive Guide's word. They have their own init script I have considered porting to Gentoo. As mentioned on the Tomcat Guide, but here is link for reference. http://www.webdroid.org:8080/repo/viewcvs.cgi/tomcat-package/trunk/bin/ So not going to close right way, but likely will as invalid. Unless it's something I can reproduce, and all other Tomcat users. Which 5.5.x has been stable for quite some time. So should have had many reports about this some time ago when it was in ~arch, much less during stabilization, or afterward. Going to close this bug as I can't reproduce. As part of bug 162379, I along with others tested stopping. Seeing as how there are no other reports, this might be a local issue. If you are deploying your own apps, possibly a problem with them, or their destroy functions or something along those lines. If you can provide a way for me and others to reproduce we can re-open bug and explore it further. Closing for now as invalid. |