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

Timer instance incorrectly removed upon process execution error

XMLWordPrintable

    • False
    • False
    • NEW
    • NEW
    • Undefined
    • Hide

      Using the attached reproducer:

      1. Run the sh script to create the container and start a process instance
      2. Check the JBOSS_EJB_TIMER table, it should contain 2 rows (1 for the 30s timer, 1 for the 2min timer)
      3. Wait for the 30s timer to execute, it will result in an exception
      4. Check the JBOSS_EJB_TIMER table again, now both records are removed
        The expectation is that the 2min timer is still active.
      Show
      Using the attached reproducer: Run the sh script to create the container and start a process instance Check the JBOSS_EJB_TIMER table, it should contain 2 rows (1 for the 30s timer, 1 for the 2min timer) Wait for the 30s timer to execute, it will result in an exception Check the JBOSS_EJB_TIMER table again, now both records are removed The expectation is that the 2min timer is still active.

      A process contains two execution branches:

      1. Branch 1: Event sub-process with 30s timer
      2. Branch 2: HT node with 2min boundary timer

      Branch 1 encounters an error when the timer executes. At this point, the 2min timer of the other branch is removed by the engine:

      15:40:53,380 DEBUG [org.jbpm.services.ejb.timer.EJBTimerScheduler] (EJB default - 1) Job handle EjbGlobalJobHandle [uuid=43604-27573-Human Task-2] does match timer and is going to be canceled
      

      The expectation is that the 2min timer is still active despite the error.

            elguardian@gmail.com Enrique González Martínez (Inactive)
            elguardian@gmail.com Enrique González Martínez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: