Symptom
Cannot enable ABAPAdpater in Datasphere DP Agent configuration.
Below error may also be found in DP Agent log:
[ERROR] [] DPFramework | WorkerThread.processRequest [] - com.sap.hana.dp.adapter.sdk.AdapterException: Could not initialize class com.sap.hana.dp.abapadapter.ABAPAdapter Context: java.lang.NoClassDefFoundError: Could not initialize class com.sap.hana.dp.abapadapter.ABAPAdapter
at com.sap.hana.dp.abapadapter.ABAPAdapterFactory.createAdapterInstance(ABAPAdapterFactory.java:17)
at com.sap.hana.dp.adapter.framework.core.AdapterManager.createAdapterInstance(AdapterManager.java:817)
at com.sap.hana.dp.adapter.framework.core.AdapterManager.getAdapterIntance(AdapterManager.java:174)
at com.sap.hana.dp.adapter.framework.core.WorkerThread.processRequest(WorkerThread.java:231)
at com.sap.hana.dp.adapter.framework.core.WorkerThread.run(WorkerThread.java:2184)
at java.util.concurrent.ThreadPoolExecut...
Environment
SAP Datasphere
Reproducing the Issue
- Data Integration -> On-Premise Agents -> <DP_Agent>, edit it
- Select checkbox "ABAPAdapter", click "Close"
- The "ABAPAdapter" is not enabled.
Cause
Missing Visual Studio 2013 C/C++ runtime libraries on the DPAgent server.
Resolution
- Download vcredist_x64.exe (64-bit Visual Studio 2013 C/C++ runtime library from Microsoft) here: https://www.microsoft.com/en-us/download/details.aspx?id=40784
- Install it on your DP Agent server.
- Restart the DP Agent.
See Also
- KBA 3300688 - ABAPAdapter connection couldn't be established - JCoRuntimeFactory
- Register Adapters with SAP Datasphere | SAP Help Portal
Keywords
"java.lang.NoClassDefFoundError" "com.sap.hana.dp.abapadapter.ABAPAdapter" "com.sap.hana.dp.adapter.sdk.AdapterException" , KBA , DS-DI-CON , Connections , HAN-DP-SDI , SAP HANA smart data integration (SDI) , Problem