]
Ingo Weiss moved JBEAP-9933 to WFLY-8457:
-----------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-8457 (was: JBEAP-9933)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: EJB
(was: EJB)
Affects Version/s: 11.0.0.Alpha1
(was: 7.0.4.GA)
TimerService.getTimers() does not return persisted timers in
@PreDestroy method
-------------------------------------------------------------------------------
Key: WFLY-8457
URL:
https://issues.jboss.org/browse/WFLY-8457
Project: WildFly
Issue Type: Bug
Components: EJB
Affects Versions: 11.0.0.Alpha1
Environment: JBoss EAP 7.x
Reporter: Ingo Weiss
Assignee: Ingo Weiss
Attachments: TimerBean.java, TimerServiceEJBBug.jar
Original Estimate: 2 days
Remaining Estimate: 2 days
Injecting the TimerService with an @Resource annotation
{quote}
@Resource
private TimerService timerService;
{quote}
When I call timerService.getTimers().size() in the @PreDestroy method, it always return
0.
If I deploy the same application in jboss eap 6, then timerService.getTimers().size()
return 1.