Since the 19th of April there is a new patch set available for Weblogic servers – Patch 22505404: WLS PATCH SET UPDATE 12.1.3.0.160419. This patchset has included 116 fixes and is a generic one. The patch is listed in the Enterprise Manager 13c as recommended. OPatch has no to be updated. This patch is not an online patch, you have to shut down your running EM13c server.
This blog post describes the apply of the Weblogic patch set update in an Enterprise Manager 13c environment running on a Oracle Linux server.
Prepare Patch Set Update on EM13c Server
The patch file has to be extracted. I have copied to file to a stage directory /u00/app/oracle/stage on the EM13c server.
[oracle@solothurn stage]$ unzip p22505404_121300_Generic.zip
Set ORACLE_HOME
Set the ORACLE_HOME variable to the directory where the Oracle Enterprise Manager 13c is located. In my example the EM13 is installed in directory /u00/app/oracle/product/em13cr1.
[oracle@solothurn ~]$ export ORACLE_HOME=/u00/app/oracle/product/em13cr1
Stop running Oracle Enterprise Manager 13c
[oracle@solothurn stage]$ $ORACLE_HOME/bin/emctl stop oms -all Oracle Enterprise Manager Cloud Control 13c Release 1 Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved. Stopping Oracle Management Server... WebTier Successfully Stopped Oracle Management Server Successfully Stopped Oracle Management Server is Down JVMD Engine is Down Stopping BI Publisher Server... BI Publisher Server Successfully Stopped AdminServer Successfully Stopped BI Publisher Server is Down [oracle@solothurn stage]$
Apply Patch 22505404: WLS PATCH SET UPDATE 12.1.3.0.160419
Go to the extracted patch set directory:
[oracle@solothurn ~]$ cd /u00/app/oracle/stage/22505404
Apply the patch:
[oracle@solothurn 22505404]$ $ORACLE_HOME/OPatch/opatch apply Oracle Interim Patch Installer version 13.6.0.0.0 Copyright (c) 2016, Oracle Corporation. All rights reserved. Oracle Home : /u00/app/oracle/product/em13cr1 Central Inventory : /u00/app/oraInventory from : /u00/app/oracle/product/em13cr1/oraInst.loc OPatch version : 13.6.0.0.0 OUI version : 13.6.0.0.0 Log file location : /u00/app/oracle/product/em13cr1/cfgtoollogs/opatch/22505404_Apr_29_2016_11_56_25/apply2016-04-29_11-56-22AM_1.log OPatch detects the Middleware Home as "/u00/app/oracle/product/em13cr1" Verifying environment and performing prerequisite checks... Conflicts/Supersets for each patch are: Patch : 22505404 Bug Superset of 21983457 Super set bugs are: 21746415, 19351700, 21107126, 18289179, 20985893, 21495475, 19668883, 19033547, 22200491, 19533331, 19339238, 19988824, 19268444, 19299358, 19730967, 21252292, 19874466, 22248079, 19585666, 18276961, 18729264, 18432174, 19422493, 19942900, 18859387, 18481239, 18376812, 20266379, 18691894, 20333386, 20471785, 19297004, 20613957, 19917893, 22175246, 22200523, 19556868, 17702917, 19066738, 19080525, 20080751, 19790693, 21169554, 17968606, 19001915, 20758863, 18466848, 18727635, 21756751, 18922324, 18746515, 18945422, 18428696, 21516492, 18912482, 20798352, 18836900, 18753794, 19936917, 19852007, 22200594, 18082758, 19265688, 20169972, 19287874, 18722098, 22200449, 20206879, 20323632, 18305935, 17012341, 19459949, 18964349, 18538501, 21615827, 20523619, 19879223, 18718889, 19883023, 19917991, 17721032, 18968900, 19928803, 18671042, 20814890, 19703527, 22247869, 20906638, 19953516, 21069524, 16562029, 20229977, 18589879, 19705162, 19576633, 19287842, 19907066, 19500276, 19973098, 17394051 Patches [ 21983457 ] will be rolled back. OPatch continues with these patches: 22505404 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 = '/u00/app/oracle/product/em13cr1') Is the local system ready for patching? [y|n] y User Responded with: Y Backing up files... Applying interim patch '22505404' to OH '/u00/app/oracle/product/em13cr1' Rolling back interim patch '21983457' from OH '/u00/app/oracle/product/em13cr1' Patching component oracle.wls.libraries.mod, 12.1.3.0.0... Patching component oracle.wls.libraries.mod, 12.1.3.0.0... ... ... Some more output here.... ... Patching component oracle.wls.admin.console.en, 12.1.3.0.0... Patching component oracle.wls.admin.console.en, 12.1.3.0.0... Patch 22505404 successfully applied. OPatch Session completed with warnings. Log file location: /u00/app/oracle/product/em13cr1/cfgtoollogs/opatch/22505404_Apr_29_2016_11_56_25/apply2016-04-29_11-56-22AM_1.log OPatch completed with warnings.
You can ignore the warning message, it’s because OPatch has to rollback a previous installed patch.
Start Oracle Enterprise Manager 13c
[oracle@solothurn ~]$ $ORACLE_HOME/bin/emctl start oms Oracle Enterprise Manager Cloud Control 13c Release 1 Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved. Starting Oracle Management Server... WebTier Successfully Started Oracle Management Server Successfully Started Oracle Management Server is Up JVMD Engine is Up Starting BI Publisher Server ... BI Publisher Server Successfully Started BI Publisher Server is Up [oracle@solothurn stage]$
Summary
Patching of the underlying Weblogic component has the same importance like patching the other components like databases and agents. Since Weblogic 12c is used for the Enteprise Manager, patching can be done with the DBA well known OPatch tool which is very easy and good documented.