[logback-user] DynamicClassLoadingException - How does class loading in logback works?

Jenny jenny_uy81 at yahoo.com
Thu Nov 13 18:44:08 CET 2008


Ah that explains it. Thanks Ceki.

Thorbjørn, Initially this was my setup

Weblogic Domain / lib
     - logback.jar files

MyApp.ear
     - MyWeb.jar
        - WEB-INF/lib
            - customAppenderPackage.jar

When I put logback.jar files in the same level with customAppenderPackage.jar it works.


--- On Thu, 11/13/08, Ceki Gulcu <listid at qos.ch> wrote:

> From: Ceki Gulcu <listid at qos.ch>
> Subject: Re: [logback-user] DynamicClassLoadingException - How does class loading in logback works?
> To: "logback users list" <logback-user at qos.ch>
> Date: Thursday, November 13, 2008, 4:15 PM
> The class look up for custom components has been simplified,
> only the class 
> loader that loaded logback itself is used. In earlier
> versions of logback 
> several class loaders, including the ThreadContext class
> loader were used.
> 
> There are less surprises with the simplified approach.
> 
> Thorbjørn Ravn Andersen wrote:
> > Jenny skrev:
> >> I found a solution. I just put my
> customAppenderPackage.jar in the 
> >> same level (same directory) where my logback.jar
> files are. thanks
> >>
> > Interesting.  Where are your logback files? 
> > 
> > /Thorbjørn
> 
> 
> -- 
> Ceki Gülcü
> Logback: The reliable, generic, fast and flexible logging
> framework for Java.
> http://logback.qos.ch
> _______________________________________________
> Logback-user mailing list
> Logback-user at qos.ch
> http://qos.ch/mailman/listinfo/logback-user


      


More information about the Logback-user mailing list