On 15/11/2010 09:37, Patrick Sauts wrote:
> So, how to shut down properly the current application from a 'listener' 
> leaving the other webapps deployed into Tomcat to continue their business?

It depends on what the problem actually is, and when it occurs.

If you do all of your initialisation in a ServletContextListener and
throw an exception on fail, then the context won't start up.

This is not the same as shutting it down after a certain period of time
and after a fault condition occurs.


Where is the code which is going to shut down the application?
Presumably outside of the application itself?


p

Attachment: 0x62590808.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to