Updating SAP JCo Libraries

When updating sapjco3.jar and corresponding library from the SAP JCo libraries, you can replace the file using sapjcoupdate executable. This utility is used when you need to upgrade the older version of the SAP JCo libraries to the newer version post installation.

Prerequisites

  • Complete the SAP installation.
  • Ensure that sapjco3.jar file and corresponding library are present on your local machine.

Note:
  • Shutdown all TIBCO Business Studio and SAP plug-in applications
  • For AIX platform only, the below steps are required
    • Copy file xml.jar to the TIBCO_HOME/tibcojre64/1.8.0/lib folder if it does not exist.
    • When running the sapjcoupdate tool, the executable must be run as root.

Procedure

  1. Navigate to the bin folder where the plug-in is installed. For example, C:\tibco\bw\palettes\sap\version_number\bin
  2. On the command line enter the following commands
    • On Windows: sapjcoupdate.exe
    • On Linux or UNIX: ./sapjcoupdate
    • On Mac OS: ./sapjcoupdate
  3. On executing the command, the following message is displayed
    Please specify absolute path of the SAP JCo libraries:
  4. Specify the absolute path of the SAP JCo libraries folder where the sapjco3.jar and corresponding library files are present. For example, sapjco3.jar and corresponding library is present in, D:\Installer and then you populate the path.
    A BUILD SUCCESSFUL message appears, which indicates the SAP JCo libraries are updated successfully.
  5. If updating the SAP JCo libraries in a deployed environment, a further step is required so that the update is successful.
    1. Set the bw.appnode.clean.config.folder.on.startup property as true in the config.ini file of appnode.

What to do next

Note:
  • Restart TIBCO Business Studio and SAP Plug-in applications.
  • For AIX only, prior to starting the SAP Plug-in applications, remove the xml.jar file that was manually copied to the TIBCO_HOME/tibcojre64/lib folder.