File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Tomcat 6 xerces.jar issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat 6 xerces.jar issue" Watch "Tomcat 6 xerces.jar issue" New topic

Tomcat 6 xerces.jar issue

Aniruddha Jadhao

Joined: May 10, 2006
Posts: 24
I am using AIX 6.1.
I have deployed my website on tomcat 6 . Inside tomcat 6 \common\endorsed folder, there are certain jar files like xalan.jar and etc...
When I run my webpage on browser, I am getting following exception.

java.lang.VerifyError: receiver is incompatible with declaring class (class: org/apache/xalan/xpath/xdom/XercesLiaison method: parse(Lorg/xml/sax/InputSource;)V) at pc: 135
at java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(
at java.lang.J9VMInternals.initialize(
at com.quintus.wru.DisplayEntry.<init>(
at org.apache.jsp.public_.wru_jsp._jspService(
at org.apache.jasper.runtime.HttpJspBase.service(
at javax.servlet.http.HttpServlet.service(
at org.apache.jasper.servlet.JspServletWrapper.service(
at org.apache.jasper.servlet.JspServlet.serviceJspFile(
at org.apache.jasper.servlet.JspServlet.service(
at javax.servlet.http.HttpServlet.service(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.apache.catalina.core.StandardWrapperValve.invoke(
at org.apache.catalina.core.StandardContextValve.invoke(
at org.apache.catalina.core.StandardHostValve.invoke(
at org.apache.catalina.valves.ErrorReportValve.invoke(
at org.apache.catalina.core.StandardEngineValve.invoke(
at org.apache.catalina.connector.CoyoteAdapter.service(
at org.apache.jk.server.JkCoyoteHandler.invoke(
at org.apache.jk.common.HandlerRequest.invoke(
at org.apache.jk.common.ChannelSocket.invoke(
at org.apache.jk.common.ChannelSocket.processConnection(
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(
at org.apache.tomcat.util.threads.ThreadPool$

Can any one please tell me any approach to resolve this issue?
Aniruddha Jadhao

Joined: May 10, 2006
Posts: 24
Want to add more on that , in tomcat 6 common endorsed folder the xalan.jar is of 2.93MB & in my web-inf lib its of 783KB .

Also after copying xerces.jar inside common endorsed folder , the error has vanished & my website runs successfully.
But I wanted to get to the cause of the problem.
Looking forward for ANY reply.
I agree. Here's the link:
subject: Tomcat 6 xerces.jar issue
It's not a secret anymore!