[jboss-user] [jBPM] - Re: Issue with StatefulKnowledgeSession

irshad mansuri do-not-reply at jboss.com
Fri Apr 12 08:32:30 EDT 2013


irshad mansuri [https://community.jboss.org/people/irs] created the discussion

"Re: Issue with StatefulKnowledgeSession"

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

--------------------------------------------------------------
Found the solution.

It was my mistake i was not adding the transaction type to the persistence

so as i changed my persistence.xml file it worked fine for me.

I made the following changes in my persistence.xml file 

| <persistence-unit name="org.jbpm.task" transaction-type="JTA"> |  |

and also add the transaction manager because trasaction manager is requiered if we are using JTA.

<property name="hibernate.transaction.manager_lookup_class"
            value="org.hibernate.transaction.BTMTransactionManagerLookup" />

Regards 
Irshad
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/808002#808002]

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/20130412/47a275ba/attachment.html 


More information about the jboss-user mailing list