Friday, October 10, 2014

Re-Create Appsutil and sub directories for DB Tier


Problem

Appsutil directory or sub directories of appsutil are missing


Solution

Re-create the Appsutil  directory

Steps

 On the Application Tier (From Application binary owner)

1. Source the environment variables for Oracle Applications
. $APPL_TOP/APPS.env
2. Run AutoConfig on the APPL_TOP
. $ADMIN_SCRIPT_HOME/adautocfg.sh
3. Execute admkappsutil.pl utility to create the file appsutil.zip
perl $AD_TOP/bin/admkappsutil.pl
This will create appsutil.zip in $INST_TOP/admin/out

     
 On the Database Tier (From DB binary owner)

1. Source the environment variables for RDBMS ORACLE_HOME
. /$ORACLE_HOME/.env
2. Copy the created appsutil.zip file from $INST_TOP/admin/out to the <RDBMS ORACLE_HOME>

3. Uncompress appsutil.zip under the <RDBMS ORACLE_HOME>
cd $ORACLE_HOME
unzip -o appsutil.zip
4. Create Contextfile
cd $ORACLE_HOME/appsutil/bin
perl adbldxml.pl appsuser=apps
5. Create Script directory
cd $ORACLE_HOME/appsutil/bin
sh adconfig.sh contextfile=<contextfile path>
6. Run AutoConfig on the <RDBMS ORACLE_HOME>
sh $ORACLE_HOME/appsutil/scripts/<context_name>/adautocfg.sh

References :

Using AutoConfig to Manage System Configurations in Oracle E-Business Suite Release 12 (Doc ID 387859.1)

Cloning Oracle Applications Release 12 with Rapid Clone (Doc ID 406982.1)

No comments:

Post a Comment