Upgrade EBS R12.1.1 to R12.1.3 

This post will cover the steps to upgrade EBS 12.1.1 to 12.1.3


I have already installed EBS 12.1.1  on Linux x86-64 bit platform.

DB version : 11.1.0.7.0

EBS: 12.1.1


Patches to be applied

9239089- R12.AD.B.DELTA.3
9239090- Oracle E-Business Suite Release 12.1.3
9239095- Consolidated online help

Post-Applying above patches

9817770- POST-R12.ATG_PF.B.DELTA.3 CONSOLIDATED PATCH
9966055- TRANSLATED VERSION OF FNDSCSGN NOT LAUNCHED

Start the steps:

1) Put Application in Maintenance mode using adadmin
 
2) Download 12415211 and unzip.
Then perform the below steps for Oracle Linux 6

cd <12.1_INSTALL_DIR>/apps/tech_st/10.1.2/lib
cp -p -R stubs stubsORIG
cd stubs
cp <PATCH_INSTALL_DIR>/12415211/files/lib/stubs/libgcc_s-2.3.2-stub.so .
ln -s libgcc_s-2.3.2-stub.so libgcc_s.so.1
ln -s libgcc_s.so.1 libgcc_s.so

The instructions for the 10.1.3 Oracle Home are:

cd <12.1_INSTALL_DIR>/apps/tech_st/10.1.3/lib
cp -p -R stubs stubsORIG
cd stubs
cp <PATCH_INSTALL_DIR>/12415211/files/lib/stubs/libgcc_s-2.3.2-stub.so .
ln -s libgcc_s-2.3.2-stub.so libgcc_s.so.1
ln -s libgcc_s.so.1 libgcc_s.so
 

3) Before Applying Patch: 9239089

Copy adgrants.sql to $DB_ORACLE_HOME/appsutil/admin, if the admin directory doesn't exist please create.

[oracle@ebsr12 admin]$ sqlplus /nolog

SQL*Plus: Release 11.1.0.7.0 – Production on Fri Feb 28 14:53:28 2020

Copyright (c) 1982, 2008, Oracle.  All rights reserved.

SQL>  @$ORACLE_HOME/appsutil/admin/adgrants.sql apps 

Also, add the below parameter in database level and restart.

_disable_fast_validate=TRUE

Note:
For 11gR1 and 11.2.0.1 databases, before performing any Applications upgrade or maintenance operations, customers must add the following to the database initialization file to disable fast validation for PL/SQL recompilations:
_disable_fast_validate=TRUE
The line should be commented out during the normal operation of the Applications system

4) Now Apply patches using adpatch utility.

  • 9239089
  • 9239090- Please perform the below steps before applying this patch.

Replace the following line under the Linux section of the $AD_TOP/bin/adrelinknew.sh:

CPP_LDFLAGS=' -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -lclntsh'

with

CPP_LDFLAGS=' -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -lclntsh -Wl,--noinhibit-exec'

Run the adadmin utility and relink application executables

Please note the upgrade patch will take time depending upon on what hardware you are using.
  • 9239095
  • 9817770
  • 9966055
5) Post Upgrade steps

[applmgr@ebs122 ~ 05:57 PM]$cd $APPL_TOP
[applmgr@ebs122 ~ 05:58 PM]$. APPSDEV121_ebs122.env 
[applmgr@ebs122 ~ 05:58 PM]$perl $AD_TOP/bin/admkappsutil.pl
Starting the generation of appsutil.zip
Log file located at /ebs121/apps/DEV121/inst/apps/DEV121_ebs122/admin/log/MakeAppsUtil_12011758.log
output located at /ebs121/apps/DEV121/inst/apps/DEV121_ebs122/admin/out/appsutil.zip
MakeAppsUtil completed successfully.
[applmgr@ebs122 ~ 05:58 PM]$


Copy the apputil.zip file to Database oracle home
On DB-Tier:

[oracle@ebs122 ~ 05:59 PM]$. DEV121_ebs122.env
[oracle@ebs122 ~ 05:59 PM]$cd $ORACLE_HOME
[oracle@ebs122 11.1.0 06:00 PM]$mv appsutil.zip appsutil.zip_orig
[oracle@ebs122 11.1.0 06:00 PM]$cp /ebs121/apps/DEV121/inst/apps/DEV121_ebs122/admin/out/appsutil.zip .
unzip -o appsutil.zip
Recreate Context File on DB -Tier
cd $ORACLE_HOME/appsutil/bin
perl adbldxml.pl appsuser=apps appspasswd=apps jtop=$ORACLE_HOME/jdk

[oracle@ebs122 bin 06:05 PM]$perl adbldxml.pl appsuser=apps appspasswd=apps jtop=$ORACLE_HOME/jdk

Starting context file generation for db tier..

Using JVM from /ebs121/oracle/DEV121/db/tech_st/11.1.0/jdk/bin/java to execute java programs..

The log file for this adbldxml session is located at:
/ebs121/oracle/DEV121/db/tech_st/11.1.0/appsutil/log/adbldxml_12011805.log

Enter the value for Display Variable:  ebs122:0.0
Context File /ebs121/oracle/DEV121/db/tech_st/11.1.0/appsutil/DEV121_ebs122.xml already exists. Overwriting Context File may cause loss of existing settings, hence backing it up as: /ebs121/oracle/DEV121/db/tech_st/11.1.0/appsutil/DEV121_ebs122.xml.bak The context file has been created at: /ebs121/oracle/DEV121/db/tech_st/11.1.0/appsutil/DEV121_ebs122.xml


Run autoconfig on DB-Tier

Run autoconfig on Apps-Tier

Remove the application from maintenance mode and bring up Application services and check the application version.



6) Validate the New EBS version

SQL> select release_name from apps.fnd_product_groups;

RELEASE_NAME
--------------------------------------------------
12.1.3

If forms are not opening

Stop the application tier services
Run adadmin regenerate JAR file
Compile all the forms.
cd $ORACLE_HOME/forms/lib
make -f ins_forms.mk install

Reference Docs

Oracle E-Business Suite Release 12.1.3 Readme (Doc ID 1080973.1)
Applying Patch 9239090 Failed During The Relink of FEMCCE module (Doc ID 1303269.1)
Relink Of Modules ENCACN or WICMEX or WICMLX Fails While 12.1.3 Upgrade on EL 6 (Doc ID 1583440.1)
Database Preparation Guidelines for an E-Business Suite Release 12.1 Upgrade (Doc ID 761570.1)

Known Issue:
https://community.oracle.com/mosc/discussion/3531816

If you like please follow and comment