The document for October 2024 CPU patches is Doc ID 3037725.1 (Oracle E-Business Suite Release 12.2 Critical Patch Update Availability Document - October 2024). We have to follow it to apply this CPU patches.
1. First of all, specify a location for holding all patch files. All zip file shall be downloaded/saved in sub-folders of this location
3. DBAs apply database patches (after EBS services are stopped) to the database and make sure all requirements are met. ETCC Output :
5. Proceed with Apps patches
6. ECPUC script (from patch p35583866) to identify what EBS CPU patches and security fixes are needed.
$ cd $patch_folder/ECPUC
$ sqlplus apps/appsPWD
SQL> @ECPUC.sql
... ...
E-Business Suite Critical Patch Update Checker (ECPUC)
ECPUC.sql may be run on any EBS 12.2 environment to identify missing patches that are in the latest EBS CPU.
You can download the latest version of ECPUC via Patch 35583866.
Refer to the README.txt in Patch 35583866 for instructions for running ECPUC and information regarding the generated ECPUC.lst report.
The checker generates the report ECPUC_YYYY-MM-DD_HH24-MI.lst that lists recommended EBS CPU patches and security fixes for your environment per Table 1 'CPU Patches for Oracle E-Business Suite' and Table 2 'Additional Patches Required' documented in the quarterly EBS CPU MOS Note.
Each quarterly EBS CPU MOS Note ID is unique. Refer to My Oracle Support (MOS) Knowledge Document 2484000.1, 'Identifying the Latest Critical Patch Update for Oracle E-Business Suite Release 12' which includes a link to the current EBS CPU MOS document.
******************************************************************
=================================================
SECTION-1 ECPUC Version
=================================================
EBS CPU Checker Version
-----------------------
2024.1
=================================================
SECTION-2 Oracle E-Business Suite (EBS): Instance Information
=================================================
******************************************************************
Instance Summary
******************************************************************
EBS Release EBS CPU Level
----------- -------------
12.2.10 2023.10
Instance Name Database Database Version
---------------- ---------------- ------------------
CEBSDEV EBSDEV 19.25.0.0.0
ATG Product Product Name Code Level
------------ ----------------------------------------------- ----------
ad Applications DBA C.14
txk Oracle Applications Technology Stack C.14
atg_pf Oracle Applications Technology Family C.9
fwk Oracle Applications Framework C.9
=================================================
SECTION-3 Required EBS CPU and Security Fixes
=================================================
******************************************************************
The following output is a list of required patches and security fixes that are missing in your environment.
It is strongly recommended that you apply all of the listed patches as soon as possible.
If no patches (no rows) are listed then no additional action is required at this time as your environment includes all patches for this EBS CPU.
******************************************************************
The following patches are required for this EBS CPU
--------------------------------------------------------------
36944346:12.2.0
37078855:R12.ATG_PF.C
37078915:R12.SCM_PF.C
37120482:R12.CC_PF.C
35362524:R12.IGI.C
34979060:R12.MSC.C
33457157:R12.HXT.C
30448458:R12.HXT.C
8 rows selected.
7. Apply two EBS patches. After consulting with Developers and Business users, we will apply only first two patches because we do not use the EBS modules on the list.
36944346:12.2.0
37078855:R12.ATG_PF.C
Make sure all Apps services are down
$ ps -ef | grep $LOGNAME
$ vi /etc/oraInst.loc
$ adop -status
If FS_CLONE has not been run, run it. This will help to screen out errors in applying next patches.
$ adop phase=fs_clone
-- Apply patch to multiple nodes
$ adop phase=apply apply_mode=downtime patches=36944346 patchtop=$patch_folder/Oct24_CPU
$ adop phase=apply apply_mode=downtime patches=37078855 patchtop=$patch_folder/Post
Run query to confirm Oct 2024 CPU in the instance. See Doc ID 2484000.1 (Identifying the Latest Critical Patch Update for Oracle E-Business Suite Release 12.2)
SQL> col CPU format a9
SQL> select max(CODELEVEL) "CPU" from ad_trackable_entities where abbreviation in ('ebscpu');
CPU
---------
2024.10
8. Run autoconfig on database server
$ perl $AD_TOP/bin/admkappsutil.pl
Starting the generation of appsutil.zip
Log file located at $INST_TOP/admin/log/MakeAppsUtil_11260913.log
output located at $INST_TOP/admin/out/appsutil.zip
MakeAppsUtil completed successfully.
$ cp -p $INST_TOP/admin/out/appsutil.zip $APPLPTMP
$ chmod 777 $APPLPTMP/appsutil.zip
DBA run the below steps on EBSDEV database.
1. cp /u04/shared/utl_dir/appsutil.zip $ORACLE_HOME/
2. cd $ORACLE_HOME; unzip -o appsutil.zip
3. Set env and then run autoconfig on the database.
9. Run ETCC
$ cd $patch_folder/ETCC
$ ./checkMTpatch.sh
... ...
Starting Application Tier EBS Technology Codelevel Checker, Version 120.0.12020000.68.
... ...
===========================================================
PATCH RECOMMENDATION SUMMARY
===========================================================
One or more products have bugfixes missing.
The default patch recommendations to install these missing bugfixes are:
-------------------------------------------------------------------------------
Oracle Fusion Middleware (FMW) - Oracle Common 11.1.1.9.0
-------------------------------------------------------------------------------
Patch 34714760
- Filename: p34714760_111190_Generic.zip
-------------------------------------------------------------------------------
WLS 10.3.6.0.231017
-------------------------------------------------------------------------------
Patch 35476084 [SU Patch [KMHV]]
- Filename: p35476084_1036_Linux-x86-64.zip
Apply the required patches and rerun this script.
+-----------------------------------------------------------------------------+
A consolidated zip file with the required application tier patches is
available on My Oracle Support via:
Patch 36616672
10. Apply WLS patches: KMHV, WY44
$ echo $APPL_TOP
$ echo $ORACLE_HOME
$RUN_BASE/EBSapps/10.1.2
$ echo $FMW_HOME
$RUN_BASE/FMW_Home
$ cd $FMW_HOME/utils/bsu
-- Check if patch p13845626 was applied:
$ ./bsu.sh -prod_dir=$FMW_HOME/wlserver_10.3 -status=applied -verbose -view | egrep -i 'WY44'
Patch ID: WY44
PatchContainer: WY44.jar
$ cd $FMW_HOME/utils/bsu/cache_dir
$ cp -p $patch_folder/WLS/35476084/p35476084_1036_Linux-x86-64.zip . # (KMHV)
$ cp -p $patch_folder/WLS/13845626/p13845626_10360231017_Generic.zip .
# (WY44. Asked by Doc ID 3037725.1)
$ unzip p35476084_1036_Linux-x86-64.zip
Archive: p35476084_1036_Linux-x86-64.zip
replace README.txt? [y]es, [n]o, [A]ll, [N]one, [r]ename: A
inflating: README.txt
inflating: patch-catalog_27986.xml
inflating: KMHV.jar
$ cd ..
$ ./bsu.sh -install -patch_download_dir=$FMW_HOME/utils/bsu/cache_dir -patchlist=KMHV -prod_dir=$FMW_HOME/wlserver_10.3
Checking for conflicts..
Conflict(s) detected - resolve conflict condition and execute patch installation again
Conflict condition details follow:
Patch KMHV is mutually exclusive and cannot coexist with patch(es): CW7X
$ ./bsu.sh -remove -patchlist=CW7X -prod_dir=$FMW_HOME/wlserver_10.3
Checking for conflicts..
No conflict(s) detected
Removing Patch ID: CW7X..
Result: Success
$ ./bsu.sh -install -patch_download_dir=$FMW_HOME/utils/bsu/cache_dir -patchlist=KMHV -prod_dir=$FMW_HOME/wlserver_10.3
Checking for conflicts..
No conflict(s) detected
Installing Patch ID: KMHV..
Result: Success
$ ./bsu.sh -prod_dir=$FMW_HOME/wlserver_10.3 -status=applied -verbose -view | egrep -i 'KMHV'
Patch ID: KMHV
PatchContainer: KMHV.jar
-- if patch p13845626 was NOT applied:
$ ./bsu.sh -install -patch_download_dir=$FMW_HOME/utils/bsu/cache_dir -patchlist=WY44 -prod_dir=$FMW_HOME/wlserver_10.3
11. Apply patch 34714760 to Oracle Fusion Middleware (FMW) - Common
$ export ORACLE_HOME=$FMW_HOME/oracle_common
$ export PATH=$ORACLE_HOME/OPatch:$PATH
$ which opatch
$ cd /tmpshrs/ebsarupgradeTEMP/CPU_Patches/Oct2024/FMW_OHS_Orcl_Comn
$ ls -al
$ mv 34714760 34714760_Feb19
$ unzip p34714760_111190_Generic.zip
$ cd 34714760
$ opatch apply
... ...
Patching component oracle.jrf.opss, 11.1.1.9.0...
... ...
-- Check if 4 patches were applied
$ opatch lsinventory | egrep -i '34330735|33974106|33960746|34714760'
-- if patch 33960746 was not applied
$ cd /tmpshrs/ebsarupgradeTEMP/CPU_Patches/Oct2024/FMW_OHS_Orcl_Comn
$ unzip p33960746_111190_Generic.zip (required by Doc ID 3037725.1)
$ cd 33960746
$ opatch apply
... ...
Patching component oracle.sysman.common, 10.2.0.5.6...
Patching component oracle.sysman.oms.core, 11.1.1.9.0...
Patching component oracle.sysman.plugin.ai.main.oms, 11.1.1.9.0...
... ...
Note: if a patch was applied previously, "opatch apply" again will give below message:
$ opatch apply
Applying interim patch '33960746' to OH '$FMW_HOME/oracle_common'
Verifying environment and performing prerequisite checks...
The following patch(es) are duplicate patches with patches installed in the Oracle Home.
[ 33960746]
You have already installed same patch(es) with same UPI(s) or same version(s).
These patch(es) will be skipped.
... ...
OPatch stopped on request.
$ opatch lsinventory | egrep -i '34330735|33974106|33960746|34714760'
Patch 33960746 : applied on Thu Dec 05 12:03:32 EST 2024
33960746
Patch 34714760 : applied on Thu Dec 05 11:48:27 EST 2024
34714760
Patch 33974106 : applied on Fri Nov 24 13:31:49 EST 2023
Patch 34330735 : applied on Wed Aug 17 21:59:30 EDT 2022
12. Run ETCC again
Start a new OS session to get the correct env, and make sure no more patches are needed.
$ cd $patch_folder/ETCC
$ ./checkMTpatch.sh
==========================================
All required one-offs are confirmed as present.
Finished checking prerequisite patches for file edition: run.
13. Upgrade JDK
$ cd $patch_folder/EJCPUC
$ ls
ejcpuc.cmd ejcpuc.sh p37171025_R12_GENERIC.zip Readme.txt
$ sh ejcpuc.sh
######################################################################
## Checking Apptier Java 7 for CPU 2024.10 on Platform Linux_x64 - need 1.7.0_441
##
######################################################################
2024.10 action Your Version bitness Java Location
------------ ------ ------------ ------- ---------------
1.7.0_441 UPDATE 1.7.0_391 32-bit $ORACLE_HOME/jdk/bin/java
1.7.0_441 UPDATE 1.7.0_391 32-bit $COMMON_TOP/util/jdk32/bin/java
1.7.0_441 UPDATE 1.7.0_391 64-bit $COMMON_TOP/util/jdk64/bin/java
1.7.0_441 UPDATE 1.7.0_391 64-bit $FMW_HOME/webtier/jdk/bin/java
Follow 1530033.1 to update the JDK(s). Your application tier JDK 7 is lower than the 1.7.0_441 update released in CPU 2024.10.
$ cd $patch_folder/JDK_1_7_441/JY
Assume 2 JDK files and my shell script for JDK upgrade exist in this folder:
$ ls
jdk-7u441-linux-i586.tar.gz
jdk-7u441-linux-x64.tar.gz
JDK_upgrade441.sh
$ ./JDK_upgrade441.sh
Verify:
$ cd $COMMON_TOP/util/
$ ls -al
$ cd $patch_folder/EJCPUC
$ sh ejcpuc.sh
##################################################################################
## Checking Apptier Java 7 for CPU 2024.10 on Platform Linux_x64 - need 1.7.0_441
##
##################################################################################
2024.10 action Your Version bitness Java Location
------------ ------ ------------ ------- ---------------
1.7.0_441 OK 1.7.0_441 32-bit $ORACLE_HOME/jdk/bin/java
1.7.0_441 OK 1.7.0_441 32-bit $COMMON_TOP/util/jdk32/bin/java
1.7.0_441 OK 1.7.0_441 64-bit $COMMON_TOP/util/jdk64/bin/java
1.7.0_441 OK 1.7.0_441 64-bit $FMW_HOME/webtier/jdk/bin/java
14. Upgrade JRE
$ cd $COMMON_TOP/webapps/oacore/util/javaplugin
# Assume below file is downloaded and unzipped in folder
# $patch_folder/JRE_8_431
# p37063177_180431_WINNT.zip
$ cp $patch_folder/JRE_8_431/jre-8u431-windows-i586.exe j2se18431.exe
$ ls -altr
$ $FND_TOP/bin/txkSetPlugin.sh 18431
$ grep sun_plugin_ver $CONTEXT_FILE
<sun_plugin_ver oa_var="s_sun_plugin_ver">1.8.0_431</sun_plugin_ver>
$ grep s_forms_launch_method $CONTEXT_FILE
<config_option type="techstack" oa_var="s_forms_launch_method">jws</config_option>
15. Finalize
optional: it takes time: "Creating and signing every jar file can take about thirty minutes ..."
$ adadmin
option 1 => 4 => yes
$ autoconfig on all Apps nodes
Start all services
$ adop phase=fs_clone