tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lee, William" <William....@Cognos.COM>
Subject Webapp classloader question.
Date Tue, 07 Oct 2003 19:55:01 GMT
Hi all,

When moving from tomcat 4.0.x to 4.1.x, we discovered that the
WebappClassLoader.java had been changed such that all classes from
"org.apache.xerces" and "org.apache.xalan" are forced to be loaded using the
delegate model first, before looking into the webapp directory. This seems
to related to the JDK 1.4 support of the xml and xslt parser.

However, after a long conversation with the Sun's Java engineer, he point
out that, even JDK 1.4 shipped with the default xml and xslt parser,
application server and servlet container should continue to use the one
provided from the webapp directory as described in the servlet spec. 2.3.

Could someone please hint some lights on why tomcat 4.1.x decided to enforce
the delegate model for these two pacakges?

(The reason I'm asking is that, we try to use the latest Xerces in our
webapps, and since it always look and found the one from common/endorsed
directory, our latest version will always be skipped.)

Thanks in advance for your help.
William.

Join us at Cognos' biggest event of the year Enterprise 2003, The Cognos
Business Forum.  Taking place in over 25 cities around the world, it's an
opportunity for Business and IT leaders to learn about strategies for
driving performance. Visit http://www.cognos.com/enterprise03 for more
details. 

This message may contain privileged and/or confidential information.  If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so.  Thank you.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message