FMW Third party Bundle Patch 34879707 12.2.1.4.221209 on OMS


Patch Details:
Patch 34879707:    FMW Thirdparty Bundle Patch 12.2.1.4.221209
Patch size:        Size 68.3 MB
Platform:          Generic Platform
OMS Version:       13.5
OPatch version :   13.9.4.2.5
OUI version   :    13.9.4.0.0
Patch Filename:    p34879707_122140_Generic.zip
OMSPatcher version:13.9.5.12.0
OMS HOMe       :   /u01/app/oracle/middleware

Outage Details:

Outaga is not required for Bundle Patch 34879707. But while rollback of Patch# 32253037 ,below message will be displayed .

Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.

(Oracle Home = ‘/u01/app/oracle/middleware’)

Pre patch activity:
===================

Backup of oraInventory:
========================

[oracle@oeml1v OPatch]$ cd /u00/app/oraInventory

[oracle@oeml1v app]$ ls -ltr
total 0
drwxr-x--- 12 oracle oinstall 233 Mar 24 08:38 oracle
drwxrwx---  6 oracle oinstall 105 May 17 08:35 oraInventory
[oracle@oeml1v app]$ tar -cvf oraInventory_bkp.tar oraInventory

Verify opatch version
==========================

[oracle@oeml1v 34879707]$ which opatch
/u01/app/oracle/middleware/OPatch/opatch
[oracle@oeml1v 34879707]$ opatch version
OPatch Version: 13.9.4.2.5

OPatch succeeded.

opatch lsinventory

[oracle@oeml1v 34879707]$ opatch lsinventory -jre $ORACLE_HOME/oracle_common/jdk/jre

opatch lsinventory
======================

[oracle@oeml1v 34879707]$ opatch lsinventory -jre $ORACLE_HOME/oracle_common/jdk/jre


opatch apply ==> found conflicts
===========================

[oracle@oeml1v 34879707]$ opatch apply

Received error : 
	Conflict with 32253037

	OPatch failed with error code 73


Conflicts found 
==================
Following patches have conflicts: [   32253037   34879707 ]
Use the MOS Patch Conflict Checker "https://support.oracle.com/epmos/faces/PatchConflictCheck" to resolve.
See MOS documents 1941934.1 and 1299688.1 for additional information and resolution methods.


Verify 32253037 patch 
=======================

[oracle@oeml1v 34879707]$ opatch lsinventory | grep 32253037
Patch  32253037     : applied on Wed Oct 12 11:46:43 EDT 2022
[oracle@oeml1v 34879707]$ opatch lsinventory -inactive |grep -i 32253037
[oracle@oeml1v 34879707]$ 


Verify Inactive Patches ==> opatch lsinventory -inactive
================================================

[oracle@oeml1v 34879707]$ opatch lsinventory -inactive
Oracle Interim Patch Installer version 13.9.4.2.5

Oracle Home       : /u01/app/oracle/middleware
Central Inventory : /u00/app/oraInventory
   from           : /u01/app/oracle/middleware/oraInst.loc
OPatch version    : 13.9.4.2.5
OUI version       : 13.9.4.0.0
Log file location : /u01/app/oracle/middleware/cfgtoollogs/opatch/opatch2023-05-20_01-46-31AM_1.log


OPatch detects the Middleware Home as "/u01/app/oracle/middleware"

Lsinventory Output file location : /u01/app/oracle/middleware/cfgtoollogs/opatch/lsinv/lsinventory2023-05-20_01-46-31AM.txt

--------------------------------------------------------------------------------
Local Machine Information::
Hostname: oeml1v
ARU platform id: 226
ARU platform description:: Linux_AMD64


There are no inactive patches installed in this Oracle Home.



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

[oracle@oeml1v 34879707]$ ps -ef| grep pmon
oracle      9337       1  0 May06 ?        00:01:16 ora_pmon_OEMDB
oracle   1582465 1546214  0 01:50 pts/0    00:00:00 grep --color=auto pmon

shutdown OEM Database
=========================

SQL> shutdown immediate;

Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> SQL> SQL> SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.16.0.0.0
[oracle@oeml1v 34879707]$



Set the Environment
=====================

[oracle@oeml1v 34879707]$ . oraenv
ORACLE_SID = [OEMDB] ? oem
The Oracle base has been changed from /u00/app/oracle to oms13c1
[oracle@oeml1v 34879707]$ export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$PATH

[oracle@oeml1v 34879707]$ echo $ORACLE_HOME
/u01/app/oracle/middleware

opatch rollback

[oracle@oeml1v 34879707]$ opatch rollback -id 32253037 -oh /u01/app/oracle/middleware

Oracle Interim Patch Installer version 13.9.4.2.5

Oracle Home       : /u01/app/oracle/middleware
Central Inventory : /u00/app/oraInventory
   from           : /u01/app/oracle/middleware/oraInst.loc
OPatch version    : 13.9.4.2.5
OUI version       : 13.9.4.0.0
Log file location : /u01/app/oracle/middleware/cfgtoollogs/opatch/opatch2023-05-20_01-54-48AM_1.log


OPatch detects the Middleware Home as "/u01/app/oracle/middleware"


Patches will be rolled back in the following order:
   32253037
The following patch(es) will be rolled back: 32253037

Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/u01/app/oracle/middleware')


Is the local system ready for patching? [y|n]
Y
User Responded with: Y

Rolling back patch 32253037...

RollbackSession rolling back interim patch '32253037' from OH '/u01/app/oracle/middleware'

Patching component oracle.wls.common.cam.wlst, 12.2.1.4.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.wls.evaluation.database, 12.2.1.4.0...

Patching component oracle.wls.evaluation.database, 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.shared.with.cam, 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.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.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.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.fmwconfig.common.wls.shared.internal, 12.2.1.4.0...

Patching component oracle.webservices.base, 12.2.1.4.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.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.org.bouncycastle.bcpkix.jdk15on, 1.60.0.0.0...

Patching component oracle.org.bouncycastle.bcpkix.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.wls.security.core.sharedlib, 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.wls.jrf.tenancy.ee.only.sharedlib, 12.2.1.4.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.webservices.wls, 12.2.1.4.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.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.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.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, 12.2.1.4.0...
RollbackSession removing interim patch '32253037' from inventory
Log file location: /u01/app/oracle/middleware/cfgtoollogs/opatch/opatch2023-05-20_01-54-48AM_1.log

OPatch succeeded.

opatch apply

[oracle@oeml1v 34879707]$ opatch apply

Oracle Interim Patch Installer version 13.9.4.2.5

Oracle Home       : /u01/app/oracle/middleware
Central Inventory : /u00/app/oraInventory
   from           : /u01/app/oracle/middleware/oraInst.loc
OPatch version    : 13.9.4.2.5
OUI version       : 13.9.4.0.0
Log file location : /u01/app/oracle/middleware/cfgtoollogs/opatch/opatch2023-05-20_01-56-24AM_1.log


OPatch detects the Middleware Home as "/u01/app/oracle/middleware"

Verifying environment and performing prerequisite checks...
OPatch continues with these patches:   34879707

Do you want to proceed? [y|n]
y
User Responded with: Y
All checks passed.

Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/u01/app/oracle/middleware')


Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...
Applying interim patch '34879707' to OH '/u01/app/oracle/middleware'
ApplySession: Optional component(s) [ oracle.org.apache.xmlbeans.xmlbeans, 2.3.0.0.0 ] , [ oracle.org.apache.xmlbeans.xmlbeans, 2.3.0.0.0 ] , [ oracle.org.springframework.spring.web.vrelease, 4.3.20.0.0 ] , [ oracle.org.springframework.spring.web.vrelease, 4.3.20.0.0 ] , [ oracle.org.apache.xmlbeans.xmlbeans, 2.6.0.0.0 ] , [ oracle.org.apache.xmlbeans.xmlbeans, 2.6.0.0.0 ] , [ oracle.org.springframework.spring.jms.vrelease, 4.3.20.0.0 ] , [ oracle.org.springframework.spring.jms.vrelease, 4.3.20.0.0 ] , [ oracle.com.google.code.gson.gson, 2.2.4.0.0 ] , [ oracle.com.google.code.gson.gson, 2.2.4.0.0 ] , [ oracle.com.google.code.gson.gson, 2.6.2.0.0 ] , [ oracle.com.google.code.gson.gson, 2.6.2.0.0 ] , [ oracle.org.springframework.spring.core.vrelease, 4.3.20.0.0 ] , [ oracle.org.springframework.spring.core.vrelease, 4.3.20.0.0 ] , [ oracle.org.springframework.spring.expression.vrelease, 4.3.20.0.0 ] , [ oracle.org.springframework.spring.expression.vrelease, 4.3.20.0.0 ] , [ oracle.org.springframework.spring.aop.vrelease, 4.3.20.0.0 ] , [ oracle.org.springframework.spring.aop.vrelease, 4.3.20.0.0 ] , [ oracle.org.springframework.spring.messaging.vrelease, 4.3.20.0.0 ] , [ oracle.org.springframework.spring.messaging.vrelease, 4.3.20.0.0 ] , [ oracle.org.springframework.spring.context.vrelease, 4.3.20.0.0 ] , [ oracle.org.springframework.spring.context.vrelease, 4.3.20.0.0 ] , [ oracle.org.jsoup.jsoup, 1.11.3.0.0 ] , [ oracle.org.jsoup.jsoup, 1.11.3.0.0 ] , [ oracle.org.springframework.spring.orm.vrelease, 4.3.20.0.0 ] , [ oracle.org.springframework.spring.orm.vrelease, 4.3.20.0.0 ] , [ oracle.org.apache.httpcomponents.httpclient, 4.5.1.0.0 ] , [ oracle.org.apache.httpcomponents.httpclient, 4.5.1.0.0 ] , [ oracle.org.springframework.spring.context.support.vrelease, 4.3.20.0.0 ] , [ oracle.org.springframework.spring.context.support.vrelease, 4.3.20.0.0 ] , [ oracle.org.springframework.spring.instrument.vrelease, 4.3.20.0.0 ] , [ oracle.org.springframework.spring.instrument.vrelease, 4.3.20.0.0 ] , [ oracle.org.springframework.spring.aspects.vrelease, 4.3.20.0.0 ] , [ oracle.org.springframework.spring.aspects.vrelease, 4.3.20.0.0 ] , [ oracle.org.springframework.spring.beans.vrelease, 4.3.20.0.0 ] , [ oracle.org.springframework.spring.beans.vrelease, 4.3.20.0.0 ] , [ oracle.org.springframework.spring.tx.vrelease, 4.3.20.0.0 ] , [ oracle.org.springframework.spring.tx.vrelease, 4.3.20.0.0 ] , [ oracle.org.springframework.spring.test.vrelease, 4.3.20.0.0 ] , [ oracle.org.springframework.spring.test.vrelease, 4.3.20.0.0 ] , [ oracle.org.springframework.spring.oxm.vrelease, 4.3.20.0.0 ] , [ oracle.org.springframework.spring.oxm.vrelease, 4.3.20.0.0 ] , [ oracle.org.hibernate.hibernate.validator.vfinal, 5.1.3.0.0 ] , [ oracle.org.hibernate.hibernate.validator.vfinal, 5.1.3.0.0 ] , [ oracle.org.jsoup.jsoup, 1.7.2.0.0 ] , [ oracle.org.jsoup.jsoup, 1.7.2.0.0 ] , [ oracle.org.springframework.spring.jdbc.vrelease, 4.3.20.0.0 ] , [ oracle.org.springframework.spring.jdbc.vrelease, 4.3.20.0.0 ] , [ oracle.org.springframework.spring.webmvc.vrelease, 4.3.20.0.0 ] , [ oracle.org.springframework.spring.webmvc.vrelease, 4.3.20.0.0 ] , [ oracle.org.springframework.spring.websocket.vrelease, 4.3.20.0.0 ] , [ oracle.org.springframework.spring.websocket.vrelease, 4.3.20.0.0 ]  not present in the Oracle Home or a higher version is found.

Patching component oracle.org.springframework.spring.aop.vrelease, 5.1.3.0.0...

Patching component oracle.org.springframework.spring.aop.vrelease, 5.1.3.0.0...

Patching component oracle.org.springframework.spring.web.vrelease, 5.1.3.0.0...

Patching component oracle.org.springframework.spring.web.vrelease, 5.1.3.0.0...

Patching component oracle.org.springframework.spring.messaging.vrelease, 5.1.3.0.0...

Patching component oracle.org.springframework.spring.messaging.vrelease, 5.1.3.0.0...

Patching component oracle.org.owasp.esapi.esapi, 2.1.0.1.0...

Patching component oracle.org.owasp.esapi.esapi, 2.1.0.1.0...

Patching component oracle.org.apache.xmlgraphics.batik.bundle, 1.11.0.0.1...

Patching component oracle.org.apache.xmlgraphics.batik.bundle, 1.11.0.0.1...

Patching component oracle.org.springframework.spring.tx.vrelease, 5.1.3.0.0...

Patching component oracle.org.springframework.spring.tx.vrelease, 5.1.3.0.0...

Patching component oracle.org.apache.httpcomponents.httpclient, 4.5.6.0.0...

Patching component oracle.org.apache.httpcomponents.httpclient, 4.5.6.0.0...

Patching component oracle.org.springframework.spring.core.vrelease, 5.1.3.0.0...

Patching component oracle.org.springframework.spring.core.vrelease, 5.1.3.0.0...

Patching component oracle.org.springframework.spring.context.support.vrelease, 5.1.3.0.0...

Patching component oracle.org.springframework.spring.context.support.vrelease, 5.1.3.0.0...

Patching component oracle.org.springframework.spring.jcl.vrelease, 5.1.3.0.0...

Patching component oracle.org.springframework.spring.jcl.vrelease, 5.1.3.0.0...

Patching component oracle.org.springframework.spring.webflux.vrelease, 5.1.3.0.0...

Patching component oracle.org.springframework.spring.webflux.vrelease, 5.1.3.0.0...

Patching component oracle.org.springframework.spring.oxm.vrelease, 5.1.3.0.0...

Patching component oracle.org.springframework.spring.oxm.vrelease, 5.1.3.0.0...

Patching component oracle.org.springframework.spring.context.indexer.vrelease, 5.1.3.0.0...

Patching component oracle.org.springframework.spring.context.indexer.vrelease, 5.1.3.0.0...

Patching component oracle.org.python.jython.standalone, 2.7.1.0.1...

Patching component oracle.org.python.jython.standalone, 2.7.1.0.1...

Patching component oracle.org.springframework.spring.test.vrelease, 5.1.3.0.0...

Patching component oracle.org.springframework.spring.test.vrelease, 5.1.3.0.0...

Patching component oracle.org.springframework.spring.webmvc.vrelease, 5.1.3.0.0...

Patching component oracle.org.springframework.spring.webmvc.vrelease, 5.1.3.0.0...

Patching component oracle.org.springframework.spring.websocket.vrelease, 5.1.3.0.0...

Patching component oracle.org.springframework.spring.websocket.vrelease, 5.1.3.0.0...

Patching component oracle.org.springframework.spring.aspects.vrelease, 5.1.3.0.0...

Patching component oracle.org.springframework.spring.aspects.vrelease, 5.1.3.0.0...

Patching component oracle.org.springframework.spring.jdbc.vrelease, 5.1.3.0.0...

Patching component oracle.org.springframework.spring.jdbc.vrelease, 5.1.3.0.0...

Patching component oracle.org.springframework.spring.expression.vrelease, 5.1.3.0.0...

Patching component oracle.org.springframework.spring.expression.vrelease, 5.1.3.0.0...

Patching component oracle.org.springframework.spring.jms.vrelease, 5.1.3.0.0...

Patching component oracle.org.springframework.spring.jms.vrelease, 5.1.3.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.apache.commons.commons.configuration2, 2.4.0.0.0...

Patching component oracle.org.apache.commons.commons.configuration2, 2.4.0.0.0...

Patching component oracle.org.springframework.spring.beans.vrelease, 5.1.3.0.0...

Patching component oracle.org.springframework.spring.beans.vrelease, 5.1.3.0.0...

Patching component oracle.commons.beanutils.commons.beanutils, 1.9.3.0.0...

Patching component oracle.commons.beanutils.commons.beanutils, 1.9.3.0.0...

Patching component oracle.com.googlecode.owasp_java.html.sanitizer.owasp_java.html.sanitizer, 20190325.1.0.0.0...

Patching component oracle.com.googlecode.owasp_java.html.sanitizer.owasp_java.html.sanitizer, 20190325.1.0.0.0...

Patching component oracle.org.apache.commons.commons.text, 1.6.0.0.0...

Patching component oracle.org.apache.commons.commons.text, 1.6.0.0.0...

Patching component oracle.org.springframework.spring.orm.vrelease, 5.1.3.0.0...

Patching component oracle.org.springframework.spring.orm.vrelease, 5.1.3.0.0...

Patching component oracle.org.springframework.spring.instrument.vrelease, 5.1.3.0.0...

Patching component oracle.org.springframework.spring.instrument.vrelease, 5.1.3.0.0...

Patching component oracle.org_dom4j_dom4j, 2.1.1.0.0...

Patching component oracle.org_dom4j_dom4j, 2.1.1.0.0...

Patching component oracle.org.springframework.spring.context.vrelease, 5.1.3.0.0...

Patching component oracle.org.springframework.spring.context.vrelease, 5.1.3.0.0...
Patch 34879707 successfully applied.
Log file location: /u01/app/oracle/middleware/cfgtoollogs/opatch/opatch2023-05-20_01-56-24AM_1.log

OPatch succeeded.

Verify rolled back patch

[oracle@oeml1v 34879707]$ opatch lsinventory | grep 32253037

[oracle@oeml1v 34879707]$

Start the Database
====================

[oracle@oeml1v 34879707]$ . oraenv
ORACLE_SID = [oem] ? OEMDB
The Oracle base has been changed from oms13c1 to /u00/app/oracle
[oracle@oeml1v 34879707]$ sqlplus / as sysdba

SQL*Plus: Release 19.0.0.0.0 - Production on Sat May 20 02:02:03 2023
Version 19.16.0.0.0

Connected to an idle instance.

SQL> startup;
ORACLE instance started.

Total System Global Area 1.3623E+10 bytes
Fixed Size                 13630584 bytes
Variable Size            5033164800 bytes
Database Buffers         8556380160 bytes
Redo Buffers               19922944 bytes
Database mounted.
Database opened.
SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.16.0.0.0

Verify the Patch : 
===================
[oracle@oeml1v OPatch]$ ./opatch lsinventory | grep 34879707
Patch  34879707     : applied on Sat May 20 01:57:07 EDT 2023
[oracle@oeml1v OPatch]$