you mean like

java.lang.System.exit(1);


Filip


Maxim Veksler wrote:
Hello,

I would like to forcefully cause my application server to fail once I
discover a situation I can't recover from. We have HA that should handle the
situation from there.

The best way I can see this happening is by issuing a shutdown instruction
to the container, but I can't find how to do this "peacefully". I tried the
System.exit(1) trick but this keeps running threads active because they do
not get the shutdown notification.

How should I properly call server shutdown from my webapp ?


Thank you,
Maxim.



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to