2009/10/4 Leon Rosenberg <rosenberg.l...@googlemail.com>:
> On Sun, Oct 4, 2009 at 1:00 AM, Eric B. <ebe...@hotmail.com> wrote:
>> "Caldarale, Charles R" <chuck.caldar...@unisys.com> wrote in message
> Back to the original post,
> why don't you simply patch (maybe automatically with ant) the jar file
> containing the 'old' version of the class and remove it?

The jar files are provided and signed by an external vendor.

> You won't be able to keep two different versions of a class in the
> same classloader anyway.

I want to use the newest version only, of course. Normally, I would
simply place the jar with the newest versions first in the classpath.
But the tomcat server has no such control, instead it just loads jar
files from the WEB-INF/lib directory, which means that the order is
based on the OS filesystem.

Apparently, there is no easy way to control the classpath for web
applications in Tomcat, so instead I have to make a custom classloader
that does loads classes from the jar files in a controlled order.

 - Rasmus

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

Reply via email to