Monday, September 24, 2018

Steps to recover Applications context file if it is corrupted or deleted accidentally

Author – A.Kishore/Sachin http://appsdba.info 1

Steps to recover Applications context file if it is corrupted or deleted accidentally



If the Oracle Applications Context file is corrupted or deleted accidentally, then we need to follow the below steps to recover the Context file.

To retrieve the Applications tier context file.



Run the adclonectx.pl as shown below.

perl /clone/bin/adclonectx.pl retrieve


On being prompted 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.

The above command (adclonectx.pl can be used only when INST_TOP the is still intact. In case that has also been lost accidentally, the Applications tier context file may be retrieved as follows:

Execute the following command on the Database tier:

perl /appsutil/clone/bin/adclonectx.pl retrieve


On being prompted for the context file to be retrieved, select the option of retrieving the Applications tier context file that has been lost.

While confirming the location for the context file, set it to any existing directory with write permission.

Once the context file has been generated in the specified location, move it to the location specified for the context file in the context variable 's_contextfile'.

To retrieve the Database tier context file:



Execute the following command on the Database tier:

perl /appsutil/clone/bin/adclonectx.pl retrieve


On being prompted for the context file to be retrieved, select the Database tier context file and retrieve it to the default location specified by the script.

No comments:

Post a Comment

[ERROR]: The value of s_patch_service_name is not set correctly in atleast one of the context files.

[ERROR]: The value of s_patch_service_name is not set correctly in atleast one of the context files. I got the issue below wh...