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

Lazy loading of ExceptionHandler causes Exception in JTA Env

    XMLWordPrintable

Details

    • Workaround Exists
    • Hide

      Copy Node.hbm.xml and ProcessDefinition.hbm.xml and set ExceptionHandlers to lazy load false and reconfgiure hibernate.cfg.xml to use the copied mapping files.

      Show
      Copy Node.hbm.xml and ProcessDefinition.hbm.xml and set ExceptionHandlers to lazy load false and reconfgiure hibernate.cfg.xml to use the copied mapping files.

    Description

      The fix for https://jira.jboss.org/jira/browse/JBPM-1775 does not work in JTA environment with JtaDbPersistenceService and following config:

      jbpm-context>
      <service name="persistence">
      <factory>
      <bean class="org.jbpm.persistence.jta.JtaDbPersistenceServiceFactory">
      <field name="isCurrentSessionEnabled"><true /></field>
      <field name="isTransactionEnabled"><false /></field>
      </bean>
      </factory>
      </service>
      <service name="tx" factory="org.jbpm.tx.TxServiceFactory"/>
      <service name="message" factory="at.telekom.wfm.process.queue.JbpmJmsMessageServiceFactory" />
      <service name="scheduler" factory="org.jbpm.scheduler.db.DbSchedulerServiceFactory" />
      <service name="authentication" factory="org.jbpm.security.authentication.DefaultAuthenticationServiceFactory" />
      </jbpm-context>

      Attachments

        Issue Links

          Activity

            People

              aguizar_jira Alejandro Guizar (Inactive)
              roschmel_jira Robert Schmelzer (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: