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


Chapter 8 Deploying With TIBCO Administrator : Overriding Global Variables in TIBCO Administrator

Overriding 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 checkbox is checked 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 checkbox and the Service Settable checkbox 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 checkbox and the Service Settable checkbox are both checked 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.
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 runtime.
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" checkbox in the Build Enterprise Archive dialog is checked
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 overrides  In the following folder
TRA_HOME/domain/domain_name/datafiles/application_name_root
Service and service instance level overrides  In the TRA file generated by TIBCO Administrator.
See Also
The procedure for setting and using global variables at design time is explained in Working with Global Variables in TIBCO BusinessEvents Developer’s Guide.
The procedure for overriding global variables is explained in Deploying a Project in a TIBCO Administrator Domain.

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