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


    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.4.18.GA
    • 7.4.14.GA
    • JCA

      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. standalone-ha.xml
          37 kB
        2. test.war
          1 kB

            rhn-support-ivassile Ilia Vassilev
            rhn-support-mmiura Masafumi Miura
            0 Vote for this issue
            3 Start watching this issue