Community

JBPM 4.3 - org.jbpm.api.JbpmException: couldn't acquire block of ids

reply from HuiSheng Xu in jBPM - View the full discussion

Hi guys.

 

Now I met this error in jta environment.  When I first use the processEngine and want to do some stuff on it.  The initial job and the continues jobs are in the same jta transaction.  the inital job won't flush to database, so other operations will fail with couldn't acquire block of ids.

 

If I let session.flush() after PropertyImpl.setNextDbid(session, 1);,  this problem could be solved.  Just thinking about whether it is the right way to do.

Reply to this message by going to Community

Start a new discussion in jBPM at Community