On 04/04/2016 18:01, Francesco Bassi wrote: > Hello everybody. > > Tomcat 9 has a different behaviour than Tomcat 8, during the management of > MessageHandler.onMessage: > > - in Tomcat 8: > Thread.currentThread().getContextClassLoader() returns an instance of > org.apache.catalina.loader.WebappClassLoader > > - in Tomcat 9 > Thread.currentThread().getContextClassLoader() returns an instance of > java.net.URLClassLoader > (which doesn't resolve the WEB-INF/lib/* classes) > > It seems to be related to the switch to ParallelWebappClassLoader. > Is it a bug or and intended behaviour?
It looks like a bug. I need to dig deeper to figure out the root cause. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org