Error in applying XSL on XML in Websphere environment

Posted on 2006-04-11
Last Modified: 2013-12-11
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( Code))
      at org.apache.xalan.xslt.XSLTEngineImpl.<init>(
      at org.apache.xalan.xslt.XSLTProcessorFactory.getProcessor(
Question by:akashpan1
    LVL 23

    Accepted Solution


    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.

    LVL 23

    Expert Comment


    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')...



    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    -Xmx and -Xms are the two JVM options often used to tune JVM heap size.   Here are some common mistakes made when using them:   Assume BigApp is a java class file for the below examples. 1.         Missing m, M, g or G at the end …
    Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now