SAP Knowledge Base Article - Preview

3556688 - Error: " Could not get the log end locator because: Native database connection failed with code <-1>" while executing replication through DB2 - SAP HANA Smart Data Integration

Symptom

  • Set up remote source through DB2LogReaderAdapter or DB2ECCAdapter with capture mode "LogReader"
  • Start realtime replication failed with error below.
    [WARN ] [***] DB2LogReaderAdapter | DB2LogReaderAdapter.cdcOpen [] - Adapter validation failed. com.sap.hana.dp.cdcadaptercommons.validation.ValidationException: [RemoteSource_Name]Failed to establish JDBC connection. Error: [jcc][4038][12241][4.23.42] T2LUW exception: SQL1013N  The database alias name or database name "***" could not be found.  SQLSTATE=42705 ERRORCODE=-1013, SQLSTATE=42705
    [ERROR] [***] DB2ECCAdapter | ExceptionUtil.newAdapterException [] - Failed to add the first subscription. Error: Could not find Resource Bundle containing index: Could not get the log end locator because: Native database connection failed with code <-1>. Failed to start Log Reader because of failure to initialize LogReader.
  • Database exists in DB2


" while executing replication through DB2 - SAP HANA Smart Data Integration"> Read more...

Environment

SAP HANA Smart Data Integration

Product

SAP HANA smart data integration 2.0

Keywords

DP agent, DB2, catalog, database , 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.