dev@glassfish.java.net

Re: [V3] Web container not destroyed during domain shutdown

From: Vivek Pandey <Vivek.Pandey_at_Sun.COM>
Date: Tue, 12 Aug 2008 10:54:03 -0700

Byron Nevins wrote:
> I noticed this behavior in embedded -- a clean shutdown of GF is
> impossible, the System.exit() sledgehammer has to be used...
>
Using embedded API I should be able to shutdown v3 form inside my
application and it should not force my application to exit. This is
going to be a problem and basically unacceptable.

-vivek.
>
> Jan Luehe wrote:
>> 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
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>