Kbase P93205: How to set environment variables in ubroker.properties file?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  11/11/2008 |
|
Status: Verified
GOAL:
How to set environment variables in ubroker.properties file?
GOAL:
It is possible to set environment variables in ubroker.properties file ?
FACT(s) (Environment):
All Supported Operating Systems
Progress/OpenEdge Product Family
FIX:
A) Environment variables that apply to all unified brokers in the system can be set in the following section of the ubroker.properties file:
# Default Environment setting for all unified broker instances
#
[Environment]
TESTENV=MYENV
B) Environment variables that apply to a specific unified broker in the following section of the ubroker.properties file:
# Sample environment for Broker: asbroker1
#
[Environment.asbroker1]
TESTENV2=MYENV2
This is equivalient to setting environment variables in "Properties" section for each broker through Progress Explorer UI.
C) A specific unified broker can be set to use the environment of another broker
Example: sets asbroker2 to use environment defined for asbroker1:
# Sample AppServer broker definition
[Ubroker.AS.asbroker2]
appserviceNameList=asbroker1
..
environment=asbroker1
If editing the ubroker.properties file manually with a text editor, please exercise caution and ensure that AdminService is not running. It is advisable to backup the ubroker.properties before proceeding.