The environment variable CONTEXT_FILE will contain the correct path to the context file respectively for the apps and db tiers (when logged in as the db ower and apps owner respectively).
APPS
The command adconfig.sh should also exist on the respective user’s path. Run the adconfig.sh command. It will ask for the context file path and the password for the db APPS user.
DB
adconfig.sh is located at $ORACLE_HOME/appsutil/bin/adconfig.sh
It will also need the context file path and the APPS password
BACKOUT APPS CHANGES
restore script is located at $INST_TOP/admin/out/restore.sh





