EJB Timers are being invoked earlier than when they require to get triggered in EAP 5
Issue
- We noticed that occasionally EJB timers expire ahead of time, by just few milliseconds causing problems to the application as one of the checks implemented is based on the current time.
- This pseudo code prints a negative value when this happens:
method ejbTimeout(Timer timer){
print new Date().getTime() - timer.getNextTimeout().getTime();
}
ejbTimeoutshould not be called before the timer'snextTimeout.
Environment
- Red Hat JBoss Enterprise Application Platform(EAP)
- 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
