tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "McGibbney, Lewis John" <>
Subject RE: HTTP Status 500 - Server Internal Error
Date Sun, 19 Dec 2010 12:46:05 GMT
thank you for this it has been a great help

From: Michael Ludwig []
Sent: 19 December 2010 12:35
Subject: Re: HTTP Status 500 - Server Internal Error

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

> 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:

Michael Ludwig

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

Email has been scanned for viruses by Altman Technologies' email management service -

Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education’s Widening Participation Initiative of the Year 2009 and
Herald Society’s Education Initiative of the Year 2009,6219,en.html
View raw message