Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-710

NDI DBAppender with WebLogic pool connection - Cannot call commit when using distributed transactions

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 1.0.3, 1.0.6
    • logback-classic
    • Windows and Linux RH, running Weblogic 10.3.5 appserver, with Oracle 11.2.0.2.0 client

    Description

      After adding DBAppender to my logback.xml configuration file I receive the following error: ERROR in ch.qos.logback.classic.db.DBAppender[DataBase] - problem appending event java.sql.SQLException: Cannot call commit when using distributed transactions at java.sql.SQLException: Cannot call commit when using distributed transactions. I upgraded from 1.0.3 to 1.0.6 but the problem remains. Logback is sharing the pool connection with the application. I also tried pointing logback to a separate pool connection in Weblogic with the same results. Even tried to set the drivername on the logpool to use the non-XA version, but same results.

      Attachments

        Activity

          People

            logback-dev Logback dev list
            larrysmith Larry Smith
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: