Hide Forgot
Created attachment 792294 [details] console log 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 cd PerfCake git checkout devel mvn clean install -DskipTests 2.) Run perf scenario: git clone git://git.app.eng.bos.redhat.com/jbossqe-process-flood.git cd jbossqe-process-flood/bpms-6.x ./execute_scenario.sh -Dscenario=HumanTask_Java -Dduration=5000 -smysql-local.xml My environment: BPMS 6 ER1 (will try again with ER2, when it will be available) MySQL 5.5.32 mysql-connector-java-5.1.26-bin.jar driver
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.