SAP RFC Agent Preparations

SAP RFC Agent Preparations

This document contains the steps to set up the SAP JCo library's jar file in Platform and Execution Container. 

To be able to use the SAP RFC profile and processing agent:

  1. Extract the SAP JCo library binaries:

    tar xvfz sapjco3-<platform_version>.tgz
  2. Add the extracted file sapjco3.jar to the classpath for the jar files for the relevant EC and the Platform. In the example below, the SAP jar files are located in MZ_HOME/3pp. The configuration includes the jar files required to use any of the SAP CC agents, and the Platform database is Derby.

  3. Create a jni folder in the MZ_HOME directory in both the Platform and Execution Container. Place the libsapjco3.so file in both the MZ_HOME/jni directories.

  4. Add the MZ_HOME/jni directory as an additional library file along with MZ_HOME/common/lib/native using the following topo command.

    mzsh topo set topo://container:main1/val:common.java.library.path '${mz.home}"/common/lib/native:"${mz.home}"/jni"'