Symptom
- The issue begins after a DPAgent restart.
- Error occurs when testing a remote source connection.
- Error message in framework.trc when restarting the agent:
[WARN] Activator | Activator.installAndStartJars - Failed to install <JDBC_driver>.jar as bundle.Could not create generation directory: /opt/sap/dataprovagent/configuration/org.eclipse.osgi/133/0 - Error message in framework.trc when testing the remote source:
[ERROR] DefaultErrorHandler | CamelLogger.log - Failed delivery for (MessageId: <ID> on ExchangeId: <ID>). Exhausted after delivery attempt: 1 caught: com.sap.hana.dp.adapter.sdk.AdapterException: Failed to query schemas.
com.sap.hana.dp.adapter.sdk.AdapterException: Failed to query schemas. Context: org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class '<JDBC_driver_class>' - Attempts to duplicate working connections result in new connections failing, while old ones continue to function despite identical configurations.
- The correct driver files are placed in <DPA_root>/camel/lib directory.
- The driver class parameter maintained in the remote source configuration is correct.
'" error after agent restart - SAP HANA Smart Data Integration"> Read more...
Environment
SAP HANA Smart Data Integration
Product
SAP HANA smart data integration 2.0
Keywords
driver class, DPAgent restart, driver loading issue, SAP HANA SDI, adapter configuration, clean DPAgent environment, cannot load JDBC driver class , 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.
SAP Knowledge Base Article - Preview