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

Wrong 'nextExpiration' calculation if timer execution is missed (by server downtime) for timer with interval

XMLWordPrintable

    • Hide

      Create a timer with short interval and stop the server for a few minutes. Debug show the wrong expiration.

      16:47:20,200 DEBUG [org.jboss.as.ejb3] (pool-8-thread-5) Timer task invoked at: Wed Dec 14 16:47:20 CET 2011 for timer [... persistent?:true ... initialExpiration=Wed Dec 14 15:24:17 CET 2011 intervalDuration(in milli sec)=1000 nextExpiration=Wed Dec 14 15:24:56 CET 201

      Show
      Create a timer with short interval and stop the server for a few minutes. Debug show the wrong expiration. 16:47:20,200 DEBUG [org.jboss.as.ejb3] (pool-8-thread-5) Timer task invoked at: Wed Dec 14 16:47:20 CET 2011 for timer [... persistent?:true ... initialExpiration=Wed Dec 14 15:24:17 CET 2011 intervalDuration(in milli sec)=1000 nextExpiration=Wed Dec 14 15:24:56 CET 201
    • Low

      If a persistent timer with an interval is re-activated after shutdown the nextExpiration date continue based on the last timeout and is not recalculated.

              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: