Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-9721

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

    XMLWordPrintable

Details

    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-rpulluru Ranjith Pulluru (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 2 days
                  2d
                  Remaining:
                  Time Spent - 1 hour Remaining Estimate - 1 day
                  1d
                  Logged:
                  Time Spent - 1 hour Remaining Estimate - 1 day Time Not Required
                  1h