How to run autoconfig using context file

In this post we will discuss how to run AutoConfig with a specific context file in Oracle E-Business Suite R12.AutoConfig is a tool that simplifies and standardizes configuration management tasks in an Oracle E-Business Suite. A fresh install of Release 12 includes AutoConfig as a standard and required configuration management tool.

  1. First of all, Specify the Context File:

When executing the adautocfg.sh script, you need to provide the full path to the context file you want to use as an argument.

$. /adautocfg.sh /data01/app/oracle/apps/inst/apps/PROD_apps/appl/admin/PROD_apps.xml

To know current context file, you may check it using echo $CONTEXT_FILE in application node.

$echo $CONTEXT_FILE

  1. Alternative Method (adconfig.sh):

If you prefer using adconfig.sh directly, specify the context file with the contextfile parameter:

$. /adconfig.sh contextfile=/data01/app/oracle/apps/inst/apps/PROD_db/appl/admin/PROD_apps.xml

Check Proposed Changes: Sometimes autoconfig makes changes unexpectedly. So before running AutoConfig, use adchkcfg.sh to review intended changes and identify potential issues. adchkcfg.sh is located in /bin on the application tier, and in /appsutil/bin on the database tier.

$./adchkcfg.sh contextfile=/data01/app/oracle/apps/inst/apps/PROD_db/appl/admin/PROD_apps.xml

Leave a Comment