on 03-12-2010 2:41 AM
Hi Experts,
We are getting the Class linkage error for the Java mapping developed to verify the digital signature. It seems that itu2019s not able to find the KeyStoreManager Class but I checked the mention class is present in server. Please let me know your inputs to resolve the issue.
<<Trace level="1" type="T">LinkageError during appliction Java mapping com/xi/utils/DigitalJavaMapping</Trace>
<Trace level="1" type="T">java.lang.NoClassDefFoundError: com.sap.aii.security.lib.KeyStoreManager at com.xi.utils.DigitalJavaMapping.verify(DigitalJavaMapping.java:102) at com.xi.utils.DigitalJavaMapping.execute(DigitalJavaMapping.java:66) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:64) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:92) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:68) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0_0.processFunction(MappingServiceObjectImpl0_0.java:131) at sun.reflect.GeneratedMethodAccessor534.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:62) at java.lang.reflect.Method.invoke(Method.java:391) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy239.processFunction(Unknown Source) at sun.reflect.GeneratedMethodAccessor533.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:62) at java.lang.reflect.Method.invoke(Method.java:391) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.call(RFCDefaultRequestHandler.java:284) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:219) at com.sap.engine.services.rfcengine.RFCJCOServer$J2EEApplicationRunnable.run(RFCJCOServer.java:254) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(AccessController.java:219) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176) Caused by: java.lang.ClassNotFoundException: Class not found: com.sap.aii.security.lib.KeyStoreManager at com.sap.aii.ibrun.server.mapping.MappingLoader.findClass(MappingLoader.java:142) at java.lang.ClassLoader.loadClass(ClassLoader.java:627) at java.lang.ClassLoader.loadClass(ClassLoader.java:593) ... 24 more Caused by: com.sap.aii.ibrun.server.mapping.persist.ResourceNotFoundException: Unable to find resource com/sap/aii/security/lib/KeyStoreManager.class (urn:com:ptps:invoice:ts3982, 1980c240-9cea-11da-8c62-ce650ac15713, -1) at com.sap.aii.ibrun.server.mapping.persist.DBSwcvMappingPersistor.getInputStream(DBSwcvMappingPersistor.java:325) at com.sap.aii.ibrun.server.mapping.persist.DBSwcvMappingPersistor.readFile(DBSwcvMappingPersistor.java:203) at com.sap.aii.ibrun.server.mapping.persist.DBSwcvMappingPersistor.readClass(DBSwcvMappingPersistor.java:195) at com.sap.aii.ibrun.server.mapping.MappingLoader.findClass(MappingLoader.java:138) ... 26 more</Trace>
Thanks,
Alok
Hi Alok,
While compiling the DigitalJavaMapping class have you imported the jar file containing com.sap.aii.security.lib.KeyStoreManager?
Also check what version of jdk is used in your PI server, you need to compile the java mapping with the same version
Regards
Suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raj,
I am not able to format it properly, its coming in the same way. Could you please see the error starting from line 3.
Thanks,
Alok
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
format your question,its not in understandable format.
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.