10 Replies Latest reply on Aug 24, 2012 9:11 AM by Joseph Fouts

    How do you view Timers in the EJB3 timer service

    Joseph Fouts Novice

      I want to run a job to show all of the persistent EJB3 Times that are currently scheduled

      for my jboss as-7 application server.


      After creating a couple of persistent Timers in the future I tried running the follownig code

      from another session bean.



         TimerService timerService;


         public void dumpTimers()


            Collection<Timer> timers = timerService.getTimers();


            for(Timer timer : timers)







      The above code produces NO info on my scheduled Timers.



      Does anyone know how I might do this?



      Any help is greatly appreciated.