Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-1135

JobSession.deleteJobsForProcessInstance doesn't work if jbpm isn't the transaction manager

XMLWordPrintable

      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.

        1. processdefinition.xml
          2 kB
          Peter Brewer
        2. timerTest2.log
          64 kB
          Peter Brewer

              aguizar_jira Alejandro Guizar (Inactive)
              tellierj jerome tellier (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: