users@glassfish.java.net

Re: Undeploy in GF

From: Shing Wai Chan <shing.wai.chan_at_oracle.com>
Date: Thu, 15 Apr 2010 17:18:21 -0700

The destroy() method should be called.
Is there any exception in server.log?
Shing Wai Chan

On 4/15/10 2:39 PM, glassfish_at_javadesktop.org wrote:
> Hi,
> I am facing the following issue: when I un-deploy the servlet, glassfish states that the servlet was successfully undeployed, but I can still see that it is running (it did not actually kill it). So my question is: Is there some kind of callback that I can subscribe in my app to see if app is being unloaded (and I will gracefully terminate threads and close connections). Alternatively, is there a way to just terminate all threads and close all connections upon unloading (some flag in configuration)?
>
> Thanks
> [Message sent by forum member 'nakoned']
>
> http://forums.java.net/jive/thread.jspa?messageID=397231
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>