[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 03:29:00 EDT 2017
[ https://issues.jboss.org/browse/WFLY-8457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list