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

concurrent process execution fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • jBPM 3.2.2
    • jBPM 3.2.0
    • Runtime Engine
    • None
    • Hypersonic in-memory database, JobExecutor configured with 5 threads

      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.

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

              tom.baeyens Tom Baeyens (Inactive)
              ax666 Alexander Schlett (Inactive)
              Votes:
              13 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: