Versions Compared

Key

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

Overview

The following steps will guide you to extract and install the Siemens Teamcenter library .jar files for use with Syndeia Cloud (SC). These jar files are required for Syndeia to communicate with Teamcenter using its SOA (Java) API.

Steps

  1. Collect Siemens Teamcenter library (*.jar) files: Follow the instructions here Using Syndeia with Teamcenter to collect all the jar files needed from the Teamcenter server in a local directory named lib_TC(you can skip “Configure Syndeia to connect with Teamcenter” section for now)in the child page Appendix G2a - Gather Teamcenter library (jar files) to prepare a libTC folder with all the *.jar files needed for Syndeia to connect with Teamcenter.

  2. Copy the Siemens Teamcenter libs: Copy the Siemens Teamcenter .jar files from the libTC folder (collected in previous step) to the new TC sub-directory under lib of the teamcenter-impl microservice on the SC server, ie:

    1. On Linux 🐧 ,

      1. Copy the .jar files to /opt/icx/syndeia-cloud-current/teamcenter-impl-3.6/lib/TC and ensure the user & group ownership of those files is set to syndeia-cloud:syndeia-cloud by running the below from a bash shell:

        Code Block
        languagebash
        SC_HOME=/opt/icx/syndeia-cloud-current/
        SC_snapshot_version=3.6 # update as needed if you are running a SP, ie:  SP1, ex: "3.6-SP1"
        sudo -u syndeia-cloud mkdir "${SC_HOME}"/teamcenter-impl-"${SC_snapshot_version}"/lib/TC
        sudo cp ~/lib_TC/*.jar "${SC_HOME}"/teamcenter-impl-"${SC_snapshot_version}"/lib/TC/.
        sudo chown syndeia-cloud:syndeia-cloud "${SC_HOME}"/teamcenter-impl-"${SC_snapshot_version}"/lib/TC/*.jar
    2. On Windows 🪟 ,

      1. Copy the .jar files to, ex: c:\cygwin64\opt\icx\syndeia-cloud-current\teamcenter-impl-3.6\lib\TC

  3. Restart the respective services, ie:

    1. On Linux 🐧 , sudo systemctl restart sc-tc

    2. On Windows 🪟 , use services.msc (Windows Services Manager) or from CMD.EXE run:

      Code Block
      languagejava
      sc.exe stop sc-tc
      sc.exe start sc-tc