Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-2995

TimerService: Timer interval stops after retry

XMLWordPrintable

      The timer doesn't fire timeouts anymore after an exception has occured and the retry of the current timeout isn't finished before the new timeout should occur.

      See attached two source file, which will demonstrate the problem.

      In short:
      The execute method in the attached example gets called every minute. The first time it will throw an exception to enter the retry. When entering the retry it will sleep for 90 seconds to make sure it is not finished before the next timeout occurs.

      After the retry finished, new timeouts will not occur.

              rhn-support-wfink Wolf Fink
              rhn-support-wfink Wolf Fink
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: