[jboss-jira] [JBoss JIRA] Commented: (JBAS-8221) Expired interval timers re-expire on restart

shanthosh yogamurugan (JIRA) jira-events at lists.jboss.org
Sat Jul 17 19:49:53 EDT 2010


    [ https://jira.jboss.org/browse/JBAS-8221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12539768#action_12539768 ] 

shanthosh yogamurugan commented on JBAS-8221:
---------------------------------------------

I have added some tracking functionality to the EJBTimerServiceImpl code , It creates the timer with the timer schedule , The rebuilt timer service goes good . Problems like Negative time out , out of sync are also solved . The timer did not expire on server restart unless  there is a scheduled timeout .

I have attached some log files 

> Expired interval timers re-expire on restart
> --------------------------------------------
>
>                 Key: JBAS-8221
>                 URL: https://jira.jboss.org/browse/JBAS-8221
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: EJB3
>    Affects Versions: JBossAS-5.1.0.GA, 6.0.0.M1, 6.0.0.M2, 6.0.0.M3
>            Reporter: Shaun Appleton
>            Assignee: jaikiran pai
>         Attachments: ExampleTimerBean.java
>
>
> If you restart JBoss after an interval timer has expired it re-expires. This means the timer is, in effect, called every timer the server is restarted.
> The spec [section 18.4.2] states what should happen between a server crash and a restart - "Any interval timers that have expired during the intervening time must cause the timeout callback method to be invoked at least once upon restart."

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list