Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-4896

SFSB Transaction status in Infinispan is not correctly cleared, after the transaction is handled by the transaction reaper

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Out of Date
    • Affects Version/s: 8.2.0.Final
    • Fix Version/s: 9.0.0.Final
    • Component/s: Clustering
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      https://github.com/xiaodong-xie/wildfly-sfsb

      Adding the following:
      <coordinator-environment default-timeout="25"/>
      to

      <subsystem xmlns="urn:jboss:domain:transactions:2.0">
      </subsystem>

      mvn clean install

      jboss-cli.sh -c 'deploy target/wildfly.sfsb.war'

      jboss-cli.sh -c 'undeploy wildfly.sfsb.war'

      Show
      https://github.com/xiaodong-xie/wildfly-sfsb Adding the following: <coordinator-environment default-timeout="25"/> to <subsystem xmlns="urn:jboss:domain:transactions:2.0"> </subsystem> mvn clean install jboss-cli.sh -c 'deploy target/wildfly.sfsb.war' jboss-cli.sh -c 'undeploy wildfly.sfsb.war'
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      Have to restart Wildfly server.

      Show
      Have to restart Wildfly server.

      Description

      EJB stateful session bean transaction status in Infinispan is not correctly cleared, if the transaction that the SFSB involved is handled by the transaction reaper.

      My analysis:

      Some thread-local variable (org.infinispan.transaction.tm.DummyTransaction) is not cleared in Infinispan module, probably in infinispan-core-6.0.2.Final.jar, class org.infinispan.transaction.tm.DummyTransaction, line 95 should be put into a finally block.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                pferraro Paul Ferraro
                Reporter:
                xxd Xiaodong Xie
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: