I have a J2EE application with Struts frontend. I
I have successfully deployed and run without problem on SAP WebAS 6.40 (Slim Edition). However, when I tried to deploy and run the same application on the Java Edition that comes with EP, there is a "Provider com.sap.engine.lib.jaxp.DocumentBuilderFactoryImpl not found" error due to missing reference to the sapxmltoolkit library. I added the reference to the sapxmltoolkit library in my application and that resolves the error but my frontend still does not display correctly.
My application EAR already contains the Xerces parser library and I would like to stick to that but I saw that
system properties for javax.xml.parsers.DocumentBuilderFactory has been set to com.sap.engine.lib.jaxp.DocumentBuilderFactoryImpl.
How can I make my application use the xerces parser without hardcoding the use of xerces parser implementation in my code?