Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# 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 checkbox is selected at design time in the Global Variable editor, you can override it 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 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.
Caution: 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` checkbox 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
These are in the following folder.

TRA_HOME/domain/domain_name/datafiles/application_name_root

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

Did you find this helpful?

YesNo
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO BusinessEvents® Enterprise Edition

Copyright © 2004-2024. Cloud Software Group, Inc. All Rights Reserved.