Hey
Rickard �berg wrote:
> Since the Tomcat integration just isn't working I have began looking at
> the EmbeddedTomcat module. In a servlet in a .ear file I print out the
> context classloader. It is an AdaptiveClassLoader. But it has no parent
> classloader, or rather, the system classloader is the parent
> classloader. BUT THAT IS WRONG! The strange thing is that I have put
> debug messages in the ContextClassLoaderInterceptor, and it *is* being
> called upon deployment, so that the ACL's parent classloader is right.
> But this doesn't seem to be used for some reason.
*sigh* I found it. Basically, the classloader are set up correctly, but
getResource() in AdaptiveClassLoader in Tomcat is buggy... it doesn't
check the parent classloaders getResource.
So, what to do? Ask Tomcat people to fix it, or workaround? It's strange
they haven't seen this before...
/Rickard
--
Rickard �berg
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com