Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-8457

TimerService.getTimers() does not return persisted timers in @PreDestroy method

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 11.0.0.Beta1
    • 11.0.0.Alpha1
    • EJB
    • None

    Description

      Injecting the TimerService with an @Resource annotation

      @Resource
      private TimerService timerService;

      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.

      Attachments

        Issue Links

          Activity

            People

              rhn-support-iweiss Ingo Weiss
              rhn-support-iweiss Ingo Weiss
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: