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

[GSS](7.0.z) TimerService.getTimers() does not return persisted timers in @PreDestroy method

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 7.0.4.GA
    • EJB

    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:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 2 days
                  2d
                  Remaining:
                  Remaining Estimate - 2 days
                  2d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified