Steps for creating a new version of JDK Grid Library on Silver Fabric broker

Steps for creating a new version of JDK Grid Library on Silver Fabric broker

book

Article ID: KB0082307

calendar_today

Updated On:

Products Versions
TIBCO Silver Fabric -

Description

Silver Fabric 5.6.x, 5.7.x and 5.8.x versions of the product ships with JDK Grid Libraries packaged out of the box for every platform (for example, Linux64, Win32, SolarisX86, etc). If you choose to use a different version of JRE and/or JDK than the ones shipped with the SF broker by default, you can do so by following the steps listed on this article.

Issue/Introduction

This article lists all the steps needed for creating a new version of JDK Grid Library on the Silver Fabric broker.

Resolution

Please follow the exact steps listed below for creating a new version of JDK Grid Library for the respective OS and bitness:-
  1. Create a temporary directory named jdk-<platform>-<jdkversion>-gridlib. For example, jdk-linux64-1.8.0.131-gridlib 
  2. Create a subdirectory named j2sdk inside the directory created in step 1. 
  3. Download the JDK installer for required platform from http://www.oracle.com/technetwork/java/javase/downloads/index.html . Archive versions can be downloaded from http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html. 
  4. Extract the downloaded JDK in the j2sdk folder created in step 2. 
  5. Create a grid-library.xml. Refer to the example under the section 'grid-library.xml format'  below for more details on this.
  6. Add the grid-library.xml file created in step 5 inside the directory created in step 1.
  7. Create an archive of the directory created in step1, named as jdk-<platform>-< jdkversion >-gridlib.tar.gz. For example, jdk-linux64-1.8.0.131-gridlib.tar.gz. Ensure that the grid-library.xml file is at the top level of the newly created archive.
  8. Upload the archive created in step 7 to Silver fabric broker at {SF_HOME}/webapps/livecluster/deploy/resources/gridlib
grid-library.xml format:
 
<?xml version="1.0" encoding="UTF-8"?>
<grid-library jre="true" os="<platform>">
    <grid-library-name>j2sdk-<platform></grid-library-name>
    <grid-library-version><jdkversion ></grid-library-version>
</grid-library>
 
Example grid-library.xml for reference,
 
<?xml version="1.0" encoding="UTF-8"?>
<grid-library jre="true" os="linux64">
    <grid-library-name>j2sdk-linux64</grid-library-name>
    <grid-library-version>1.8.0.131</grid-library-version>
</grid-library>

NOTE: If any of your existing component(s) needs to use this newly created JDK grid library, in addition to copying the file on the broker, please make sure you also manually change the JDK gridlibrary version on the respective components to point to the new version of the gridlibrary and publish the changes for it to take effect.