Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Extract the SAP JCo library binaries:

    Code Block
    tar xvfz sapjco3-<platform_version>.tgz


  2. Add the extracted file sapjco3.jar to the classpath for the jar files for the relevant EC/ECSA 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.

    Note
    titleNote!

    Ensure that you include existing paths, so that they are not overwritten.

    Code Block
    $ mzsh topo get topo://container:<container>/pico:<ec>/obj:config.classpath
    $ mzsh topo get topo://container:<container>/pico:platform/obj:config.classpath



    Info
    titleExample - Setting classpath

    EC (ec1):

    Code Block
    $ mzsh topo set topo://container:main1/pico:ec1/obj:config.classpath.jars '
    ["lib/picostart.jar",
    "3pp/common_message.jar",
    "3pp/common_util.jar",
    "3pp/core_chargingplan.jar",
    "3pp/core_chargingprocess.jar",
    "3pp/core_client.jar",
    "3pp/logging.jar",
    "3pp/sap.com~tc~logging~java.jar",
    "3pp/sapjco3.jar"]'

    Platform:

    Code Block
    $ mzsh topo set topo://container:main1/pico:platform/obj:config.classpath.jars '
    ["lib/derby.jar",
    "lib/picostart.jar",
    "lib/javassist.jar",
    "lib/codeserver.jar",
    "lib/codeserver_common.jar",
    "3pp/sapjco3.jar"]'



  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.

    Code Block
    mzsh topo set topo://cell:default/val:common.java.library.path '${mz.home}"/common/lib/native:"${mz.home}"/jni"'



Scroll ignore
scroll-viewportfalse
scroll-pdftrue
scroll-officefalse
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmlfalse


Next: