Consultor Eletrônico



Kbase P125332: Cannot validate the ubroker.properties file in 10.1B
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/3/2008
Status: Verified

SYMPTOM(s):

Cannot validate the ubroker.properties file

[UBroker.AS.esbbroker1] does not validate in the ubroker.properties file

VALIDATION MESSAGE: The environment property <property name> is invalid. (8138)

VALIDATION MESSAGE: The environment property UBroker.AS.esbbroker1 is invalid. (8138)

[UBroker.AS.esbbroker1] contains environment=esbbroker1

FACT(s) (Environment):

OpenEdge 10.1B
All Supported Operating Systems
OpenEdge 10.1C1B

CAUSE:

There is no {Environment.<appserver>] section for the appserver with an invalid configuration, in this case the [UBroker.AS.esbbroker1] does not have a corresponding [Environment.esbbroker1] section.

FIX:

Add an " [Environment.esbbroker1] " section to the ubroker.properties file with the environment value "TESTENV=MYENV".
ie:
[Environment.esbbroker1]
TESTENV=MYENV

This may be done using the Progress utilities as follows:

1. run proenv
2. create a file esbbroker1.envfix with the following contents

[Environment.esbbroker1]
TESTENV=MYENV

3. Execute the mergeprop utility as follows from the $DLC/properties directory:

mergeprop -type ubroker -action update -delta <path>/esbbroker1.envfix

4. Verify changes

asconfig -name esbbroker1 -validate