0 Replies Latest reply on Jun 1, 2007 10:32 AM by simboss

    EJB3 Timer problem

    simboss

      Hi list,
      I am having some strange issue using ejb timers in my stateless session bean in jboss 4.0.5.

      I use the timer to check/remove some objects from a db on time basis. Everything works fine as far as I don't stop the serve before the timer goes off. If I shut down the server and i restart it, the timers still go off as I would expect but if I try to cancel them I get this message:

      16:11:22,953 ERROR [TimerImpl] Cannot register txtimer with Tx: [id=4,target=[target=jboss.j2ee:service=EJB3,ear=....



      and the timer is not removed from the TIMERS tabel in defaultDS.


      I am sure it is my fault, any hints or suggestions?

      Thx,
      Simone.