Jan.Luehe_at_Sun.COM wrote:
>
> Kedar Mhaswade wrote:
>
>>
>>
>> Byron Nevins wrote:
>>
>>> I noticed this behavior in embedded -- a clean shutdown of GF is
>>> impossible, the System.exit() sledgehammer has to be used...
>>
>>
>> Why? Who does not "normally" respond to the "stop" call?
>
>
> Is there any "stop" event?
>
When asadmin stop-domain is called, here is what happens:
- iterate through inhabitants that satisfy the "Startup" Contract
and call the Inhabitant.release() method on it. An example of
startup service is: "com.sun.enterprise.v3.services.impl.GrizzlyService"
Finally, System.exit is called because the "force" option is true
by default. I am not sure what we can do to address both embedded
and non-embedded case w.r.t. this.