tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <>
Subject Re: Tomcat dying on its own
Date Thu, 09 Dec 2010 10:31:01 GMT
On 08/12/2010 23:23, André Warnier wrote:
> Mark Thomas wrote:
>> Been there, tried that. There is no easy way (I could find) to
>> distinguish between a legitimate and illegitimate shut-down.
> Naive suggestion : how about some global flag which the legitimate
> shutdown paths set (and the others don't know about), and which the
> "hook" in question checks ?

As I said, been there, tried that.

You can log when the shutdown command is used (Tomcat 7 does) but there
is no way to distinguish between a kill -15 and code calling
system.exit() (unless you run with a security manager as already discussed).


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message