Saturday, March 22, 2008

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

Print this post

The Applications context file can be retrieved by running the adclonectx.pl script.

To retrieve the Applications tier context file,

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