My Oracle Support Banner

Oracle Traffic Director - Changes in Obj.conf File Are Removed After Executing ACTIVATE() Through WLST (Doc ID 2339727.1)

Last updated on JULY 30, 2018

Applies to:

Oracle Traffic Director - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms

Changes in obj.conf file are removed after executing ACTIVATE() through WLST.

When editing the obj.conf file we face an issue as the following:

1. Change obj.conf such as adding the following

<If $uri =~ "^/favicon.ico">
NameTrans fn="set-variable" error="404"
</If>

2. Execute the following command from WLST,no error happened.

-----

wls:/offline> connect('weblogic','welcome1','t3://localhost:7001')
Connecting to t3://localhost:7001 with userid weblogic ...
Successfully connected to Admin Server "AdminServer" that belongs to domain
"otd_domain".

Warning: An insecure protocol was used to connect to the server.
To ensure on-the-wire security, the SSL port or Admin port should be used
instead.

wls:/otd_domain/serverConfig/> editCustom()
Location changed to edit custom tree. This is a writable tree with No root.
For more help, use help('editCustom')

wls:/otd_domain/editCustom/> startEdit()
Starting an edit session ...
Started edit session, be sure to save and activate your changes once you are
done.
wls:/otd_domain/editCustom/>
pullComponentChanges('otd_tdirector_config_machine1')
pull component otd_tdirector_config_machine1 changes on machine machine1:
edit OTD/tdirector_config/config/tdirector_config-obj.conf
wls:/otd_domain/editCustom/> enableOverwriteComponentChanges()
wls:/otd_domain/editCustom/> activate()
Activating all your changes, this may take a while ...
The edit lock associated with this edit session is released once the
activation is completed.
Activation completed
wls:/otd_domain/editCustom/>

-----

3. Confirm obj.conf, changes are removed.

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.