Skip to Content
author's profile photo Former Member
Former Member

Problem displaying XML data on Iview

I am trying to parse an xml document using DOM parser and display the data on an iview.The development environment I have is SAP PDK 5.0.6 and tomcat version 3.3.1. I am able to run the java class parsing the xml file as a standalone program on eclipse.

But when I try to invoke the same java class from the iview, it is throwing the following error

"<b>java.lang.ClassCastException: org.apache.crimson.jaxp.DocumentBuilderFactoryImpl</b>".

The iview gets displayed without any problem, but due to the error thrown, I can't get any data to be displayed on the JSP page. This error is thrown on tomcat server window.

I have declared TOMCAT_HOME as an environment variable and set the path. I would greatly appreciate any help to resolve this issue.



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Mar 23, 2004 at 05:18 PM


    I've just seen your question. If you havent solved it by now, I could give you one (lots of text...).


    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Seema,

      was in vacation...

      Yes, Frederik is right. If you use Eclipse, go the project properties (RMB on the project in the package explorer). Move to Service settings/general profile settings. Check the inqmy checkbox. So you can leave the inqmyxml.jar out of the project par file to keep it small. But for working in eclipse you need to mention it in the project properties "Java build path/libraries", otherwise the compiler wont find the imports at compile time.

      Unfortunately I can not tell you another place for the link. You should be able to access it as long as you are SAP staff member. It describes among other things in detail the development of different Java and XML issues in SAP environment, especially the compatibility of xml parser and EP versions, what fits, what doesnt, which workaround exist and so on. Even EP6 doesnt support J1.4, so additional work is needed to get it working.



Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.