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
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