Calendar based EJB timers are not handled correct during the switch from summer to winter time
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7.1
- 7.0
- 6
Issue
- EJB calendar timer (@Schedule) are missed during the DST (daylight saving time) switch
Resolution
The issue will be resolve in a future EAP release and you need to upgrade.
Root Cause
The calculation for the next timer event is incorrect and switch the DST offset (daylight saving time) from summer to winter time at the beginning of the overlapping period.
So for CEST->CET the switch is at 3:00 (CEST) back to 2:00 (CET).
Because of this the calculation for any time between 2:00-2:59:59 CEST will switch to CET and the timer event within this hour is missed.
The timer will be back to expected behaviour after that.
The issue is trackers are (according to the EAP release):
Content from issues.jboss.org is not included.EAP 7.0 JBEAP-13748
Content from issues.jboss.org is not included.EAP 7.1 JBEAP-13753
Content from issues.jboss.org is not included.Wildfly WFLY-9537
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.