On 14/01/2010 02:40, youngm wrote:


Put expanded classes into WEB-INF/classes.
Likewise, in CATALINA_BASE/lib

So CATALINA_BASE/lib jars and classes are used before the application
(WEB-INF/lib and /classes)?

http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html under Class
Loader Definitions seems to indicate otherwise.  The way I read it the
application's WEB-INF/lib and classes are used before CATALINA_BASE/lib.
Though perhaps I'm reading it wrong?

I like the idea of placing my patch jars and classes in CATALINA_BASE/lib
over WEB-INF so that I can more easily see what patches have been applied to
an environment I just didn't think those would be loaded before the
application's.

Thanks,
Mike

You might get away with adding individual classes to the classloader tree, but multiple jars containing the same class is likely to cause problems. In fact, I'm not even sure the former is foolproof.

I don't the classloader hierarchy is designed to handle patching.

p

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to