You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2008/07/18 09:55:11 UTC
DO NOT REPLY [Bug 45428] New: warn if the tomcat stop doesn't
complete
https://issues.apache.org/bugzilla/show_bug.cgi?id=45428
Summary: warn if the tomcat stop doesn't complete
Product: Tomcat 6
Version: 6.0.16
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P3
Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: hauser@acm.org
my linux distro's "/etc/init.d/tomcat stop" roughly after 30 secs kill the
tomcat process.
This probably relates to some web-app owned threads that wait and thus are no
longer seen been by the manager.
Since this is probably a hint about an application-internal
software-engineering problem.
Therefore, my suggestion:
If after ~ 15 secs (or some heuristic depending on the number of listeners
configured by server.xml) the manager still couldn't really stop, print the
stack-traces of the threads left to catalina.out (~ equivalent of "kill -QUIT")
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 45428] warn if the tomcat stop doesn't complete
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45428
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Component|Catalina |Catalina
Version|6.0.16 |7.0.42
Resolution|--- |FIXED
Product|Tomcat 6 |Tomcat 7
Target Milestone|default |---
--- Comment #1 from Mark Thomas <ma...@apache.org> ---
This has been fixed in trunk and will be included in 8.0.0-RC2 onwards.
This has been back-ported to 7.0.x and will be included in 7.0.43 onwards.
The enhancement only applies to platforms that usr catalina.sh.
A thread dump is triggered if the stop command fails to complete in a timely
manner. Note that detetcing a failure to stop requires that $CATALINA_PID is
set.
This will not be back-ported to 6.0.x.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org