In R12.2 we have 2 file systems RUN and PATCH. Whenever we are making any changes in context file always make those in both RUN and PATCH context file to keep them in sync.
Below are the steps to execute autoconfig in R12.2 Environments
In below example I am making changes to forms trace directory.
Make sure:
1.Make sure your application services are down.
2.Database services and Listener should be up and running.
3.Identify the Context which needs to be modified.
4.In R12.2 make sure you run Autoconfig on both run and patch file.
5.Getting context file use below
Source Run File system
. EBSapps.env run
echo $CONTEXT_FILE ( This will give you full path with Context file name in run file system)
Source Patch File System
. EBSapps.env patch
echo $CONTEXT_FILE ( This will give you full path with Context file name in patch file system)
NOTE: Make the necessary parameter changes in Both the context files. But always ensure to take a copy of the respective context files(Run and Patch) before changing.
Connect to putty as applmgr.
Stop AP Tier
$ sh <ADMIN_SCRIPTS_HOME>/adstpall.sh apps/<pwd>
Run autoconfig
Source RUN file system
cd $ADMIN_SCRIPTS_HOME
./adautocfg.sh
Make sure it completes successfully.
Now make sure, required changes have taken place and start the service.
Start AP Tier
$ sh <ADMIN_SCRIPTS_HOME>/adstrtal.sh apps/<pwd>