[jboss-user] [EJB/JBoss] - Ejb Timer problem: Timer wakes up late when set for long int

renjith4 do-not-reply at jboss.com
Wed May 6 05:31:40 EDT 2009


Hi everyone,

We had a problem with the ejb timers waking up late (almost 2 minutes) while being set for long interval (say 1 month) . Has anyone experienced any similar lag . I searched in several forums and couldn't find any body having similar problems.  When the timer is set for few minutes or hour then there is no delay but while setting it for a day causes around 10 sec delay and for longer intervals causes longer delay.


Code setting timer is this

  | final TimerService timer = sessionContext.getTimerService();
  | long delay= 2592 * 1000;
  | timer.createTimer(delay, new Integer(timerId));
  | 


We are using Jboss 4.0.2 [yes we are still in stone age :) ] . Your comments are always welcome

Thanks,
ren

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228894#4228894

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228894



More information about the jboss-user mailing list