Table of Contents

Search

  1. Preface
  2. Part 1: PowerExchange CDC Introduction
  3. Part 2: PowerExchange CDC Components
  4. Part 3: PowerExchange CDC Data Sources
  5. Part 4: Change Data Extraction
  6. Part 5: Monitoring and Tuning
  7. Appendix A: DTL__CAPXTIMESTAMP Time Stamps

CDC Guide for Linux, UNIX, and Windows

CDC Guide for Linux, UNIX, and Windows

Configuring JDBC on Windows or Linux

Configuring JDBC on Windows or Linux

PowerExchange SAP HANA CDC requires JDBC access in addition to ODBC. PowerExchange installs the following files for the SAP HANA CDC:
  • log4j-api-2.17.1.jar
  • log4j-core-2.17.1.jar
  • PWXHANACDC.jar
SAP HANA CDC also requires the access to the JDBC client ngdbc.jar file. Use the following steps to give PowerExchange access to the JDBC client ngdbc..jar file:
  1. Copy the ngdbc.jar file to the jars subdirectory in the PowerExchange installation. By default, the installation directory also includes the .jar files installed with PowerExchange.
  2. By default, PowerExchange expects the ngdbc.jar file in the jars directory. If the file is named differently, either rename the file to ngdbc.jar or add a HANA_CLASSPATH statement in the dbmover.cfg file to point to all of the required .jar files. Use the separator appropriate for the environment between each file name. The following example shows the HANA_CLASSPATH statement on Windows:
    HANA_CLASSPATH="D:/pwx/installdirectory/jars/PWXHanaCDC.jar;D:/pwx/installdirectory/jars/log4j-api-2.17.1.jar;D:/pwx/installdirectory/jars/log4j-core-2.17.1.jar;D:/pwx/installdirectory/jars/ngdbc.jar"
    The following example shows the HANA_CLASSPATH statement on Linux:
    HANA_CLASSPATH="/dtl/installdirectory/jars/PWXHanaCDC.jar:/dtl/installdirectory/jars/log4j-api-2.17.1.jar:/dtl/installdirectory/jars/log4j-core-2.17.1.jar:/dtl/installdirectory/jars/ngdbc.jar"
PowerExchange looks first for dependent jar files in the HANA_CLASSPATH statement. If the HANA_CLASSPATH statement is not present, PowerExchange uses the path defined in the PWX_HOME environment variable. If you do not include the HANA_CLASSPATH statement or the PWX_HOME variable, PowerExchange uses a path relative to the location where you initiate the CDC process.

0 COMMENTS

We’d like to hear from you!