My guess is that your parser.jar (in the WEB-INF/lib) overrides xerces.jar
in the CATALINA_HOME/common/lib (I'm assuming you have a xerces.jar in the
aforementioned path) since the error disappears when you move it to
CATALINA_HOME/lib. And this jar is not up-to-date with the latest JAXP1.1
set of classes. You might need to rebuild parser.jar to be compatible with
the latest JAXP release.
Thanks
RS





"Kapasi, Mehjabin" <[EMAIL PROTECTED]> on 02/19/2002 04:00:03 PM

Please respond to "Tomcat Users List" <[EMAIL PROTECTED]>

To:   'Tomcat Users List' <[EMAIL PROTECTED]>
cc:

Subject:  java.lang.LinkageError: loader constraints violated when linking

Hi,

I am using Tomcat 4.0.1. I am currently using parser.jar for the XML
parsing. When I place the parser.jar in the WEB-INF/lib directory for this
webapp I get the error, however, if I move parser.jar to
%CATALINA_HOME%/lib
the problem does not occur.  I can't
figure out why this is happening.

Any ideas.
-Mehjabin

root cause

java.lang.LinkageError: loader constraints violated when linking
org/xml/sax/Parser class.....

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>









--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to