adclonectx.pl script running automatically while we are running adcfgclone.pl when we are doing cloning using rapid clone utility.
This perl script is use to retrieve the Application Context File is Currupted/Deleted.
The Applications & Database Context Files are retrieved by running the adclonectx.pl script
To Retrieve the Applications Tier Context File (R12):
1.Exceute the following script
Perl /clone/bin/adclonectx.pl retrieve
2. On being promted for the context file to be retrieved, select the option of retrieving the applications Tier context file that has been lost and retrieve it to the default location specified by the script.
This is procedure will be useful when INST_TOP is still available. If accidentally it was also loss then the application context file retrieval is as follows:
1. Execute the below script in the Database Tier
Perl /appsutil/clone/bin/adclonectx.pl retrieve
2. On being prompted for the context file to be retrieved, select the option of retrieving the applications tier context file that has been lost.
3. While confirming the location of the context file, set it to any existing directory with write permissions.
4. Once the context file has been generated in the specified location, move it to the specified location for the context file in the context variable ‘s_contextfile’.
To Retrieve the Database Tier Context File:
1. Execute the below script in the Database Tier
Perl /appsutil/clone/bin/adclonectx.pl retrieve
2. On being prompted for the context file to be retrieved, select the option of retrieving the database tier context file that has been lost and retrieve it to the default location specified by the script .
