-
Bug
-
Resolution: Done
-
Major
-
None
This issue involves some ejb timer schedule with increment value 0 as in attributes like hours, minutes, and seconds. For example,
@Schedule(hour="10/0", minute="15/0", second="30/0")
In the above example, hour, minute and second attribute all contain increment value 0, which literally means, this "recurring" timer should fire every day starting 10 o'clock, every 0 hours thereafter; 15th minute and every 0 minutes thereafter; and 30th seconds and every 0 seconds thereafter.
Practically, the increment 0 should just be ignored, making it a single-expiration on that particular attribute, rather than a never-ending recurring one. WildFly currently treats 0 increment as invalid and any deployment using it would cause DeploymentException.
See https://github.com/jakartaee/enterprise-beans/issues/148
- is incorporated by
-
JBEAP-24824 (7.4.z) WFLY-17957 - EJB timer schedule increment 0 should be considered as single value
- Closed