[jboss-jira] [JBoss JIRA] Created: (JBAS-5166) Timerservice.getTimers() does not return persisted timers

degerhar (JIRA) jira-events at lists.jboss.org
Tue Jan 22 16:32:21 EST 2008


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

        



More information about the jboss-jira mailing list