[
http://jira.jboss.com/jira/browse/JBPM-1135?page=comments#action_12419848 ]
Alejandro Guizar commented on JBPM-1135:
----------------------------------------
Thanks for your quick response Peter. We are in the process of migrating to maven and
certain modules still need attention. I see it was not enough to stop you from trying the
fix out :-)
Now it seems like I introduced a regression. Can you attach one of your live processes to
try and reproduce the new exception?
JobSession.deleteJobsForProcessInstance doesn't work if jbpm
isn't the transaction manager
------------------------------------------------------------------------------------------
Key: JBPM-1135
URL:
http://jira.jboss.com/jira/browse/JBPM-1135
Project: JBoss jBPM
Issue Type: Bug
Components: Core Engine
Affects Versions: jPDL 3.2.2
Reporter: Jérôme Tellier
Assigned To: Alejandro Guizar
My configuration of the persistence service is this :
<service name="persistence">
<factory>
<bean
class="org.jbpm.persistence.db.DbPersistenceServiceFactory">
<field name="isCurrentSessionEnabled"><false
/></field>
<field name="isTransactionEnabled"><false
/></field>
</bean>
</factory>
</service>
When I call JobSession.deleteJobsForProcessInstance, the method beforeCompletion() in
DeleteJobsSynchronization is never call in the commit, probably because jbpm isn't the
transaction manager.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira