Hello,

I'm using Tomcat 4.1.10 with JDK 1.4 at Windows XP.
I need to do some validation with Xerces 2.1.10, I put ther latest xerces
jars in /common/endorced.
The validation takes place only once in init() method, and it fails. While
trying to trace the problem, I've rebuilt the Xerces source with some
debuging info added to classes like SAXParserFactory, etc, and replaced the
jars in /endorced.
What I've found is that when a class, such as SAXParserFactory is created
within init() method, then a boot classLoader loads a class from JDK 1.4
distribution;
When I called  SAXParserFactory.newInstance() from Servlet.doGet(), I've got
all my debugging info, which confirms that this time a factory class was
loaded from common/endorced directory.

I hope this is the question to the right group, because it seems it's
something to do with the behaviour of WebApp class loader
I'd appreciate any comments on this,
Thanks
Sergey Beryozkin




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to