Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-5496

Change default persistence service configuration for jBPM

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: EAP_EWP 5.1.0
    • Fix Version/s: EAP_EWP 5.1.1
    • Component/s: Seam2
    • Labels:
      None
    • Affects:
      Release Notes
    • Release Notes Text:
      Hide
      The configuration for persistence service in <filename>jbpm.cfg.xml</filename> has been updated in the Todo and DvdStore examples, to use the following value: <service name="persistence" factory="org.jbpm.persistence.jta.JtaDbPersistenceServiceFactory" />
      Show
      The configuration for persistence service in <filename>jbpm.cfg.xml</filename> has been updated in the Todo and DvdStore examples, to use the following value: <service name="persistence" factory="org.jbpm.persistence.jta.JtaDbPersistenceServiceFactory" />
    • Release Notes Docs Status:
      Documented as Resolved Issue

      Description

      With the newer jBPM jars, it is recommended to use the following configuration for the persistence service:

      <service name="persistence" factory="org.jbpm.persistence.jta.JtaDbPersistenceServiceFactory" />

      With JtaDbPersistenceService, transactions are disabled by default, the "current" Hibernate session is enabled, the JTA transaction status is queried directly, and reported correctly to jBPM components such as GraphElement.isAbleToHandleExceptions.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                manaRH Marek Novotny
                Reporter:
                mputz Martin Weiler
                Writer:
                Misty Stanley-Jones
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: