permaculture playing cards*
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat 6 xerces.jar issue" Watch "Tomcat 6 xerces.jar issue" New topic
Author

Tomcat 6 xerces.jar issue

Aniruddha Jadhao
Greenhorn

Joined: May 10, 2006
Posts: 24
Hello,
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(J9VMInternals.java:59)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:120)
at com.quintus.wru.DisplayEntry.<init>(DisplayEntry.java:35)
at org.apache.jsp.public_.wru_jsp._jspService(wru_jsp.java:187)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:799)
.

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

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.
thanks
Aniruddha
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat 6 xerces.jar issue
 
Similar Threads
Hibernate code not working on Linux Server
SUN JDK 1.5 and IBM JDK 1.6 Compactibiltiy issue
file upload works on windows, doesn't on unix
Servlet.service() for servlet jsp threw exception
JasperException: Unable to load class for JSP From Tomcat