0 Replies Latest reply on May 24, 2004 10:29 AM by fearghal

    EJB Timer Service problem

    fearghal Newbie

      Hi all,

      hope I can get some suggestions on this..

      Using the latest developer release (4.0.0DR4) I'm still having problems with the EJB timer service.

      I have a stateless session bean that creates a timer:

      TimerService timerService = context.getTimerService();
      Timer timer = timerService.createTimer(START_TIME,

      The ejbTimeout method is called as expected, but if the Jboss server is terminated the timer will never be invoked after a restart of the server.

      From my reading of the J2EE spec I get the impression that the app server should take care of the persistence of the timer and it should survive and continue after a server termination -
      am I missing something ? or is this simply functionality that will be imemented in the future?

      Any suggestions would be appreciated.