Red Hat Bugzilla – Bug 1003098
org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction when running many human task process using kie api
Last modified: 2015-06-01 21:35:25 EDT
Created attachment 792294 [details]
org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction when running many human task process using kie api. See the attached console log. No container involved. It's just human task process, with synchronous task operations, run sequentially.
To reproduce (assumes you have MySQL server configured according to mysql-local.xml file):
1.) Install Perfcake 0.3-SNAPSHOT:
git clone https://github.com/PerfCake/PerfCake.git
git checkout devel
mvn clean install -DskipTests
2.) Run perf scenario:
git clone git://git.app.eng.bos.redhat.com/jbossqe-process-flood.git
./execute_scenario.sh -Dscenario=HumanTask_Java -Dduration=5000 -smysql-local.xml
BPMS 6 ER1 (will try again with ER2, when it will be available)
Looking at the stack trace, it seems this is related to the process instance (with id 1), not the task.
this turned out to be same as this bz: https://bugzilla.redhat.com/show_bug.cgi?id=1000382 wrong bitronix version. After upgrading bitronix to 3.0.0-SNAPSHOT proper execution has been observed.
Thanks Maciej for your help.
I can confirm what Maciej wrote. After several configuration fixes the reported scenario HumanTask_Java can be used to measure a process with a human task.
Closing the bug.