1 Reply Latest reply on Nov 21, 2009 10:00 AM by Celinio Fernandes

    [JBoss 5.1 GA & EJB 3.0] Stopping an EJB Timer service

    Celinio Fernandes Novice

      Hi,
      I created an EJB Timer service inside a stateless session bean.

      It works well. I created a client class that calls a method that creates the timer and a method that is called when the timer times out.

      However it does not stop when i call the cancel() method of the javax.ejb.Timer interface.

      If i stop the application server and I restart it, the timer is still working. It is a nice feature but I would like to stop it anyways.

      So my question is :
      how do you stop a Timer with JBoss ?
      Are there some configuration files to modify ?

      Thanks for helping.