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

DynamicClassLoadingException trying to use customAppender

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: logback-core
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Bugzilla Id:
      143

      Description

      I'm trying to use a custom Appender with Logback under a WebSphere 6.1
      application, but am failing upon Logback configuration with a
      ch.qos.logback.core.util.DynamicClassLoadingException, caused by a
      java.lang.ClassNotFoundException .

      A search on this mailing list for "DynamicClassLoadingException" returned 0
      results, and neither the documentation nor Google were of any further help.

      Here's my setup:
      EAR:

      • logback-classic-0.9.9.jar
      • logback-core-0.9.9.jar
      • slf4j-api-1.5.0.jar
      • ...
        WAR (configured to PARENT_LAST):
      • logback.xml
      • com.ziesemer.test.TestAppender

      I will attach the stack trace / STDOUT, as it is a bit lengthy (141 lines).

        Attachments

          Activity

            People

            • Assignee:
              logback-dev Logback dev list
              Reporter:
              mark_z@charter.net Mark A. Ziesemer
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: