SAP Knowledge Base Article - Preview

3347062 - Error: Cannot load JDBC driver class when creating the remote source for CamelJdbcAdapter

Symptom

  • Unable to create the remote source for CamelJdbcAdapter.
    • Error: SAP DBTech JDBC: [403]: internal error: Cannot get remote source objects: Could not get tables
  • Framework.trc contains the following error.
    •  [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. Context: org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class
                     at org.apache.commons.dbcp.BasicDataSource.createConnectionFactory(BasicDataSource.java:1429)
                     at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1371)
                     at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
                     at com.sap.hana.dp.camel.JdbcMetadataBrowser.browseSchemas(JdbcMetadataBrowser.java:65)
                     at com.sap.hana.dp.camel.JdbcMetadataBrowser.browseMetadata(JdbcMetadataBrowser.java:53)
                     at com.sap.hana.dp.camel.MetadataProducer.process(MetadataProducer.java:54)
                     at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
                     at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:148)
                     at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548)
                     at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201)
                     at org.apache.camel.processor.Pipeline.process(Pipeline.java:138)
                     at org.apache.camel.processor.Pipeline.process(Pipeline.java:101)
                     at org.apache.camel.processor.ChoiceProcessor.process(ChoiceProcessor.java:117)
                     at org.apache.camel.processor.RedeliveryErrorHandler.proce...
                     com.sap.hana.dp.adapter.sdk.AdapterException: Failed to query schemas. Context: org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class.


Read more...

Environment

SAP HANA Smart Data Integration

Product

SAP HANA smart data integration 2.0

Keywords

SDI, Azure, Databricks, com.databricks.client.jdbc.Driver , 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.