Is it possible to have a common global variable configuration file shared by all BW engines on the same machine?

Is it possible to have a common global variable configuration file shared by all BW engines on the same machine?

book

Article ID: KB0089031

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Resolution:
Description:
============

We would like to have a few common global variables and values used by all BW applications, placed in a common location.

Example:
GV name: mail_server
value: abc.mail.com

All BW applications should use the common ones if defined. If there is any change in value, we do not want to go to each BW to change and re-deploy.

Environment:
===========
TIBCO BusinessWorks : ALL


Resolution:
==========

Do the following: 

 Create a common GV configuration file, e.g. C:\gv.cfg, open the file and specify GV values as following.

*******
tibco.clientVar.mail_server abc.mail.com
tibco.clientVar.gv1 gv1 tibco.clientVar.Folder1/gv2 gv2
*******

 Open BW_HOME/bin/bwengine.tra, update the application.args variable as following

*******
application.args %APP_ARGS% -p C:/gv.cfg
*******

 Every newly deployment will have the same application.args value in its own application TRA file.

 Newly deployed applications to this particular BW engine will share the global variable configuration. That is, values in the configuration file (gv.cfg) will override the values defined in the application.

 At design time, specify the common global variables with default values. No additional configuration is needed.

 If the configuration file (gv.cfg) is updated, you will need to restart the BW engines but re-deploying is not required.

Issue/Introduction

Is it possible to have a common global variable configuration file shared by all BW engines on the same machine?