[jboss-jira] [JBoss JIRA] Resolved: (JBAS-8546) Mail MDB stop working due to negative Thread.sleep(timeout) call in NewMsgsWorker#run()

Jesper Pedersen (JIRA) jira-events at lists.jboss.org
Mon Jan 3 09:58:18 EST 2011


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

Jesper Pedersen resolved JBAS-8546.
-----------------------------------

    Fix Version/s: 6.0.1.M1
                       (was: TBD-6.x)
       Resolution: Done


> Mail MDB stop working due to negative Thread.sleep(timeout) call in NewMsgsWorker#run()
> ---------------------------------------------------------------------------------------
>
>                 Key: JBAS-8546
>                 URL: https://issues.jboss.org/browse/JBAS-8546
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: JCA service
>    Affects Versions:  6.0.0.M5
>            Reporter: Takayoshi Kimura
>            Assignee: Jesper Pedersen
>             Fix For: 6.0.1.M1
>
>         Attachments: JBAS-8546.patch
>
>
> When this happens the NewMsgsWorker no longer check new emails.
> We should check the timeout parameter value before calling Thread.sleep(timeout). Basically there is no guarantee that the timeout is positive value. Say if you activate 10 endpoints very quickly with same interval, the "next - now" calculation would be negative.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list