Hey

Kevin Lewis wrote:
> Hey, thanks for keeping up with me on this!
> 
> > Hm.. did you remember to set the right contextclassloader
> > before looking
> > up the object in JNDI at init time?
> 
> I've solved it.  Tomcat restores the Servlet class loader, but not the
> context class loader.  I created a mapping from the doc-root of the web
> app to the context class loaders.  I then restored it with an
> interceptor positioned before the interceptor shipped with
> EmbeddedTomcatService (which sets the parent of the servlet class
> loader).

Is your interceptor doing something like the Jdk12Interceptor? Is it
exactly the same?

/Rickard

-- 
Rickard �berg

Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com


Reply via email to