Uploaded image for project: 'JBoss Web Server'
  1. JBoss Web Server
  2. JWS-1124

ARJUNA016082: Synchronizations are not allowed! Transaction status isActionStatus.RUNNING when running jBPM engine in KIE server deployed to Tomcat

    XMLWordPrintable

Details

    Description

      The fixes introduced as a part of https://issues.jboss.org/browse/JWS-1028 are not incorporated for use case when KIE server is deployed to Tomcat.

      jBPM embedded uses:
      https://github.com/web-servers/narayana-tomcat/blob/master/tomcat-jta/src/main/java/org/jboss/narayana/tomcat/jta/PoolingDataSource.java

      while for Tomcat, context.xml defines a factory bean providing the datasource:
      https://github.com/web-servers/narayana-tomcat/blob/master/tomcat-jta/src/main/java/org/jboss/narayana/tomcat/jta/TransactionalDataSourceFactory.java

      As you see, the TransactionalDataSourceFactory impl differs from the PoolingDataSource and doesn't use DataSourceXAConnectionFactory, which has been updated with a constructors taking a TransactionSynchronizationRegistry reference. This is the fix that for the issue in embedded use case. Now we need to take it into this TransactionalDataSourceFactory to make it effective for tomcat integration scenarios

      Attachments

        Activity

          People

            rmaucher Remy Maucherat
            rsynek@redhat.com Radovan Synek
            Radovan Synek Radovan Synek
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: