Tuesday, 3 October 2023

Applying Oracle WebLogic Server Stack Patch Bundle

 

Apply March 2022 - SPB on Weblogic 12.2.1.4

  • Backup complete binaries Oracle Home & Domain.
  • Stop all services running from WebLogic & Domain.
  • Download and Upload the Patch to server p33751264_122140_Generic.zip
  • Unzip to a folder E:\PATCHES\WLS_Stack_Bundle_March_2022\WLS_SPB_12.2.1.4.220112

VERIFY LSINVENTORY

set ORACLE_HOME=E:\Middleware\Oracle_Home
set PATH=%ORACLE_HOME%\Opatch;%PATH%
opatch lsinventory -details
        Oracle Interim Patch Installer version 13.9.4.2.8
        Copyright (c) 2023, Oracle Corporation.  All rights reserved.
        Oracle Home       : E:\Middleware\Oracle_Home
        Central Inventory : C:\Program Files\Oracle\Inventory
        from           :
        OPatch version    : 13.9.4.2.8
        OUI version       : 13.9.4.0.0
        Log file location : E:\Middleware\Oracle_Home\cfgtoollogs\opatch\opatch2023-10-03_11-19-16AM_1.log
OPatch detects the Middleware Home as "E:\Middleware\Oracle_Home"
Lsinventory Output file location : E:\Middleware\Oracle_Home\cfgtoollogs\opatch\lsinv\lsinventory2023-10-03_11-19-16AM.txt
-------------------------------------------------------------------------------
Local Machine Information::
Hostname: ADFSTG
ARU platform id: 233
ARU platform description:: Microsoft Windows Server 2003 (64-bit AMD)
Please Use command "$ORACLE_HOME/oui/bin/viewInventory.sh|cmd"
to list products in this home.
There are no Interim patches installed in this Oracle Home.
--------------------------------------------------------------------------------
OPatch succeeded.

CHECK JAVA VERSION



UPGRADE OPATCH

  • The Critical Patch Update program for January 2022 includes OPatch 13.9.4.2.8.
  • Follow below process to upgrade Opatch

From a new Command Prompt window

set JAVA_HOME=C:\Java\jdk1.8.0_19

cd C:\Java\jdk1.8.0_191>cd bin
C:\Java\jdk1.8.0_191\bin>java.exe -jar 
E:\PATCHES\WLS_Stack_Bundle_March_2022\WLS_SPB_12.2.1.4.220112\tools\opatch\generic\p28186730_139428_Generic\6880880\opatch_generic.jar



















VERIFY THE PATCH

From a new Command Prompt window,
set ORACLE_HOME=E:\Middleware\Oracle_Home
set PATH=%ORACLE_HOME%\Opatch;%PATH%

cd E:\PATCHES\WLS_Stack_Bundle_March_2022\WLS_SPB_12.2.1.4.220112\binary_patches
opatch napply -report -oh E:\Middleware\Oracle_Home -phBaseFile windows64_patchlist.txt
    • The windows64_patchlist.txt file is bundled into the SPB, so you do not need to provide a path to the file.
    • Once the opatch napply -report command is executed, review the output of the command and the log files it produces to be aware of any possible issues.
    • No changes have been made to your Oracle home even though the command output may say that patches were successfully applied.

APPLY THE PATCH
set ORACLE_HOME=E:\Middleware\Oracle_Home
set PATH=%ORACLE_HOME%\Opatch;%PATH%

cd E:\PATCHES\WLS_Stack_Bundle_March_2022\WLS_SPB_12.2.1.4.220112\binary_patches
opatch napply -oh E:\Middleware\Oracle_Home -phBaseFile windows64_patchlist.txt

Oracle Interim Patch Installer version 13.9.4.2.8
Copyright (c) 2023, Oracle Corporation.  All rights reserved.
Oracle Home       : E:\Middleware\Oracle_Home
Central Inventory : C:\Program Files\Oracle\Inventory
   from           :
OPatch version    : 13.9.4.2.8
OUI version       : 13.9.4.0.0
Log file location : E:\Middleware\Oracle_Home\cfgtoollogs\opatch\opatch2023-10-03_11-20-29AM_1.log
OPatch detects the Middleware Home as "E:\Middleware\Oracle_Home"
Verifying environment and performing prerequisite checks...
Skip patch 33539252 from list of patches to apply: This patch is not needed.
OPatch continues with these patches:   1221412  32647448  32720458  33093748  33678607  33727616
Do you want to proceed? [y|n]
Could not recognize input. Please re-enter.
y
User Responded with: Y
All checks passed.
Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = 'E:\Middleware\Oracle_Home')

Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...
Applying interim patch '1221412' to OH 'E:\Middleware\Oracle_Home'
Patching component oracle.coherence, 12.2.1.4.0...
Applying interim patch '32647448' to OH 'E:\Middleware\Oracle_Home'
Patching component oracle.adr, 12.1.2.0.0...
Applying interim patch '32720458' to OH 'E:\Middleware\Oracle_Home'
Patching component oracle.javavm.jrf, 19.3.0.0.0...
Applying interim patch '33093748' to OH 'E:\Middleware\Oracle_Home'
Patching component oracle.fmwplatform.fmwprov, 12.2.1.4.0...
Applying interim patch '33678607' to OH 'E:\Middleware\Oracle_Home'
ApplySession: Optional component(s) [ oracle.rda, 8.15.17.03.14 ] , [ oracle.rda, 20.1.20.1.21 ] , [ oracle.rda, 20.2.20.4.21 ]  not present in the Oracle Home or a higher version is found.
Patching component oracle.rda, 19.3.19.8.2...
Applying interim patch '33727616' to OH 'E:\Middleware\Oracle_Home'
ApplySession: Optional component(s) [ oracle.fmwconfig.common.wls.shared, 12.2.1.4.0 ] , [ oracle.webservices.wls.jaxrpc, 12.2.1.4.0 ]  not present in the Oracle Home or a higher version is found.
Patching component oracle.org.bouncycastle.bcprov.ext.jdk15on, 1.60.0.0.0...
Patching component oracle.org.bouncycastle.bcprov.ext.jdk15on, 1.60.0.0.0...
Patching component oracle.wls.admin.console.en, 12.2.1.4.0...
Patching component oracle.wls.admin.console.en, 12.2.1.4.0...
Patching component oracle.fmwconfig.common.config.shared, 12.2.1.4.0...
Patching component oracle.fmwconfig.common.wls.shared.internal, 12.2.1.4.0...
Patching component oracle.webservices.wls, 12.2.1.4.0...
Patching component oracle.rsa.crypto, 12.2.1.4.0...
Patching component oracle.rsa.crypto, 12.2.1.4.0...
Patching component oracle.wls.jrf.tenancy.common.sharedlib, 12.2.1.4.0...
Patching component oracle.wls.jrf.tenancy.common.sharedlib, 12.2.1.4.0...
Patching component oracle.wls.jrf.tenancy.common.sharedlib, 12.2.1.4.0...
Patching component oracle.wls.common.nodemanager, 12.2.1.4.0...
Patching component oracle.wls.jrf.tenancy.ee.only.sharedlib, 12.2.1.4.0...
Patching component oracle.mysql, 8.0.14.0.0...
Patching component oracle.mysql, 8.0.14.0.0...
Patching component oracle.com.fasterxml.jackson.jaxrs.jackson.jaxrs.json.provider, 2.9.9.0.0...
Patching component oracle.com.fasterxml.jackson.jaxrs.jackson.jaxrs.json.provider, 2.9.9.0.0...
Patching component oracle.com.fasterxml.jackson.core.jackson.core, 2.9.9.0.0...
Patching component oracle.com.fasterxml.jackson.core.jackson.core, 2.9.9.0.0...
Patching component oracle.org.bouncycastle.bcprov.jdk15on, 1.60.0.0.0...
Patching component oracle.org.bouncycastle.bcprov.jdk15on, 1.60.0.0.0...
Patching component oracle.log4j.log4j, 2.11.1.0.0...
Patching component oracle.log4j.log4j, 2.11.1.0.0...
Patching component oracle.org.bouncycastle.bcpkix.jdk15on, 1.60.0.0.0...
Patching component oracle.org.bouncycastle.bcpkix.jdk15on, 1.60.0.0.0...
Patching component oracle.commons.collections.commons.collections, 3.2.2.0.0...
Patching component oracle.commons.collections.commons.collections, 3.2.2.0.0...
Patching component oracle.com.fasterxml.jackson.dataformat.jackson.dataformat.xml, 2.9.9.0.0...
Patching component oracle.com.fasterxml.jackson.dataformat.jackson.dataformat.xml, 2.9.9.0.0...
Patching component oracle.wls.security.core.sharedlib, 12.2.1.4.0...
Patching component oracle.com.fasterxml.jackson.core.jackson.databind, 2.9.9.0.0...
Patching component oracle.com.fasterxml.jackson.core.jackson.databind, 2.9.9.0.0...
Patching component oracle.webservices.base, 12.2.1.4.0...
Patching component oracle.wls.shared.with.cam, 12.2.1.4.0...
Patching component oracle.com.fasterxml.jackson.core.jackson.annotations, 2.9.9.0.0...
Patching component oracle.com.fasterxml.jackson.core.jackson.annotations, 2.9.9.0.0...
Patching component oracle.wls.common.cam.wlst, 12.2.1.4.0...
Patching component oracle.wls.security.core, 12.2.1.4.0...
Patching component oracle.wls.security.core, 12.2.1.4.0...
Patching component oracle.datadirect, 12.2.1.4.0...
Patching component oracle.datadirect, 12.2.1.4.0...
Patching component oracle.com.fasterxml.jackson.module.jackson.module.jaxb.annotations, 2.9.9.0.0...
Patching component oracle.com.fasterxml.jackson.module.jackson.module.jaxb.annotations, 2.9.9.0.0...
Patching component oracle.com.fasterxml.jackson.module.jackson.module.jsonschema, 2.9.9.0.0...
Patching component oracle.com.fasterxml.jackson.module.jackson.module.jsonschema, 2.9.9.0.0...
Patching component oracle.jrf.toplink, 12.2.1.4.0...
Patching component oracle.wls.admin.console.nonen, 12.2.1.4.0...
Patching component oracle.wls.admin.console.nonen, 12.2.1.4.0...
Patching component oracle.com.fasterxml.jackson.jaxrs.jackson.jaxrs.base, 2.9.9.0.0...
Patching component oracle.com.fasterxml.jackson.jaxrs.jackson.jaxrs.base, 2.9.9.0.0...
Patching component oracle.wls.evaluation.database, 12.2.1.4.0...
Patching component oracle.wls.evaluation.database, 12.2.1.4.0...
Patching component oracle.wls.libraries, 12.2.1.4.0...
Patching component oracle.wls.libraries, 12.2.1.4.0...
Patching component oracle.wls.libraries, 12.2.1.4.0...
Patching component oracle.toplink.doc, 12.2.1.4.0...
Patching component oracle.wls.core.app.server, 12.2.1.4.0...
Patching component oracle.wls.core.app.server, 12.2.1.4.0...
Patching component oracle.wls.core.app.server, 12.2.1.4.0...
Patching component oracle.wls.jrf.tenancy.common, 12.2.1.4.0...
Patching component oracle.wls.jrf.tenancy.common, 12.2.1.4.0...
Patches 1221412,32647448,32720458,33093748,33678607,33727616 successfully applied.
Log file location: E:\Middleware\Oracle_Home\cfgtoollogs\opatch\opatch2023-10-03_11-20-29AM_1.log
OPatch succeeded.



  
VERIFY LSINVENTORY
opatch lsinventory
Oracle Interim Patch Installer version 13.9.4.2.8
Copyright (c) 2023, Oracle Corporation.  All rights reserved.
Oracle Home       : E:\Middleware\Oracle_Home
Central Inventory : C:\Program Files\Oracle\Inventory
   from           :
OPatch version    : 13.9.4.2.8
OUI version       : 13.9.4.0.0
Log file location : E:\Middleware\Oracle_Home\cfgtoollogs\opatch\opatch2023-10-03_11-41-53AM_1.log
OPatch detects the Middleware Home as "E:\Middleware\Oracle_Home"
Lsinventory Output file location : E:\Middleware\Oracle_Home\cfgtoollogs\opatch\lsinv\lsinventory2023-10-03_11-41-53AM.txt
--------------------------------------------------------------------------------
Local Machine Information::
Hostname: ADFSTG
ARU platform id: 233
ARU platform description:: Microsoft Windows Server 2003 (64-bit AMD)
Interim patches (6) :


Patch  33727616      : applied on Tue Oct 03 11:33:06 AST 2023
Unique Patch ID 24578917
Patch description "WLS PATCH SET UPDATE 12.2.1.4.220105"
Created on 10 Jan 2022, 12:54:44 hrs PST8PDT
 Bugs fixed :
33034990, 33329852, 31401659, 32235872, 32228228, 33542139, 33171421 32425607, 32639821, 31770512, 30478451, 33355727, 32054481, 30342923 30153412, 26444945, 32248716, 33446922, 32697451, 31011293, 31380363 32976692, 29940841, 30670689, 30589563, 30912052, 30885237, 32593893 33270388, 32214441, 25348765, 29630055, 26547727, 33164116, 33287665 33660731, 33560373, 33691381, 32415913, 30245934, 33379618, 31332368 31157988, 31353368, 32301793, 30771358, 32235275, 29971088, 31657139 30652362, 31742292, 31234573, 31567049, 30469341, 32528774, 31765550 31359854, 30326976, 29878681, 32108759, 32077694, 31287540, 30563848 31118905, 32868847, 30469093, 31765567, 32412974, 30568713, 33277149 33586390, 32307656, 33114718, 33063225, 33293539, 30718589, 32408938 31199699, 30965440, 33181541, 33166329, 33297017, 33207639, 31207149 31184158, 31583896, 28852411, 32371861, 30230430, 31441174, 29449188 30656708, 33270137, 29769772, 30624882, 31816475, 29247835, 33691226 32064362, 31724565, 31564423, 30465861, 32832099, 25219796, 30459026 30866037, 32503912, 31526201, 30885217, 30734182, 32962304, 29671344 32069620, 32965618, 30284059, 31498405, 32519960, 32373306, 30341541 30801769, 30468443, 18183882, 33671996, 30961904, 32497814, 30155056 25973136, 31297042, 30362026, 30740009, 30285053, 32875528, 32920991 31047981, 30964331, 30692988, 33145710, 30838007, 30633620, 30837932 31247235, 30143011, 33170754, 32068710, 33261059, 33328978, 27703270 30067299, 31088577, 32959063, 31525147, 30729141, 31671559, 32097062 30597194, 32893667, 32847474, 32016868, 31316252, 25900775, 32244262 32651810, 31918617, 30510407, 33666810, 33245345, 31475287, 29742586 33152312, 30558254, 32520971, 33671762, 32950042, 30580458, 33380581 32883876, 29660156, 31234666, 31232471, 31113242, 32118304, 31142740 33349324, 30885114, 32312961, 32953480, 31913015, 31510290, 30958807 30295025, 30884852, 31332264, 30068341, 30885128, 31160218, 30362086 31975423, 31502307, 30814590

Patch  33678607      : applied on Tue Oct 03 11:26:49 AST 2023
Unique Patch ID 24558585
Patch description "RDA release 20.4-20211126 for OFM SPB"
    Created on 17 Dec 2021, 07:18:05 hrs PST8PDT
   Bugs fixed :
 31308887, 30850214, 30430187, 30067211, 30108739, 29639586, 29687335     29348000, 28800895, 28352814, 27916236, 27287100, 26811086, 26330345,      25739794, 25351390, 24696555, 23723609, 22995690, 22783073, 22218552     21652363, 21077584, 20603508, 20128084, 19545161, 18904462, 18297302,   17966756

Patch  33093748      : applied on Tue Oct 03 11:26:10 AST 2023
Unique Patch ID :    24325771
Patch description "One-off"   Created on 8 Jul 2021, 13:51:58 hrs PST8PDT
   Bugs fixed :      32046861, 31974915

Patch  32720458      : applied on Tue Oct 03 11:25:36 AST 2023
Unique Patch ID 24558359
Patch description "JDBC 19.3.0.0 FOR CPUJAN2022 (WLS 12.2.1.4, WLS 14.1.1)"
    Created on 26 Aug 2021, 01:10:18 hrs UTC
   Bugs fixed : 32720458


Patch  32647448      : applied on Tue Oct 03 11:24:51 AST 2023
Unique Patch ID 24133370
Patch description "Bug 31544353 - ADR FOR WEBLOGIC SERVER 12.2.1.4.0 JULY CPU 2020 for WebLogic Server SPB"
        Created on 22 Mar 2021, 00:18:22 hrs UTC
   Bugs fixed :    31544353


Patch  1221412      : applied on Tue Oct 03 11:24:16 AST 2023
Unique Patch ID 24516660
Patch description "Bundle patch for Oracle Coherence Version 12.2.1.4.12"
    Created on 2 Dec 2021, 14:06:56 hrs PST8PDT
   Bugs fixed :
      30564187, 30523414, 30689686, 30729380, 30891975, 31030896, 31045382     31214284, 31470730, 31806259, 31944953, 32124456, 32341371, 32581859
      32816960, 32822629, 32503887, 32421840, 32973297, 33286160, 33591019

--------------------------------------------------------------------------------
OPatch succeeded.

opatch lspatches

33727616;      WLS PATCH SET UPDATE 12.2.1.4.220105
33678607;      RDA release 20.4-20211126 for OFM SPB
33093748;      One-off
32720458;      JDBC 19.3.0.0 FOR CPUJAN2022 (WLS 12.2.1.4, WLS 14.1.1)
32647448;      Bug 31544353 - ADR FOR WEBLOGIC SERVER 12.2.1.4.0 JULY CPU 2020 for WebLogic Server SPB
1221412;        Bundle patch for Oracle Coherence Version 12.2.1.4.12



After Patch has been successfully Completed - Resume the WebLogic services.

=======================================================================





No comments:

Post a Comment