tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Webapp classloader question.
Date Thu, 09 Oct 2003 16:43:40 GMT

Tomcat 4.1.x implements the endorsed classloader spec.  It's compliant
with the Servlet Specification v2.3.  What you can do if you want your
webapp to use the latest xerces/JAXP, is:
- Move $CATALINA_HOME/common/endorsed/* to $CATALINA_HOME/common/lib
- Put your later xerces etc. in WEB-INF/lib as you've been doing.

Yoav Shapira
Millennium ChemInformatics

>-----Original Message-----
>From: Lee, William [mailto:William.Lee@Cognos.COM]
>Sent: Thursday, October 09, 2003 12:38 PM
>Subject: Webapp classloader question.
>Hi all,
>I'm not sure if this message reaches you guys yet, so here it go again.
>Sorry for any inconvenience if you receiving this message twice.
>-----Original Message-----
>From: Lee, William []
>Sent: Tuesday, October 07, 2003 3:55 PM
>To: ''
>Subject: Webapp classloader question.
>Hi all,
>When moving from tomcat 4.0.x to 4.1.x, we discovered that the
> had been changed such that all classes from
>"org.apache.xerces" and "org.apache.xalan" are forced to be loaded
>delegate model first, before looking into the webapp directory. This
>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
>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.
>Could someone please hint some lights on why tomcat 4.1.x decided to
>the delegate model for these two packages?
>(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
>directory, our latest version will always be skipped.)
>Thanks in advance for your help.
>Join us at Cognos' biggest event of the year Enterprise 2003, The
>Business Forum.  Taking place in over 25 cities around the world, it's
>opportunity for Business and IT leaders to learn about strategies for
>driving performance. Visit for more
>This message may contain privileged and/or confidential information.
>have received this e-mail in error or are not the intended recipient,
>may not use, copy, disseminate or distribute it; do not open any
>attachments, delete it immediately from your system and notify the
>promptly by e-mail that you have done so.  Thank you.

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message