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

Use of DocumentBuilderFactory in EP 5 SP6


I'm developping Java iViews on EP5. My iViews use a standard Java class to parse XML. The class is DocumentBuilder from the package javax.xml.parsers

When I try to instantiate this class using its instantiation method :


I get an error message :

javax.xml.parsers.FactoryConfigurationError: Provider com.inqmy.lib.jaxp.DocumentBuilderFactoryImpl not found

at javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown Source)

I took a look at the API for DocumentBuilderFactory and I learned that the instantiation can be done using another instantiation class by changing a system property "javax.xml.parsers.DocumentBuilderFactory".

When I deploy my par file on a EP5 SP6 environment, I get the error but not on EP5 SP5. If I print the value of the system property, I get com.inqmy.lib.jaxp.DocumentBuilderFactoryImpl as return. Under EP5 SP5, I get null value which means that the property is unset. For as far as I know, no system properties were changed since SP6 was installed.

I would like to know if the use of com.inqmy.lib.jaxp.DocumentBuilderFactoryImpl is standard since SP6, where can I find some doc about this class/package ? Should it be deployed on the J2EE engine ?

Thank you !

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Nov 26, 2004 at 05:10 PM

    I'm not quite sure, but I would try including it (the jar file containing com.inqmy.lib.jaxp.DocumentBuilderFactoryImpl)explicitly in your classpath.

    Add a comment
    10|10000 characters needed characters exceeded

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.