2010/1/14 youngm <you...@gmail.com>:
>
> I am designing my production Tomcat 6 system and would like to have a
> classloader where I can put emergency "patch" jars (e.g. database drivers,
> etc) and configuration (e.g. tweaked spring config).
>
> These artifacts would need to be loaded in a classloader between the System
> Classloader and the Webapp classloader so that the patch classpath resources
> are picked up instead of the application resources.  Looking at
> http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html there does
> not appear to be a standard place where I can put these artifacts.  Is
> anyone aware of any solution to my problem?
>
> Thanks,
> Mike

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

The expanded classes always have precedence over *.jar s.

Best regards,
Konstantin Kolinko

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

Reply via email to