Sunday, June 7, 2009

Customizing AutoConfig Part 2

Implementing AutoConfig Customizations


If you want to customize an existing AutoConfig template file,

Determine the AutoConfig template file you want to customize

Application AD_TOP/bin/adtmplreport.sh contextfile=CONTEXT_FILE target=configurationfile

Database RDBMS ORACLE_HOME/appsutil/bin/adtmplreport.sh contextfile=CONTEXT_FILE target=configurationfile

For example, if you want to customize

$INST_TOP/admin/install/afwebprf.sh

  • $AD_TOP/bin/adtmplreport.sh contextfile=$CONTEXT_FILE 
    target=$INST_TOP/admin/install/afwebprf.sh
The adtmplreport utility returns the name and location of the AutoConfig template file.

For above example
$FND_TOP/admin/template/afwebprf.sh

Create the custom template directory

Create a directory named "custom" at the location where the AutoConfig template file resides.

For example, if you want to customize FND_TOP/admin/template/afwebprf.sh, execute the following command as the applmgr user:

mkdir $FND_TOP/admin/template/custom

Copy the AutoConfig template file

Copy the AutoConfig template file to the custom template file.

Execute the following command as the applmgr user:

cp -i AutoConfig_template_file custom_template_file

Edit the custom template file

Edit the custom template file with a text editor

Verify your customizations

Execute the adchkcfg utility.

The adchkcfg utility generates a report with information about all files and profile options that will be changed during the next normal run of AutoConfig.

Verify that your customizations would be applied as expected in your next AutoConfig run.


adchkcfg.sh instantiates the templates into the following location:

On the application tier:
INST_TOP/admin/out/MMDDhhmm

On the database tier:
RDBMS_ORACLE_HOME/appsutil/out/CONTEXT_NAME/MMDDhhmm

Run AutoConfig

.....To be Continued

No comments:

Post a Comment