Symptom
DPAgent cannot establish a connection through the ABAPAdapter.
- DPAgent is connected to the HANA system
- Testing the ABAPAdapter connection throws error:
- Connection <connection name> couldn't be established.
- Data flows can't be used because of errors in the connection
- Data Flows: The user aborted a request
- Remote tables cant be used because of errors in the connection
- Remote tables: Unable to connect to source: com/sap/conn/jcoRuntimeFactory: cannot initialize class because prior initialization attempt failed, code: 5921, SQL state HY0000:
[ERROR] [*] DPFramework | WorkerThread.processRequest [] - com.sap.hana.dp.adapter.sdk.AdapterException: JCo initialization failed with java.lang.UnsatisfiedLinkError: C:\usr\sap\dataprovagent\configuration\org.eclipse.osgi\17\0\.cp\sapjco3.dll: Can't find dependent libraries Context: java.lang.ExceptionInInitializerError: JCo initialization failed with java.lang.UnsatisfiedLinkError: C:\usr\sap\dataprovagent\configuration\org.eclipse.osgi\17\0\.cp\sapjco3.dll: Can't find dependent libraries
at com.sap.conn.jco.rt.Middleware.<clinit>(Middleware.java:87)
at com.sap.conn.jco.rt.JCoRuntime.setMiddlewarePropertyValue(JCoRuntime.java:1726)
at com.sap.conn.jco.rt.DefaultJCoRuntime.initialize(DefaultJCoRuntime.java:94)
at com.sap.conn.jco.rt.JCoRuntimeFactory.<clinit>(JCoRuntimeFactory.java:23)
at com.sap.conn.jco.rt.RuntimeEnvironment.<init>(RuntimeEnvironment.java:44)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:456)
at com.sap.conn.jco.ext.Environment.getInstance(Environment.java:166)
at com.sap.conn.jco.ext.Environment.isDestinationDataProviderRegistered(Environment.java:334)
at com.sap.hana.dp.abapadapter.ABAPAdapter.open(ABAPAdapter.java:809)
at com.sap.hana.dp.adapter.sdk.decor...
[INFO ] [*] DPFramework | WorkerThread.processAdapterOpen [] - Open request for <Remote source name>
[ERROR] [*] DPFramework | WorkerThread.processRequest [] - com.sap.hana.dp.adapter.sdk.AdapterException: com/sap/conn/jco/rt/JCoRuntimeFactory : cannot initialize class because prior initialization attempt failed Context: java.lang.NoClassDefFoundError: com/sap/conn/jco/rt/JCoRuntimeFactory : cannot initialize class because prior initialization attempt failed
at com.sap.conn.jco.rt.RuntimeEnvironment.<init>(RuntimeEnvironment.java:44)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:456)
at com.sap.conn.jco.ext.Environment.getInstance(Environment.java:166)
at com.sap.conn.jco.ext.Environment.isDestinationDataProviderRegistered(Environment.java:334)
at com.sap.hana.dp.abapadapter.ABAPAdapter.open(ABAPAdapter.java:809)
at com.sap.hana.dp.adapter.sdk.decorator.AdapterCDCDelegate.open(AdapterCDCDelegate.java:263)
at com.sap.hana.dp.adapter.framework.core.WorkerThread.processAdapterOpen(WorkerThread.java:1856)
at com.sap.hana.dp.adapter.framework.core.WorkerThread.processRequest(WorkerThread.java:278)
at com.sap.hana.dp.adapter.framework.core.WorkerThread.run(WorkerThread.java:2143)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
Read more...
Environment
- SAP HANA Smart Data Integration
- DPAgent installed on Windows
Keywords
dpagent , KBA , HAN-DP-SDI , SAP HANA smart data integration (SDI) , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.