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.

-- 
Cheers,
Maxim Veksler

"Free as in Freedom" - Do u GNU ?

Reply via email to