Re: WebappClassLoader delegates to SystemClassLoader, not CustomClassLoader

2006-04-14 Thread Bill Barker
Not enough info to give you a code sample (since with Embedded, you are controlling the ClassLoaders, and Tomcat isn't doing it's default common/server/shared thing). However, what you want is one of the following (depending on your CL requirements): engine.setParentClassLoader(myClassLoader

WebappClassLoader delegates to SystemClassLoader, not CustomClassLoader

2006-04-14 Thread Andrew McDowall
Hi, I'm running into ClassLoader problems when using a custom ClassLoader with an embedded Tomcat. The problem, as I understand it, is arising due to multiple versions of log4j being loaded by different ClassLoaders resulting in ClassCastExceptions or expected interfaces not being implemented. I