Updating the Windows Engine JRE (GridServer 4.0-4.2)

Updating the Windows Engine JRE (GridServer 4.0-4.2)

book

Article ID: KB0087536

calendar_today

Updated On:

Products Versions
TIBCO DataSynapse GridServer -
Not Applicable -

Description

Resolution:
By default, the 1.4.2_03 JRE is used for Windows Engines. You can change what version of the JRE is used. For Windows, the JRE used resides on the Manager, and is updated on Engines, so you only need to change the JRE once on the Manager.

It is not necessary to re-install the Engines after adding the new JRE because they will update themselves automatically.

When downloading a new JRE from Sun, download the JDK package and use the JRE it contains, instead of the standalone JRE package.

One configuration mismatch can cause problems updating JREs. When engines are migrated from one primary director to another via the Engine Daemon Admin page, the daemon will compare the overridden director URL to the URL presented by the new director. In most cases, they will match, at which time the daemon will change a file (intranet.dat) that describes its default director from where it will download any updated JRE. If the URLs do not match, for instance if the overridden URL does not have the form http://hostname:port or if the overridden URL does not use FQDN whereas the director configuration does, the intranet.dat file will not be updated. To resolve this issue, make sure that all engine daemons are configured to use the "default" director or the exact same director URL on the Engine Daemon Admin page.

To change the JRE version:

   1. Open the JRE you wish to use into a temporary directory.
   2. Download the Java Cryptography Extension (JCE) from Sun at http://java.sun.com/j2se/1.4.2/download.html (at the bottom, under "Other Downloads"). This download contains the two files local_policy.jar and US_export_policy.jar which should be copied into the jre/lib/security directory.
   3. Create a ZIP file of the directory containing the JRE files and additional files.
   4. Replace the public_html/register/install/jre/jre.ZIP with the ZIP file of the JRE you created. Note: the file is case-sensitive, and ZIP must be uppercase. If you are using an alternate base directory, a read-only installation, or running multiple Managers on one machine, make sure to copy this file into the same location on each DS_BASEDIR directory.
   5. Open the file engineUpdate/Win32/jre.dat in your GridServer distribution with a text editor.
   6. Replace the 1.4.2_03 with the version number of the JRE you wish to use.

Issue/Introduction

Updating the Windows Engine JRE (GridServer 4.0-4.2)