Damian Pooley [https://community.jboss.org/people/damian.pooley] created the 
discussion

"Re: Terminate Active ProcessInstance in jbpm 5.2 using Local Task Service"

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

--------------------------------------------------------------
I am getting the same exception (junit tests) and I am sure that it is because 
of the setup in persistence configuration.

Before I used the LocalTaskService I downloaded and managed to deploy the Human 
Task Service war. The points to note in its persistence.xml are:

<persistence-unit name="org.jbpm.task" transaction-type="*RESOURCE_LOCAL*">
<*non-jta-data-source*>java:/jdbc/jbpm-ds</non-jta-data-source>
...
<property name="hibernate.transaction.manager_lookup_class" 
value="*org.hibernate.transaction.JBossTransactionManagerLookup*" /> <!-- Jboss 
5-->


I recently moved to jbpm 5.2 and have started using the LocalTaskService and 
need to setup the task persistence-unit correctly (and so I can use a test 
version in vanilla junit tests too).
--------------------------------------------------------------

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

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

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to