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 SEPTEMBER 18, 2023

Applies to:

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


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"

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


wls:/offline> connect('<USERNAME>','<PASSWORD>','t3://localhost:7001')
Connecting to t3://localhost:7001 with userid <USERNAME> ...
Successfully connected to Admin Server "AdminServer" that belongs to 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

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
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


3. Confirm obj.conf, changes are removed.





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

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