Monday 24 January 2011

Oracle Apps R12 AutoConfig

Autoconfig is an Oracle Apps tool used to configure the application and database tiers.
Autoconfig maintains the environment specific values in an XML file called Oracle Application context file located under  $INST_TOP/appl/admin.
Autoconfig is run by executing a shell script called adautocfg.sh which in turn called another script called adconfig.sh under $AD_TOP/bin.
During the autoconfig process a new configuration files will be generated and replaces the old ones based on the context file and the template file. Template files generally located under $PROD_TOP/admin/template.

adautocfg.sh is located under:
For the database: $ORACLE_HOME/appsutil/scripts/$CONTEXT_NAME
For the application: $INST_TOP/admin/scripts or $ADMIN_SCRIPTS_HOME

We need to run the autoconfig when we instructed by oracle support or when we change an application configuration.  

The last thing to mention is that the autoconfig must be run while the Application tier is down.

1 comment:

Number of Visitors