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

      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

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

                Created:
                Updated:
                Resolved: