Skip to Content
0

Error while executing Java Mapping in SAP PO 7.5

Nov 14, 2016 at 10:57 AM

449

avatar image

Hello Experts,

i'm facing an issue while executing Java mapping from Operation Mapping in SAP PO 7.5 single stack .

please find below log's and help me to resolve this issue .

com.sap.aii.ib.server.mapping.execution.MappingClassNotFoundException: META-INF/services/javax.xml.parsers.saxparserfactory at com.sap.aii.ib.server.mapping.execution.InternalMappingFinder.getInputStream(InternalMappingFinder.java:119) at com.sap.aii.ib.server.mapping.execution.InternalMappingFinder.readFile(InternalMappingFinder.java:62) at com.sap.aii.ib.server.mapping.execution.MappingLoader.findResources(MappingLoader.java:354) at java.lang.ClassLoader.getResources(ClassLoader.java:1246) at java.lang.ClassLoader.getResources(ClassLoader.java:1242) at java.util.ServiceLoader$LazyIterator.hasNextService(ServiceLoader.java:348) at java.util.ServiceLoader$LazyIterator.hasNext(ServiceLoader.java:393) at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:474) at javax.xml.parsers.FactoryFinder$1.run(FactoryFinder.java:293) at java.security.AccessController.doPrivileged(Native Method) at javax.xml.parsers.FactoryFinder.findServiceProvider(FactoryFinder.java:289) at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:267) at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:127)

com.sap.aii.ib.server.mapping.execution.MappingClassNotFoundException: META-INF/services/javax.xml.parsers.documentbuilderfactory at com.sap.aii.ib.server.mapping.execution.InternalMappingFinder.getInputStream(InternalMappingFinder.java:119) at com.sap.aii.ib.server.mapping.execution.InternalMappingFinder.readFile(InternalMappingFinder.java:62) at com.sap.aii.ib.server.mapping.execution.MappingLoader.findResources(MappingLoader.java:354) at java.lang.ClassLoader.getResources(ClassLoader.java:1246) at java.lang.ClassLoader.getResources(ClassLoader.java:1242) at java.util.ServiceLoader$LazyIterator.hasNextService(ServiceLoader.java:348) at java.util.ServiceLoader$LazyIterator.hasNext(ServiceLoader.java:393) at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:474) at javax.xml.parsers.FactoryFinder$1.run(FactoryFinder.java:293) at java.security.AccessController.doPrivileged(Native Method) at javax.xml.parsers.FactoryFinder.findServiceProvider(FactoryFinder.java:289) at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:267) at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:120) at com.contact.ezgo.SOAPLookupNodeChange1.getSessionIdFromSFDC(SOAPLookupNodeChange1.java:145) at com.contact.ezgo.SOAPLookupNodeChange1.execute(SOAPLookupNodeChange1.java:69) at com.contact.ezgo.SOAPLookupNodeChange1.transform(SOAPLookupNodeChange1.java:54) at com.sap.aii.ib.server.mapping.execution.JavaMapping.executeStep(JavaMapping.java:112) at com.sap.aii.ib.server.mapping.execution.Mapping.execute(Mapping.java:60) at com.sap.aii.ib.server.mapping.execution.SequenceMapping.executeStep(SequenceMapping.java:40) at com.sap.aii.ib.server.mapping.execution.Mapping.execute(Mapping.java:60) at com.sap.aii.ib.server.mapping.execution.MappingHandler.map(MappingHandler.java:87) at com.sap.aii.ib.server.mapping.execution.MappingHandler.map(MappingHandler.java:54) at com.sap.aii.ibrep.server.mapping.rt.MappingHandlerAdapter.run(MappingHandlerAdapter.java:139) at com.sap.aii.ibrep.server.mapping.exec.ExecuteIfMapCommand.execute(ExecuteIfMapCommand.java:33) at com.sap.aii.ib.server.mapping.exec.CommandManager.execute(CommandManager.java:43) at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:40) at com.sap.aii.ibrep.server.mapping.MapServiceBean.execute(MapServiceBean.java:40) at sun.reflect.GeneratedMethodAccessor1700.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:47) at

Apprichiate your help.

Regards,

Yugandhar.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

6 Answers

Manoj K Nov 15, 2016 at 11:54 AM
-1
Share
10 |10000 characters needed characters left characters exceeded
Raghuraman S Nov 14, 2016 at 11:20 AM
0

Hello,

Are you migrating the mappings from older to new?

Check whether all the libraries are imported.

Share
10 |10000 characters needed characters left characters exceeded
ANAMALAMUDI YUGANDHAR Nov 14, 2016 at 12:06 PM
0

Yes Raghu,

we are migrating from PI 7.1 to PO 7.5.

can you please tell me where to check this libraries in PO whether all are imported or not

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hello Ana,

If you migrate it should not be a problem.

How you moved the Java mappings using transports?

0
ANAMALAMUDI YUGANDHAR Nov 14, 2016 at 02:42 PM
0

Hi Raghu,

ESR objects (i.e. where Java code exist) has transported through .tpz file.

Regards,

Yugandhar.

Share
10 |10000 characters needed characters left characters exceeded
ANAMALAMUDI YUGANDHAR Nov 15, 2016 at 08:36 AM
0

Hello Experts,

Any heads up to close the Java Mapping issue.

com.sap.aii.ib.server.mapping.execution.MappingClassNotFoundException: META-INF/services/javax.xml.parsers.saxparserfactory

com.sap.aii.ib.server.mapping.execution.MappingClassNotFoundException: META-INF/services/javax.xml.parsers.documentbuilderfactory

Regards,

Yugandhar.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

one more try Ana.

Just try checking enable sap XML toolkit in operation mapping and check.

0
Evgeniy Kolmakov Nov 16, 2016 at 12:28 AM
0

Hi Anamalamudi!

You should also check if there are any external classes used in your java mapping and make sure that classes are accessible in your PO 7.5 environment.

Regards, Evgeniy.

Share
10 |10000 characters needed characters left characters exceeded