Kbase P159859: Environment variables are retained even after the broker is deleted from ubroker.properties file usi
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  2/17/2010 |
|
Status: Unverified
SYMPTOM(s):
Environment variables are retained even after the broker is deleted from ubroker.properties file using Progress / OpenEdge Explorer
Environment variables are retained in the ubroker.properties file when a broker is deleted.
Steps to duplicate issue:
1. Connect to AdminServer using Progress Explorer or OpenEdge Explorer.
2. Create an asbroker2 on port 3092
3. Add an environment variable called TEPE and value TEPE.
4. Delete the asbroker2 via Progress Explorer, the asbroker2.
5. Viewing the ubroker.properties file after the change confirms that the AppServer Broker was removed from the ubroker.properties file. The environment variable associated with the asbroker2 still remains in the ubroker.properties file. Even after the AdminServer is stopped and restarted.
Example:
[Environment.asbroker2]
TEPE=TEPE
FACT(s) (Environment):
All Supported Operating Systems
Products / Versions
OpenEdge 10.x
CAUSE:
Bug# OE00195256
CAUSE:
This is expected behavior. An environment group in the ubroker.properties file can be shared by multiple server definitions. This is done by setting the environment key to the name of the environment group.
The AdminServer and Progress Explorer use the environment specified by the environment key. OpenEdge Explorer does not show the list of variables, but rather the name of the environment group. A defect OE00195313 was generated to record the inconsistency amongst the tools.
Users can use a shared environment group with multiple server definitions. This functionality also allows users to switch the environment used by a server to a different set of variables simply by changing the value in the environment key.
Progress Explorer and OpenEdge Explorer cannot remove an environment group because even when all the servers using it are removed, there is still the chance that a user could just add a new server to use the shared environment group.
The environment variables remaining after an AppServer Broker is deleted will not negatively impact any existing or newly created Brokers.
Defect OE00195256 was generated to have our documentation updated to include information regarding the sharing of environment groups in the ubroker.properties file.
FIX:
If you are not making use of shared environment groups and you want to remove these environment variables, you will need to do so manually. This can be done manually by editing the ubroker.properties file and deleting the appropriate Environment.brokername entry.
%DLC%\properties\ubroker.properties (Windows platforms)
$DLC/properties/ubroker.properties (UNIX platforms)
Caution should be exercised when modifying the ubroker.properties file to ensure that the ubroker.properties file is not corrupted when manually editing it. Prior to modifying the ubroker.properties file, you may want to take a copy of the file just in case the files becomes corrupt when being manually modified.