Tomcat classloader behaviour and Xerces

2003-09-11 Thread kosh.podder
Hi, I'm trying to understand why regardless of whether or not a particular version of Xerces is present in a webapp's WEB-INF/lib, the version in Tomcat's common/lib is always picked up. With other simple classes sharing the same namespace that I have used to test this, the version in the

Re: Tomcat classloader behaviour and Xerces

2003-09-11 Thread Bill Barker
AFAIK, there shouldn't be a Xerces in common/lib. That having been said, Xerces is handled specially in Tomcat 4.x. If there is a copy in common/lib or shared/lib, then it will use that one in preference to WEB-INF/lib. Of course, it always checks the System ClassLoader first, so it will