[jboss-user] [jBPM] - Re: Local human task service doesn't participate in a JTA transaction

Demian Calcaprina do-not-reply at jboss.com
Wed Mar 13 17:47:41 EDT 2013


Demian Calcaprina [https://community.jboss.org/people/calca] created the discussion

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

To view the discussion, visit: https://community.jboss.org/message/802494#802494

--------------------------------------------------------------
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 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 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
[https://community.jboss.org/message/802494#802494]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130313/775e5943/attachment.html 


More information about the jboss-user mailing list