[jbossts-issues] [JBoss JIRA] (JBTM-1197) large tx timeouts are bugged

Paul Robinson (JIRA) jira-events at lists.jboss.org
Tue Sep 25 14:08:37 EDT 2012


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

Paul Robinson closed JBTM-1197.
-------------------------------


    
> large tx timeouts are bugged
> ----------------------------
>
>                 Key: JBTM-1197
>                 URL: https://issues.jboss.org/browse/JBTM-1197
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Transaction Core
>    Affects Versions: 4.16.4
>            Reporter: Jonathan Halliday
>            Assignee: Tom Jenkinson
>             Fix For: 4.16.5, 4.17.0
>
>
> When CoordinatorEnvironmentBean.defaultTimeout approaches Integer.MAX_VALUE, the calculation in ReaperElement.<ctor> wraps, resulting in an immediate tx timeout
> _absoluteTimeoutMills = (timeout * 1000) + System.currentTimeMillis();
> should be
> _absoluteTimeoutMills = (timeout * 1000L) + System.currentTimeMillis();
> in order to avoid -ve i.e. times in the past when timeout is large.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbossts-issues mailing list