Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 2 Using TIBCO ActiveMatrix Updater Tool for Java Runtime Environment (JRE) : Update Mode

Update Mode
The Update command updates the JRE for a given TIBCO_HOME and all the "TIBCO ActiveMatrix Administrator Instances" referencing it. Specify the JRE_HOME location. JRE is updated for the TIBCO_HOME, from which the tool is invoked.
When TIBCO ActiveMatrix 3.1.5 is upgraded to TIBCO ActiveMatrix 3.2.0 or 3.3.0, the tool is installed in both the $TIBCO_HOME/amx/3.1/ and the higher version directory (for example, $TIBCO_HOME/amx/3.3/). When you upgrade, you must run the utility from the directory of the higher version (for example, $TIBCO_HOME/amx/3.3/) and not the lower version (for example, $TIBCO_HOME/amx/3.1/).
The general syntax of the command is:
update -jreHome <path to JRE> -updateIni -dryRun
The -dryRun option only lists the files that will be updated. It does not modify any files. To modify the files, run the update command without the -dryRun option.
Example:
update -jreHome C:/test/amx3/PlatformSupport/jdk1.8.0_31/jre -updateIni
For Other Products
For other products (other than TIBCO ActiveMatrix Service Bus and TIBCO ActiveMatrix Service Grid), specify the include file that contains the list of .tra and .ini files that needs to be updated.
Example:
update -jreHome C:/test/amx3/PlatformSupport/jdk1.8.0_31/jre -includeFile C:/test/amx3/IncludeFile.txt -updateIni -dryRun
For more information on the include file, see Arguments of the Update Command.
Arguments of the Update Command
NOTE: Provide the JRE_HOME (and not the JDK_HOME) bundled inside the JDK. If you point to JDK_HOME, the path updated for tra/ini does not work for Runtime.
The path to the file containing the list of .tra or .ini files to be included in the update process.
Where a, b, c and d are the name of folders which gets created for products other than TIBCO ActiveMatrix.
The path to the file containing the list of .tra or .ini files to be excluded in the update process.
Where a, b, c and d are the name of folders which gets created for products other than TIBCO ActiveMatrix.
Example of Update Command for 3.1.5
update -jreHome C:/test/amx3/PlatformSupport/jdk1.8.0_31/jre/ -dryRun
The output of the command is as follows:
 
File 'TIBCO_HOME/amx/3.1/templates/rpflauncher_classpath_1.0.0.tra' will be modified: JRE.HOME in property [java.library] will be changed to C:/test/amx3/jdk1.8.0_31/jre/
 
File 'TIBCO_HOME/amx/3.1/templates/rpflauncher_classpath_1.0.0.tra' will be modified: JRE.HOME in property [tibco.env.PATH] will be changed to C:/test/amx3/jdk1.8.0_31/jre/
 
File 'TIBCO_HOME/amx/3.1/bin/nodeutil_classpath_3.1.5.tra' will be modified: JRE.HOME in property [java.library] will be changed to C:/test/amx3/jdk1.8.0_31/jre/
 
File 'TIBCO_HOME/amx/3.1/bin/nodeutil_classpath_3.1.5.tra' will be modified: JRE.HOME in property [tibco.env.PATH] will be changed to C:/test/amx3/jdk1.8.0_31/jre/
 
File 'TIBCO_HOME/amx/3.1/bin/nodeutil_classpath_3.1.5.tra' will be modified: JRE.HOME in property [tibco.env.LIBPATH] will be changed to C:/test/amx3/jdk1.8.0_31/jre/
 
File 'TIBCO_HOME/amx/3.1/bin/hpaclient_classpath_3.1.5.tra' will be modified: JRE.HOME in property [java.library] will be changed to C:/test/amx3/jdk1.8.0_31/jre/
 
File 'TIBCO_HOME/amx/3.1/bin/hpaclient_classpath_3.1.5.tra' will be modified: JRE.HOME in property [tibco.env.PATH] will be changed to C:/test/amx3/jdk1.8.0_31/jre/
 
File 'TIBCO_HOME/amx/3.1/bin/hpaclient_classpath_3.1.5.tra' will be modified: JRE.HOME in property [tibco.env.LIBPATH] will be changed to C:/test/amx3/jdk1.8.0_31/jre/
 
File 'TIBCO_HOME/tibcohost/3.1/scripts/node_classpath_3.1.5.tra' will be modified: JRE.HOME in property [java.library] will be changed to C:/test/amx3/jdk1.8.0_31/jre/
 
File 'TIBCO_HOME/tibcohost/3.1/scripts/node_classpath_3.1.5.tra' will be modified: JRE.HOME in property [tibco.env.PATH] will be changed to C:/test/amx3/jdk1.8.0_31/jre/
 
File 'TIBCO_HOME/tibcohost/3.1/scripts/node_classpath_3.1.5.tra' will be modified: JRE.HOME in property [tibco.env.LIBPATH] will be changed to C:/test/amx3/jdk1.8.0_31/jre/
 
File 'TIBCO_HOME/tibcohost/3.1/scripts/bootstraptcs_classpath_3.1.5.tra' will be modified: JRE.HOME in property [java.library] will be changed to C:/test/amx3/jdk1.8.0_31/jre/
 
File 'TIBCO_HOME/tibcohost/3.1/scripts/bootstraptcs_classpath_3.1.5.tra' will be modified: JRE.HOME in property [tibco.env.PATH] will be changed to C:/test/amx3/jdk1.8.0_31/jre/
 
File 'TIBCO_HOME/tibcohost/3.1/scripts/bootstraptcs_classpath_3.1.5.tra' will be modified: JRE.HOME in property [tibco.env.LIBPATH] will be changed to C:/test/amx3/jdk1.8.0_31/jre/
 
File 'TIBCO_HOME/tibcohost/3.1/scripts/tibcohost_classpath_3.1.5.tra' will be modified: JRE.HOME in property [java.library] will be changed to C:/test/amx3/jdk1.8.0_31/jre/
 
File 'TIBCO_HOME/tibcohost/3.1/scripts/tibcohost_classpath_3.1.5.tra' will be modified: JRE.HOME in property [tibco.env.PATH] will be changed to C:/test/amx3/jdk1.8.0_31/jre/
 
File 'TIBCO_HOME/tibcohost/3.1/scripts/rdacompiler_classpath_3.1.5.tra' will be modified: JRE.HOME in property [java.library] will be changed to C:/test/amx3/jdk1.8.0_31/jre/
 
File 'TIBCO_HOME/tibcohost/3.1/scripts/rdacompiler_classpath_3.1.5.tra' will be modified: JRE.HOME in property [tibco.env.PATH] will be changed to C:/test/amx3/jdk1.8.0_31/jre/
 
File 'TIBCO_HOME/tibcohost/3.1/scripts/rdacompiler_classpath_3.1.5.tra' will be modified: JRE.HOME in property [tibco.env.LIBPATH] will be changed to C:/test/amx3/jdk1.8.0_31/jre/
 

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved