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

Logback DBAppender can't partipate in a container managed transaction

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 1.0.7
    • logback-classic

    Description

      09:43:40,484 INFO [stdout] (http--127.0.0.1-8080-1) 09:43:40,250 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback-test.xml] at [vfs:/C:/jboss-as-7.1.1.Final/bin/content/565.war/WEB-INF/classes/logback-test.xml]

      09:43:40,484 INFO [stdout] (http--127.0.0.1-8080-1) 09:43:40,266 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@f94dad - URL [vfs:/C:/jboss-as-7.1.1.Final/bin/content/565.war/WEB-INF/classes/logback-test.xml] is not of type file

      09:43:40,484 INFO [stdout] (http--127.0.0.1-8080-1) 09:43:40,281 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set

      09:43:40,484 INFO [stdout] (http--127.0.0.1-8080-1) 09:43:40,281 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.classic.db.DBAppender]

      09:43:40,484 INFO [stdout] (http--127.0.0.1-8080-1) 09:43:40,297 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [DB]

      09:43:40,484 INFO [stdout] (http--127.0.0.1-8080-1) 09:43:40,297 |-ERROR in ch.qos.logback.core.db.DriverManagerConnectionSource@15ab821 - Could not load JDBC driver class: org.postgresql.Driver java.lang.ClassNotFoundException: org.postgresql.Driver from [Module "deployment.565.war:main" from Service Module Loader]

      09:43:40,484 INFO [stdout] (http--127.0.0.1-8080-1) at java.lang.ClassNotFoundException: org.postgresql.Driver from [Module "deployment.565.war:main" from Service Module Loader]

      09:43:40,484 INFO [stdout] (http--127.0.0.1-8080-1) at at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)

      09:43:40,499 INFO [stdout] (http--127.0.0.1-8080-1) at at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)

      09:43:40,499 INFO [stdout] (http--127.0.0.1-8080-1) at at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)

      09:43:40,499 INFO [stdout] (http--127.0.0.1-8080-1) at at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423)

      09:43:40,499 INFO [stdout] (http--127.0.0.1-8080-1) at at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)

      09:43:40,499 INFO [stdout] (http--127.0.0.1-8080-1) at at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)

      09:43:40,499 INFO [stdout] (http--127.0.0.1-8080-1) at at java.lang.Class.forName0(Native Method)

      Attachments

        Activity

          People

            logback-dev Logback dev list
            mmharek Mohamed M'HAREK
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: