Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
1.0.3, 1.0.6
-
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
Issue Links
- relates to (out)
-
LOGBACK-839 Logback DBAppender can't partipate in a container managed transaction
- Open