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

Carlo de Wolf (JIRA) jira-events at lists.jboss.org
Tue Mar 17 03:38:24 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBAS-5166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carlo de Wolf resolved JBAS-5166.
---------------------------------

    Fix Version/s: JBossAS-5.0.1.GA
       Resolution: Out of Date


The behaviour has changed with the implementation of EJBTHREE-655.

> Timerservice.getTimers() does not return persisted timers
> ---------------------------------------------------------
>
>                 Key: JBAS-5166
>                 URL: https://jira.jboss.org/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
>            Assignee: Carlo de Wolf
>             Fix For: JBossAS-5.0.1.GA
>
>
> 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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list