Hi.
I have the same problem.
This is code :
public void cancelProcess(Long prId) throws RemoteException{
JbpmContext ctx = createBpmContext();
try{
ProcessInstance prInst = ctx.getProcessInstanceForUpdate(prId);
prInst.end();
}catch (Exception ex) {
//...
} finally{
ctx.close();
}
}
Transaction is managed outside method (for example by using Spring annotations).
So problem is following: Session is closed in ctx.close(), transaction commited later,
which causes DeleteJobsSynchronization to execute. It reasonably fails, because of closed
session.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107193#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...