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