Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-27126

[GSS](7.4.z) JBJCA-1483 - "SQLNonTransientConnectionException: Can't call rollback when autocommit=true" can happen because TxConnectionListener#tidyup() does not reset localTransaction field to false

XMLWordPrintable

      Backport JBJCA-1483 to EAP 7.4.x. When TxConnectionListener#tidyup is invoked the localTransaction field is not set to false, which is a bug due to following scenario: if related connection is taken again from the pool in autocommit mode, the tidyup method will fail with an exception like "SQLNonTransientConnectionException: Can't call rollback when autocommit=true".

        1. test.war
          1 kB
        2. standalone-ha.xml
          37 kB

              rhn-support-ivassile Ilia Vassilev
              rhn-support-mmiura Masafumi Miura
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: