[jboss-jira] [JBoss JIRA] (WFLY-8457) TimerService.getTimers() does not return persisted timers in @PreDestroy method
Ingo Weiss (JIRA)
issues at jboss.org
Tue Mar 28 05:03:00 EDT 2017
[ https://issues.jboss.org/browse/WFLY-8457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ingo Weiss updated WFLY-8457:
-----------------------------
Original Estimate: (was: 2 days)
Remaining Estimate: (was: 2 days)
> 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
> Reporter: Ingo Weiss
> Assignee: Ingo Weiss
> Attachments: TimerBean.java, TimerServiceEJBBug.jar
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list