my test case is a,b,c three workflow which b is a's sub process and c is b's sub process. when i use jboss 7 and configue to use jpa2 .I start workflow a then b and c start by itself, when c reach to end the b and a are dead !
this is not happen in jpa1 or no jpa situation. I wonder it is a bug , does anyone have found the answer.
by the way a,b,c workflow must have a time event or a human task then will lead to this problem.
there was similar issue reported already and was fixed in master (5.4.0-SNAPSHOT) https://issues.jboss.org/browse/JBPM-3679
If you could give a try with latest version to see if that solves the problem for your case too?