Timerservice.getTimers() does not return persisted timers
---------------------------------------------------------
Key: JBAS-5166
URL:
http://jira.jboss.com/jira/browse/JBAS-5166
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: EJB3
Affects Versions: JBossAS-4.2.2.GA
Environment: JBossAS-4.2.2.GA
Reporter: degerhar
Assigned To: Carlo de Wolf
I'm injecting the TimerService with an @Resource annotation inside a JMX bean:
@Resource
private TimerService timerService;
When I call timerservice.getTimers().size() in the start() method of the JMX, it always
return 0.
If I schedule a new timer inside the JMX, then timerService.getTimers().size() return 1.
I saw a similar bug previously (JBAS-1394) that was supposedly fixed in JBossAS-4.0.4RC1
I'm not sure if anything changed in this regard, but I would think it should be
possible to retrieve persisted timers in order to cancel them if necessary
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira