McGibbney, Lewis John schrieb am 18.12.2010 um 21:20 (+0000):
> 
> I understand this now, my initial understanding
> was that Tomcat was distributed with a version
> of xerces (or some other) parser implementation

Tomcat isn't, but the Sun JRE is shipping a forked and
modified Apache Xerces. It has acquired a reputation for
bugginess, though, which is why many people prefer to use
Apache Xerces (formerly known as IBM XML4J, donated in
1999).

> I am trying to get to the bottom of what
> org.apache.xerces.util.XMLChar is and why it
> is causing the exceptions and errors when I
> lanuch the webapp.

Something's compiled against this class and complains
that it cannot be loaded. You need to make Apache Xerces
available to the webapp in question. This can be achieved
by putting the relevant JAR(s) in WEB-INF/lib. In the case
of Xerces, however, it is preferable to put the JAR(s)
into %CATALINA_HOME%\endorsed (which may not exist but may
be created) so they will be available to all of Tomcat and
outmatch the Sun fork shipping with the JRE.

> Can you expand on your final statement to
> provide more detail please, I am unfamilar
> with this configuration.

Take a look at the setclasspath and catalina shell scripts
in %CATALINA_HOME%\bin. Search them for "endorsed" and read
up on the Java Endorsed Standards Override Mechanism:

http://download.oracle.com/javase/6/docs/technotes/guides/standards/index.html

-- 
Michael Ludwig

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

Reply via email to