-
Bug
-
Resolution: Done
-
Major
-
4.16.4
-
None
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.
- is incorporated by
-
JBPAPP-10833 Backport JBTM-1197 "large tx timeouts are bugged" to EAP 5
- Closed