• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 301
  • Last Modified:

Error in applying XSL on XML in Websphere environment

We use Xalan and Xerces for XML transformation. When we run application in WebSphere environment we get following error. Application runs fine as a standalone app. It is only the problem in the Websphere environment. Has any one come across this problem?

org/apache/xalan/xpath/xdom/XercesLiaison, method: parse signature: (Lorg/xml/sax/InputSource&#59;)V) Incompatible object argument for method call]: java.lang.VerifyError: (class: org/apache/xalan/xpath/xdom/XercesLiaison, method: parse signature: (Lorg/xml/sax/InputSource;)V) Incompatible object argument for method call
      at java.lang.Class.forName1(Native Method)
      at java.lang.Class.forName(Class.java(Compiled Code))
      at org.apache.xalan.xslt.XSLTEngineImpl.<init>(XSLTEngineImpl.java:360)
      at org.apache.xalan.xslt.XSLTProcessorFactory.getProcessor(XSLTProcessorFactory.java:79)
0
akashpan1
Asked:
akashpan1
  • 2
1 Solution
 
rama_krishna580Commented:
Hi,

The web app classloader was loading classes from the system classloader (includes all the .jars specified in server.xml's classpath) instead of from WEB-INF/lib.

i hope it will do.

R.K
0
 
rama_krishna580Commented:
Hi,

1. Try a different version of xalan jar file that you are using.
2. What is ur WAS installed path,

There can be a problem because of there is any space in your classpath. just like "c:\\Program Files\IBM\...." (The space between 'Progam Files')...

R.K

0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now