users@glassfish.java.net

Re: EJB Timer help

From: <glassfish_at_javadesktop.org>
Date: Mon, 21 Sep 2009 11:17:28 PDT

Correct... I 've found out that when you call something like TimerBean.Cancel() And re call it/ re - enable it. The time just adds on.

Use Case:
1. When I click disable in the admin console.
2. System call timerBean.cancel method -> kills timer
3. re-enable the bean using the same time
4. System enables bean but not the exact time isn't calculated -> works first time around.
[Message sent by forum member 'tannic2k7' (daniel.crain_at_us.army.mil)]

http://forums.java.net/jive/thread.jspa?messageID=364966