Apply the latest AutoConfig Template patch in 11i

NOTE: The following steps are specific for Oracle Linux, and EBS 11.5.10.2.

1. Source the Applications environment
In my case: . /APPS_MI/visappl/APPSVIS_apps.env

2. From the location where this patch was unzipped, change directory to fnd/patch/115/bin
[applmgr@apps 5985992]$ pwd
/home/applmgr/Desktop/PATCHES/5985992
[applmgr@apps 5985992]$ cd fnd/patch/115/bin
[applmgr@apps bin]$ pwd
/home/applmgr/Desktop/PATCHES/5985992/fnd/patch/115/bin

3. Run the Validation script
./txkprepatchcheck.pl -script=ValidateRollup -outfile=$APPLTMP/txkValidateRollup.html -appspass=apps

4. Review the report generated by the validation script
Review /APPS_MI/viscomn/temp/txkValidateRollup.html to see if there is any steps to be done before before applying TXK (FND & ADX) AUTOCONFIG ROLLUP PATCH Q(5985992). In my case nothing is to be done.

5. Apply TXK (FND & ADX) AUTOCONFIG ROLLUP PATCH Q(5985992)
The patch 5985992 contains the following driver file to be applied with AutoPatch: u5985992.drv.This patch must be applied to all application tier server nodes (Forms, Web, Concurrent Processing, Admin).

6. Update the RDBMS ORACLE_HOME file system with the AutoConfig files
On the Application Tier (as the APPLMGR user)
- Source the environment file.
In my case: . /APPS_MI/visappl/APPSVIS_apps.env
- Create the appsutil.zip file in $APPL_TOP/admin/out
$ADPERLPRG $AD_TOP/bin/admkappsutil.pl
On the Database Tier (as the ORACLE user)
- Copy or FTP the appsutil.zip file to the <RDBMS ORACLE_HOME>
- cd <RDBMS ORACLE_HOME>
Source database tier
cd $ORACLE_HOME
- unzip -o appsutil.zip
- Run AutoConfig:
<RDBMS_ORACLE_HOME>/appsutil/scripts/<CONTEXT_NAME>/adautocfg.sh
$ORACLE_HOME/appsutil/scripts/VIS_db/adautocfg.sh

7. Remove the log file sec_audit.log from the following location if it exists: [iAS_ORACLE_HOME]/Apache/Apache/logs/
cd $IAS_ORACLE_HOME/Apache/Apache/logs
rm sec_audit.log
After this, restart the application server processes.