How to configure the SAP Java Connector Library in TIBCO Data Virtualization on a Linux environment?

How to configure the SAP Java Connector Library in TIBCO Data Virtualization on a Linux environment?

book

Article ID: KB0074782

calendar_today

Updated On:

Products Versions
TIBCO Data Virtualization All supported versions,

Description

This article explains the process of configuring the SAP Java Connector to establish the SAP Adapter connectivity in TDV that is installed on Linux/Unix platforms.
 

Issue/Introduction

How to configure the SAP Java Connector Library in TIBCO Data Virtualization on a Linux environment?

Environment

Linux

Resolution

As a first step, SAP Java Connector Library (SAP JCo), version 3.0.9 needs to be installed on the same computer as TDV. SAP JCo is available through the SAP Service Marketplace at www.service.sap.com. You need to be a registered customer to download this library.Once logged in, navigate to SAP Java Connector > Tools & Services and download the JCo distribution for the platform running TDV, then refer to the below instructions to install SAP JCO:

To install SAP JCo on Linux and AIX :

  • Unzip the SAP JCo tgz file for your machine into a temporary directory.
  • Execute the command to create jre folder under <TDV_install_dir>/jdk:

         —./bin/jlink --module-path jmods --add-modules java.desktop --output ../jre
         —create a folder named as ext under <TDV_install_dir>\jre\lib

  • Copy sapjco3.jar to below location of <TDV_install_dir>/ where <TDV_install_dir> is the root directory of your TDV Server.
                -- <TDV_install_dir>/jre/lib/ext
                -- <TDV_install_dir>apps\dlm\app_ds_sap\lib       --For SAP adapter connectivity
                --  <TDV_install_dir>apps\dlm\app_ds_sapbw\lib   -- For SAP BW adapter connectivity
                --   <TDV_install_dir>apps\dlm\app_ds_sapbwbex\lib   -- For SAP BW Bex adapter connectivity
  • Copy libsapjco3.so into one of these directories:

                          —For Linux 32: <TDV_install_dir>/jre/lib/i386
                          —For Linux 64: <TDV_install_dir>/jre/lib/amd64
                          —For AIX 64: <TDV_install_dir>/jre/lib/ppc64

               ​ --​​ <TDV_install_dir>apps\dlm\app_ds_sap\lib       --For SAP adapter connectivity
                --  <TDV_install_dir>apps\dlm\app_ds_sapbw\lib   -- For SAP BW adapter connectivity
                --   <TDV_install_dir>apps\dlm\app_ds_sapbwbex\lib   -- For SAP BW Bex adapter connectivity

Note: Create the subfolders if they do not exist. In the Linux 64 platform for example, create the folder amd64 under <TDV_install_dir>/jre/lib if it does not exist.

  • (For Linux) Add a system LD_LIBRARY_PATH variable to point to the directory where you put your library files in the previous step.
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/TIBCO/TDV83_8300/jre/lib/amd64
  • (For AIX) Add a system LIBPATH variable to point to the directory where you put your library files in the previous step.
export LIBPATH=$LIBPATH:/opt/TIBCO/TDV83_8300/jre/lib/ppc64
  • Once, all the above instructions are completed, TDV services need to be to restarted prior to establish the SAP/SAP BW/SAP BW BEX adapter connectivity.