Monday, August 5, 2019

Create appsutil and sub directories for DB Tier


Create appsutil and sub directories for DB Tier

Problem

appsutil subdirectories are missing



Solution

Re-create the Appsutil  directory


Steps


Application Tier

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

     

Database Tier

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

No comments: