dev@glassfish.java.net

[V3] Web container not destroyed during domain shutdown

From: Jan Luehe <Jan.Luehe_at_Sun.COM>
Date: Mon, 11 Aug 2008 20:08:41 -0700

Right now, the web container is not stopped (i.e., not called at its
preDestroy() method) when the domain shuts down.

It looks like AppServerStartup.stop() only shuts down those objects
in the habitat that implement Startup (e.g., GrizzlyService) or Init,
neither
of which apply to the web container.

What would be the best way to notify the web container (and I imagine
other containers as well) of a domain shutdown?

Thanks,

Jan