Skip to Content

SAX Transformation

Hi,

we are facing an exception at sax transform step when we execute the java mapping program in PI 7.3.1 dual stack.

Error caught in conversion javax.xml.transform.TransformerException: java.lang.ClassCastException: class com.sap.aii.ib.server.mapping.execution.jaxpfactories.MappingTransformerFactory:sap.com/com.sap.xi.repository@com.sap.engine.boot.loader.ResourceMultiParentClassLoader@728d7bb7@alive incompatible with class javax.xml.transform.sax.SAXTransformerFactory:null

The same mapping program when executed locally in NWDS, we are getting the excepted output but we are getting the exception when the mapping is executed in PI.

Kindly provide your valuable suggestions to fix the issue.

Thanks

Arshath

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Jun 04, 2015 at 04:09 AM

    Hi Arshath

    Can you share your mapping code?

    Rgds

    Eng Swee

    Add comment
    10|10000 characters needed characters exceeded

    • SAP PI works with JAXP as SAX library, FOP has own SAX library which is not compatible to JAXP.

      Remove the SAX parser library xml-apis from your project and from your imported archives and try if it is working then.

  • Jun 04, 2015 at 06:02 AM

    Hi Mohamed,

    The problem seems to be an incompatibility between the jar that includes javax.xml.transform.sax.SAXTransformerFactory and PI java vm, try to assure the jar has be compiled in the same java version than PI.

    Regards.

    Add comment
    10|10000 characters needed characters exceeded