Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-3457

Persisted timers that expire while JVM is down don't fire upon startup

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • jBPM 5.4.0.CR1
    • jBPM 5.1
    • Runtime Engine
    • None

      Creating a TimerNodeInstance coupled with JPA persistence that expires while the JVM is down creates a scenario where the timer has expired, and is not fired upon startup.

      For instance: Create a 1 minute timer. Shut down the JVM, wait 2 minutes. Start the JVM back up, re-load the StatefulKnowledgeSession, and the TimerNodeInstance waits in the same state as previous to the deadline, and will not fire.

      Krisv has suggested creating an additional timer unit test to duplicate this scenario.

              swiderski.maciej Maciej Swiderski (Inactive)
              rrpeterson_jira Ryan Peterson (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: