on 04-23-2014 3:46 PM
Hi Gurus,
I'm facing a weird problem:
This is my environment: PI 7.31;
All UDFs are save in the central SWCV: CentralLibrary.
All mappings with UDFs in PROD do not work, but in DEV and QA are OK.
The Error Log in Mapping is here:
javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: de/xyzcustomer/CentralLibrary/CL_StringConvert
…
at java.lang.ClassLoader.loadClass(ClassLoader.java:308) ... 52 more Caused by: com.sap.aii.ib.core.mapping.execution.ResourceNotFoundException: Unable to find resource de/ xyzcustomer/CentralLibrary/CL_StringConvert in the following software component versions: 26dd6550-707e-11e2-a09d-deb10ad76533, f0c662d0-6f7b-11e2-b498-deb10ad76533 at com.sap.aii.ib.server.mapping.execution.MappingFinderImpl.readClass(MappingFinderImpl.java:81) at com.sap.aii.ibrep.server.mapping.rt.ArchiveClassLoader.findClass(ArchiveClassLoader.java:92)
I’ve tried the following approaches:
Could anyone help me?!
Thanks a lot and regards
Christine
Hi Christine,
Have you tried restarting the system on OS level?
Regards,
Jannus Botha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jannus,
here is the part of NWA error-log, which is recorded at the same time when the mapping war executed:
........................................
Nachricht: LOGIN.OK
User: SLDUSER
IP Address: 10.10.10.85
Authentication Stack: sap.com/com.sap.lcr*sld
Authentication Stack Properties:
template = ticket
policy_domain = /sld
password_change_error_page = /ChangePasswordSLD
auth_method = basic
password_change_login_page = /ChangePasswordSLD
realm_name = SLD
Login Module Flag Initialize Login Commit Abort Details
1. com.sap.security.core.server.jaas.EvaluateTicketLoginModule SUFFICIENT ok false false
#1 ume.configuration.active = true
2. com.sap.engine.services.security.server.jaas.BasicPasswordLoginModule REQUISITE ok true true
3. com.sap.security.core.server.jaas.CreateTicketLoginModule OPTIONAL ok true true
Central Checks true
Logon policies are disabled
Ganze Nachricht ausblenden
Gewichtung: Info
Datum: 2014-04-25
Uhrzeit: 13:25:55:625
Kategorie: /System/Security/Authentication
Ort: com.sap.engine.services.security.authentication.logincontext.table
Anwendung: sap.com/com.sap.lcr
Thread: Thread[HTTP Worker [@126430168],5,Dedicated_Application_Thread]
Datenquelle: j2ee\cluster\server1\log\system\security_01.log
Argumente:
ID der Passport-Benutzeraktivität: 5effa3a2bbd911e3a7a50000003ba1d2
Nachrichten-ID:
Sitzung: 12049
Transaktion:
Benutzer: SLDUSER
Zeitzone: +0200
Kundennachrichtenkomponente: BC-JAS-SEC
Laufzeitkomponente: security
Korrelations-ID: 1047251000000004
Passport-Sitzung: 5EFFA3A2BBD911E3A7A50000003BA1D2
Passport-Verbindung: 5DF796ECCC6C11E3B6880000003BA1D2
Passport-Verbindungszähler: 1
Protokoll-ID: C0000A0A0A4E36200000000000001834
Host: sapp03
System: P03
Instanz: DVEBMGS00
Knoten: server1
..............
it seems nothing with mapping to do, doesn't it?
Regards
Chirstine
Hi Jannus,
i tested this scenario once more and monitored it with xpi_inspector.
In the runtime there is no mapping error.
But in Enterprise Services Builder, I test the mapping in test module, i get this NoClassDelFounderror.
The whole error-log is as below:
javax.ejb.EJBException: nested exception is: java.lang.RuntimeException:
java.lang.NoClassDefFoundError: de/xyzcustomer/CentralLibrary/CL_StringConvert
java.lang.RuntimeException: java.lang.NoClassDefFoundError:
de/xyzcustomer/CentralLibrary/CL_StringConvert at
com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal
(RequestInvocationContext.java:99) at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed
(AbstractInvocationContext.java:166) at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke
(Interceptors_StatesTransition.java:19) at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed
(AbstractInvocationContext.java:179) at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke
(Interceptors_Resource.java:50) at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed
(AbstractInvocationContext.java:179) at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute
(Interceptors_Transaction.java:37) at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke
(Interceptors_Transaction.java:21) at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed
(AbstractInvocationContext.java:179) at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_MethodRetry.invoke
(Interceptors_MethodRetry.java:46) at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed
(AbstractInvocationContext.java:179) at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed
(AbstractInvocationContext.java:191) at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke
(Interceptors_StatelessInstanceGetter.java:23) at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed
(AbstractInvocationContext.java:179) at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke
(Interceptors_SecurityCheck.java:25) at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed
(AbstractInvocationContext.java:179) at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke
(Interceptors_ExceptionTracer.java:17) at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed
(AbstractInvocationContext.java:179) at
com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain
(DefaultInvocationChainsManager.java:138) at
com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke
(DefaultEJBProxyInvocationHandler.java:164) at $Proxy787.execute(Unknown Source) at
sun.reflect.GeneratedMethodAccessor1723.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at
java.lang.reflect.Method.invoke(Method.java:597) at
com.sap.engine.services.rmi_p4.P4DynamicSkeleton.dispatch(P4DynamicSkeleton.java:240) at
com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:466) at
com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:69) at
com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:72) at
com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:43) at
com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest
(FCAConnectorImpl.java:999) at com.sap.engine.services.rmi_p4.P4Message.process
(P4Message.java:59) at com.sap.engine.services.cross.fca.MessageReader.run
(MessageReader.java:55) at com.sap.engine.core.thread.execution.Executable.run
(Executable.java:122) at com.sap.engine.core.thread.execution.Executable.run
(Executable.java:101) at com.sap.engine.core.thread.execution.CentralExecutor
$SingleThread.run(CentralExecutor.java:328) Caused by: java.lang.NoClassDefFoundError:
de/xyzcustomer/CentralLibrary/CL_StringConvert at
com.sap.xi.tf._MM_MT_RequirementPhotoCopy_to_MT_InvoicePhotoCopy_$MT$InnerLibsList.<init>
(_MM_MT_RequirementPhotoCopy_to_MT_InvoicePhotoCopy_.java:88) at
com.sap.xi.tf._MM_MT_RequirementPhotoCopy_to_MT_InvoicePhotoCopy_$MT$InnerLibsList.<init>
(_MM_MT_RequirementPhotoCopy_to_MT_InvoicePhotoCopy_.java:87) at
com.sap.xi.tf._MM_MT_RequirementPhotoCopy_to_MT_InvoicePhotoCopy_.<init>
(_MM_MT_RequirementPhotoCopy_to_MT_InvoicePhotoCopy_.java:19) at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at
sun.reflect.NativeConstructorAccessorImpl.newInstance
(NativeConstructorAccessorImpl.java:39) at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance
(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance
(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at
java.lang.Class.newInstance(Class.java:308) at
com.sap.aii.ibrep.server.mapping.exec.ExecuteXiMappingCommand.transformInternal
(ExecuteXiMappingCommand.java:180) at
com.sap.aii.ibrep.server.mapping.exec.ExecuteXiMappingCommand.execute
(ExecuteXiMappingCommand.java:95) 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.GeneratedMethodAccessor1724.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at
java.lang.reflect.Method.invoke(Method.java:597) at
com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal
(RequestInvocationContext.java:47) ... 34 more Caused by: java.lang.ClassNotFoundException:
Class de.xyzcustomer.CentralLibrary.CL_StringConvert not found at
com.sap.aii.ibrep.server.mapping.rt.ArchiveClassLoader.findClass
(ArchiveClassLoader.java:110) at java.lang.ClassLoader.loadClass(ClassLoader.java:367) at
java.lang.ClassLoader.loadClass(ClassLoader.java:308) ... 52 more Caused by:
com.sap.aii.ib.core.mapping.execution.ResourceNotFoundException: Unable to find resource
de/xyzcustomer/CentralLibrary/CL_StringConvert.class in the following software component
versions: 26dd6550-707e-11e2-a09d-deb10ad76533, f0c662d0-6f7b-11e2-b498-deb10ad76533 at
com.sap.aii.ib.server.mapping.execution.MappingFinderImpl.readClass
(MappingFinderImpl.java:81) at
com.sap.aii.ibrep.server.mapping.rt.ArchiveClassLoader.findClass
(ArchiveClassLoader.java:92) ... 54 more javax.ejb.EJBException: nested exception is:
java.lang.RuntimeException: java.lang.NoClassDefFoundError:
de/xyzcustomer/CentralLibrary/CL_StringConvert at
com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal
(RequestInvocationContext.java:99) at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed
(AbstractInvocationContext.java:166) at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke
(Interceptors_StatesTransition.java:19) at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed
(AbstractInvocationContext.java:179) at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke
(Interceptors_Resource.java:50) at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed
(AbstractInvocationContext.java:179) at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute
(Interceptors_Transaction.java:37) at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke
(Interceptors_Transaction.java:21) at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed
(AbstractInvocationContext.java:179) at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_MethodRetry.invoke
(Interceptors_MethodRetry.java:46) at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed
(AbstractInvocationContext.java:179) at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed
(AbstractInvocationContext.java:191) at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke
(Interceptors_StatelessInstanceGetter.java:23) at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed
(AbstractInvocationContext.java:179) at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke
(Interceptors_SecurityCheck.java:25) at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed
(AbstractInvocationContext.java:179) at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke
(Interceptors_ExceptionTracer.java:17) at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed
(AbstractInvocationContext.java:179) at
com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain
(DefaultInvocationChainsManager.java:138) at
com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke
(DefaultEJBProxyInvocationHandler.java:164) at $Proxy787.execute(Unknown Source) at
sun.reflect.GeneratedMethodAccessor1723.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at
java.lang.reflect.Method.invoke(Method.java:597) at
com.sap.engine.services.rmi_p4.P4DynamicSkeleton.dispatch(P4DynamicSkeleton.java:240) at
com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:466) at
com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:69) at
com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:72) at
com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:43) at
com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest
(FCAConnectorImpl.java:999) at com.sap.engine.services.rmi_p4.P4Message.process
(P4Message.java:59) at com.sap.engine.services.cross.fca.MessageReader.run
(MessageReader.java:55) at com.sap.engine.core.thread.execution.Executable.run
(Executable.java:122) at com.sap.engine.core.thread.execution.Executable.run
(Executable.java:101) at com.sap.engine.core.thread.execution.CentralExecutor
$SingleThread.run(CentralExecutor.java:328) Caused by: java.lang.RuntimeException:
java.lang.NoClassDefFoundError: de/xyzcustomer/CentralLibrary/CL_StringConvert ... 35 more
Caused by: java.lang.NoClassDefFoundError: de/xyzcustomer/CentralLibrary/CL_StringConvert
at com.sap.xi.tf._MM_MT_RequirementPhotoCopy_to_MT_InvoicePhotoCopy_$MT
$InnerLibsList.<init>(_MM_MT_RequirementPhotoCopy_to_MT_InvoicePhotoCopy_.java:88) at
com.sap.xi.tf._MM_MT_RequirementPhotoCopy_to_MT_InvoicePhotoCopy_$MT$InnerLibsList.<init>
(_MM_MT_RequirementPhotoCopy_to_MT_InvoicePhotoCopy_.java:87) at
com.sap.xi.tf._MM_MT_RequirementPhotoCopy_to_MT_InvoicePhotoCopy_.<init>
(_MM_MT_RequirementPhotoCopy_to_MT_InvoicePhotoCopy_.java:19) at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at
sun.reflect.NativeConstructorAccessorImpl.newInstance
(NativeConstructorAccessorImpl.java:39) at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance
(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance
(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at
java.lang.Class.newInstance(Class.java:308) at
com.sap.aii.ibrep.server.mapping.exec.ExecuteXiMappingCommand.transformInternal
(ExecuteXiMappingCommand.java:180) at
com.sap.aii.ibrep.server.mapping.exec.ExecuteXiMappingCommand.execute
(ExecuteXiMappingCommand.java:95) 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.GeneratedMethodAccessor1724.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at
java.lang.reflect.Method.invoke(Method.java:597) at
com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal
(RequestInvocationContext.java:47) ... 34 more Caused by: java.lang.ClassNotFoundException:
Class de.xyzcustomer.CentralLibrary.CL_StringConvert not found at
com.sap.aii.ibrep.server.mapping.rt.ArchiveClassLoader.findClass
(ArchiveClassLoader.java:110) at java.lang.ClassLoader.loadClass(ClassLoader.java:367) at
java.lang.ClassLoader.loadClass(ClassLoader.java:308) ... 52 more Caused by:
com.sap.aii.ib.core.mapping.execution.ResourceNotFoundException: Unable to find resource
de/xyzcustomer/CentralLibrary/CL_StringConvert.class in the following software component
versions: 26dd6550-707e-11e2-a09d-deb10ad76533, f0c662d0-6f7b-11e2-b498-deb10ad76533 at
com.sap.aii.ib.server.mapping.execution.MappingFinderImpl.readClass
(MappingFinderImpl.java:81) at
com.sap.aii.ibrep.server.mapping.rt.ArchiveClassLoader.findClass
(ArchiveClassLoader.java:92) ... 54 more See error logs for details
HI Christine,
it seems you are passing a value that cannot be converted.
1. take the payload from montor.
2. paste the XML in your mapping.
3. Test it again.
also can you please tell me if your data types fields are all string? If not please change them to string for a test and activate.
let me know.
REgards
Hi Christine
One more point that can be checked if not checked already -
Can you please check if you have any entries in problems tab of Cache overview page in ID.
If yes , then those entries need to be corrected manually . You can make the SWCV editable by selecting objects are modifiable and then save and activate the objects. Alternately as suggested above swcv need to be reactivate that will update the objects under it .
We had similar issue where xslt and java class objects were in error and we activated objects manually and did a resend of failed messages .
Regards
Srinivas
Hi Christine,
Since, From PI7.31 system onwards changes to SWCV doesn't require an activation and hence you can perform the following activity in your production system.
Open the SWCV, and then within SWCV window menu Tools --> Update SLD information and then save. No activation required
And then restart all failed messages in PROD system which are failing due to ResourceNotFound exception
Regards,
Praveen Gujjeti
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Christine,
Please check if you are maintaining the SWCV dependency in DEV and QA, and this are present in Prod.
SWCV dependency can be at SLD or ESR level.
regards,
Harish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Christine - Is your Software component version ID is same across Dev,QA and Prod?
Open SWCV and check for the ID..
if it is same, then just do a dummy change by changing the description in prod system and see if that works..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.