Skip to main content

Upgrade EBS R12.1.1 to R12.1.3

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

Comments

Popular posts from this blog

WebLogic migration to OCI using WDT tool

WebLogic migration to OCI using WDT tool Oracle WebLogic Deploy Tool (WDT) is an open-source project designed to simplify and streamline the management of Oracle WebLogic Server domains. With WDT, you can export configuration and application files from one WebLogic Server domain and import them into another, making it a highly effective tool for tasks like migrating on-premises WebLogic configurations to Oracle Cloud. This blog outlines a detailed step-by-step process for using WDT to migrate WebLogic resources and configurations. Supported WLS versions Why Use WDT for Migration? When moving Oracle WebLogic resources from an on-premises environment to Oracle Cloud (or another WebLogic Server), WDT provides an efficient and reliable approach to: Discover and export domain configurations and application binaries. Create reusable models and archives for deployment in a target domain. Key Pre-Requisites Source System: An Oracle WebLogic Server with pre-configured resources such as: Applica...

How to Validate TDE Wallet Password in Oracle Database

How to Validate TDE Wallet Password in Oracle Database Validating the Transparent Data Encryption (TDE) wallet password is crucial, especially when ensuring that the password is correct without using the OPEN or CLOSE commands in the database. This blog post explains a straightforward method to validate the TDE password using the mkstore utility. Steps to Validate TDE Wallet Password Follow these steps to validate the TDE wallet password: Step 1: Copy the Keystore/Wallet File Navigate to your existing TDE wallet directory. Copy only the ewallet.p12 file to a new directory. If a cwallet.sso file exists, do not copy it . The absence of cwallet.sso ensures that the wallet does not use auto-login, forcing the utility to prompt for the password. Step 2: Validate Using mkstore Use the mkstore utility to check the contents of the wallet file. The mkstore utility will prompt you for the TDE wallet password, allowing you to validate its correctness. Command Syntax To display the conten...

How to Create macOS Catalina ISO File

  How to Create macOS Catalina ISO File Please note these steps need to be performed on a Apple Mac System to generate an iso. Steps: 1) Download macOS Catalina From App Store or Apple download 2) Please note once you download it will be in dmg format. 3) Open Terminal in MAC.  from the top-right corner open up Spotlight.  Type in Terminal and hit Enter. 4)  Mount it to your macOS hdiutil attach /tmp/Catalina.dmg -noverify -mountpoint /Volumes/Catalina 5) Create macOS Catalina Installer sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia --volume /Volumes/Catalina --nointeraction 6) Unmount Catalina Disk hdiutil detach /volumes/Install\ macOS\ Catalina 7) Convert the DMG file to an ISO file hdiutil convert /tmp/Catalina.dmg -format UDTO -o ~/Desktop/Catalina.cdr 8) Rename and Move to Desktop mv ~/Desktop/Catalina.cdr ~/Desktop/Catalina.iso Now we can use this iso on any system and install on virtual machines.