JBoss Community

Re: Local human task service doesn't participate in a JTA transaction

created by Demian Calcaprina in jBPM - View the full discussion

Hey, I suggest you try 5.3 or 5.4 and see how it goes..

 

5.2  local persistence was a bit different:

https://github.com/droolsjbpm/jbpm/blob/d75849efdb4b149e7169237a5282e7882e701f85/jbpm-human-task/src/main/java/org/jbpm/task/service/TaskServiceSession.java You can see it getting the UserTransaction java:comp/UserTransaction, instead from 5.3 you can see there is a Task TransactionManager:

https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/task/service/persistence/TaskJTATransactionManager.java

 

If you make some simple unit test in 5.3 or 5.4 I can take a look.

 

Thanks

 

Demian

Reply to this message by going to Community

Start a new discussion in jBPM at Community