Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-593

KieSession persistence failure when ProcessInstance is kept in-memory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • 6.1.0.Final
    • 6.0.1.Final
    • None
    • None
    • Hide

      Download the zipped project and run "mvn package"

      Show
      Download the zipped project and run "mvn package"
    • Workaround Exists
    • Hide

      There is a workaround we implemented for this version in particular, where if the check if the process instance exists or not on a command object, the problem dissapears. You can find the problem reproduced in the attached project (persistence-issue-on-6.0.1.Final.zip). The problem can be reproduced in one of the tests, and a workaround is found in the other.

      Show
      There is a workaround we implemented for this version in particular, where if the check if the process instance exists or not on a command object, the problem dissapears. You can find the problem reproduced in the attached project (persistence-issue-on-6.0.1.Final.zip). The problem can be reproduced in one of the tests, and a workaround is found in the other.

      This issue is intermitent. However, on a moderately quick processor, it happens at least once within 1000 process instances.
      The issue presents itself in version 6.0.1.Final but not in 6.1.0.Final. It happens when a ProcessInstance object is referenced before invoking the signalEvent on a specific process instance.

      Any clarification on the reasons for this problem would be appreciated. As for suggested fixes, I would recommend moving to version 6.1.0.Final. I'm reporting it so that others with similar problems can try a workaround

              mproctor@redhat.com Mark Proctor
              marianbuenosayres Mariano Nicolas De Maio (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: