[jboss-user] [jBPM] - Re: Terminate Active ProcessInstance in jbpm 5.2 using Local Task Service

Damian Pooley do-not-reply at jboss.com
Thu Feb 16 22:29:40 EST 2012


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]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120216/48e81059/attachment.html 


More information about the jboss-user mailing list