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

concurrent process execution fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: jBPM 3.2.0
    • Fix Version/s: jBPM 3.2.2
    • Component/s: Runtime Engine
    • Labels:
      None
    • Environment:

      Hypersonic in-memory database, JobExecutor configured with 5 threads

      Description

      concurrent execution of async nodes with multiple JobExecutor threads fails. the effect is:
      1) job sync within JobExecutor fails due to org.hibernate.StaleObjectStateException
      2) process gets stuck in join node and never ends

      junit test for this is attached, it's a simple process with just a fork and a join and some scripts inbetween.

        Gliffy Diagrams

          Attachments

          1. SimpleTest.java
            7 kB
          2. SimpleTest.java
            7 kB
          3. SimpleTest.java
            6 kB
          4. SimpleTest.java
            6 kB
          5. SimpleTest.java
            6 kB

            Issue Links

              Activity

                People

                • Assignee:
                  tom.baeyens Tom Baeyens
                  Reporter:
                  ax666 Alexander Schlett
                • Votes:
                  13 Vote for this issue
                  Watchers:
                  9 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: