on 06-04-2015 4:49 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arshath
Can you share your mapping code?
Rgds
Eng Swee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Eng swee yeoh,
we are generating a PDF file from XML using fop jar. I have also uploaded all relevant jars into the imported archives. we are facing issue exactly in the below line.
TransformerFactory factory = TransformerFactory.newInstance();
Transformer transformer = factory.newTransformer(transformSource);
Thanks
Arshath
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.