users@glassfish.java.net

Re: Persistent timers problem

From: Marina Vatkina <marina.vatkina_at_oracle.com>
Date: Wed, 28 Sep 2011 11:44:03 -0700

Sahoo wrote:
> Marina,
>
> As per the life cycle defined in OSGi Web Application Spec, WABs are
> automatically undeployed when the corresponding OSGi bundle is stopped
> which happens when server is stopped. They again get deployed when
> server is started. Does this undeployment at server shutdown explain
> the observed behavior?

Yes. Of course. This is per EJB spec - the timers are removed if an
application is undeployed.

Best,
-marina
>
> Thanks,
> Sahoo
> On Wednesday 28 September 2011 01:29 PM, forums_at_java.net wrote:
>> Hi Marina, I forgot to mention that I am working with OSGI war (wab). I
>> will try to create a test that reproduces my problem.
>> thanks.
>>
>>
>> --
>>
>> [Message sent by forum member 'okna2000']
>>
>> View Post: http://forums.java.net/node/847384
>>
>>
>