Overriding of Global Variables in TIBCO Administrator

Global variables defined in a project appear in TIBCO Administrator if they are configured to do so at design time.

Levels of Override

You can override global variable default values as follows:

Deployment Level
If the Deployment Settable check box is selected at design time in the Global Variable editor, you can override at the deployment level. Overrides set at the deployment level are used in all deployed engines.
Service Level (Same Scope as DeploymentLevel in TIBCO BusinessEvents)
If the Deployment Settable check box and the Service Settable check box are both checked at design time in the Global Variable editor, you can override at the service level or service instance level. However, overrides set at the service level are used for all engines because all services (all BARs, that is all PU definitions) are merged when deployed using TIBCO Administrator.
Engine Instance Level
If the Deployment Settable check box and the Service Settable check box are both selected at design time, you can override at the service instance level. Overrides set at the service instance level are used for the specific engine (PU instance) represented by that service instance.
Note: Caution: Overriding a global variable at the service or service instance level breaks the connection with higher level overrides for that global variable. By default, global variable overrides done at the application level are propagated to all lower level global variable settings at run time. However, when you override a global variable at the service level, TIBCO Administrator no longer propagates application-level overrides for that variable to the service or service instance levels at runtime. Similarly, if you override a global variable at the service instance level, any subsequent overrides you make to that global variable at the service level (or application level) are ignored at run time.

This behavior applies to overrides made using the appmanage utility as well as those made using the TIBCO Administrator UI.

Specifying Global Variable Groups

If global variables are defined in the TIBCO BusinessEvents project using groups, specify the group path using forward slashes. For example, if a variable JMSuri is located under a group called URIs, specify the variable as tibco.clientVar.URIs/JMSuri.

Enabling Service Settable Global Variables

Service settable global variables are only available if the Include All Service Level global variables check box in the Build Enterprise Archive dialog is selected.

Runtime Location of Global Variable Override Settings

The runtime location of override settings depends on the level at which the override was done:

  • Deployment level override
    are located in the following folder

    TRA_HOME/domain/domain_name/datafiles/application_name_root

    Service and service instance level overrides
    are located in the TRA file generated by TIBCO Administrator.