You are on page 1of 4

1. What are the basic components of AutoConfig?


Components Location Description

Applications On the application tier: An XML repository

Context <APPL_TOP>/admin (<Context_name>.xml) contains
information specific to that
On the database tier: Applications instance. Can be
<RDBMS ORACLE_HOME>/appsutil updated by running the Context
Do not manually update this

AutoConfig On the application tier: Include named tags which are

Template <PROD_TOP>/admin/template replaced with instance-specific
Files For example: information from the Applications
<AD_TOP>/admin/template Context. There is one template file
<FND_TOP>/admin/template for each configuration file.
For example:
On the database tier: apps_nt.conf
<RDBMS apps_ux.conf

AutoConfig On the application tier: Used by AutoConfig to list the

File Driver <PROD_TOP>/admin/driver AutoConfig Template Files, their
For example: destination locations, and the
<AD_TOP>/admin/driver/adtmpl.drv commands to be executed, for
<FND_TOP>/admin/driver/fndtmpl.dr example, the commands to update
v profile options. Every Product Top
contains its own AutoConfig File
On the database tier: Driver.

AutoConfig On the application tier: Provide a simplified

Scripts <AD_TOP>/bin interface to the AutoConfig APIs.
For example:
On the database tier: / adautocfg.cmd
<RDBMS / adconfig.cmd


2. What are the different AutoConfig scripts and what do they do?

The scripts are listed in the following table.

Note: .sh scripts are for UNIX users and .cmd scripts are for Windows
Scripts Location Description On the application tier: A wrapper script that calls

<COMMON_TOP>/admin/scripts/ adconfig.cmd. Instantiates template files
adautocfg.cmd <Context_name> with values specific to the instance (taken
from the Applications Context). Updates
On the database tier: configuration files and profile options.
scripts/ <Context_name> On the application tier: A wrapper script that calls In

<AD_TOP>/bin earlier versions of AutoConfig
adconfig.cmd used to call the
On the database tier: Java API to start AutoConfig.
ORACLE_HOME>/appsutil/bin/ On the application tier: A wrapper script that calls the Java API to
<AD_TOP>/bin start AutoConfig.

On the database tier:

ORACLE_HOME>/appsutil/bin On the application tier: Creates the Applications Context File.

<AD_TOP>/bin Before running this script, you need to
adbldxml.cmd source the environment.
On the database tier: On the application tier:
<RDBMS Source APPS<Context_name>.env (or
ORACLE_HOME>/appsutil/bin APPSORA.env if
APPS<Context_name>.env doesn't exist).
On the database tier:
Source <Context_name>.env On the application tier: Generates a report that highlights

<AD_TOP>/bin differences between the original config
adchkcfg.cmd files and AutoConfig-generated config files.
On the database tier: The report is named cfgcheck.html. It is
<RDBMS located under:

On the application tier:
ORACLE_HOME>/appsutil/bin <APPL_TOP>/admin/
On the database tier:
<RDBMS ORACLE_HOME>/appsutil/out/
Autoconfig as name suggests is automated configuration of Oracle Applications 11i. Well if this is configuring
oracle applications 11i question comes from where its getting configuration information. File from where
Autoconfig runs picks parameter to configure 11i , in Oracle's terminology is called Context File. Power of
configuring whole applications via this single file (One for Application Tier & other for Database Tier) makes
this file quite powerful. Rest all I discuss in terms of questions answers or FAQ format about Autoconfig.
What is Autoconfig in 11i ?
Autoconfig is method of configuring Oracle Applications . All the information required to configure Oracle Apps
11i is stored in file called as Context file. So there are two context file, one for Database Tier & Second for
Application Tier. Context file is repository for configuration stored in xml format. Its xml file and file name
format is <SID>_<HOSTNAME>.xml so if your machine name is machine1 & SID is VISION then context file
name will be VISION_machine1.xml
What are different Contexts w.r.t. Autoconfig in 11i ?
There are two context files, one for database tier called as Database Context second for Application tier
called as Application Context.
What is location of Contexts file in 11i ?
Database Context file is under Database $ORACLE_HOME/appsutil/<SID>_<HOSTNAME>.xml
Application Context file is under $APPL_TOP/admin/<SID>_<HOSTNAME>.xml

How to run Autoconfig in 11i ?

You will use script (on both Database & Application tier) which inturn will call , which further will You should not worry about later two scripts its for
information only. is script which you use to run autoconfig.
Where to check log files after autoconfig is executed ?
On database tier its under $ORACLE_HOME/appsutil/log/

On Application tier its under $APPL_TOP/admin/$CONTEXT_NAME/log/MMDDYYYY/adconfig.log


What if my Context file itself is corrupted, Can I create one ?
Yes you have utility called adbldxml to build xml file(Context File).
How to change some parameter in Context/xml file ?
If you are an expert then you can open xml file via any editor & change it but these days Oracle is
recommending to use Context Editor or if you are on OAM.H or higher then use OAM ( Oracle
Application Manager) to change context file.
To Check further other interesting questions on Autoconfig like customizations & parameters in
context file, Wait some time

1. Web configuration files located.

Ans) $APACHE_TOP/Apache/conf and $APACHE_TOP/Jserv/etc

2. location apps password is hardcoded.

A) $APACHE_TOP/modplsql/cfg

3. Jserv configuration files.
Ans) $APACHE_TOP/Jserv/etc (, jserv.conf,
Zone.propertis (session time out,)
4. Foms configurations:
Ans) $COMMON_TOP/html/bn (appsweb_$CONTEXT_FILE.cfg)
5. Parameeters will be in ($APPL_TOP/$CONTEXT_NAME.env)
[appsvis@ebs visappl]$ cat VIS_localhost.env |grep FORMS60_WEB

6. Report Review Agent. (FNDFS listener)


7. Apache logs: $APACHE_TOP/Apache/logs (error_log, error_log_pls)

8. Jserv logs: $APACHE_TOP/Jserv/logs, $APACHE_TOP/Jserv/logs/jvm