Skip to content
Home » Oracle » How WebLogic Update Opatch

How WebLogic Update Opatch

Update OPatch of Weblogic

In order to patch Weblogic server 12.2.1.3 and later on, we have to upgrade OPatch utility first. Specifically, upgrade OPatch from 13.9.2.0.0 to 13.9.4.0.0.

New Replacing Process

Historically, OPatch was updated by unzipping and replacing ORACLE_HOME/OPatch directory. For versions greater than or equal to 13.6, it now uses the OUI installation tooling.

According to official saying, this ensures that installer both executes the file updates and logs the components and file changes to the OUI meta-data. A pure unzip install means the OUI tooling is not aware of these changes, which has on occasions led to upgrade related issues.

Since the new process of replacing OPatch may not look familiar to us, so we should take a look at it carefully.

Check Current OPatch Version

Conventionally, we use opatch version to check OPatch version and opatch lsinventory to see more components.

[oracle@admin ~]$ cd $ORACLE_HOME/OPatch
[oracle@admin OPatch]$ pwd
/Oracle/Middleware/Oracle_Home/OPatch
[oracle@admin OPatch]$ which opatch
/Oracle/Middleware/Oracle_Home/OPatch/opatch
[oracle@admin OPatch]$ opatch version
OPatch Version: 13.9.2.0.0

OPatch succeeded.
[oracle@admin OPatch]$ opatch lsinventory
Oracle Interim Patch Installer version 13.9.2.0.0
Copyright (c) 2019, Oracle Corporation.  All rights reserved.


Oracle Home       : /Oracle/Middleware/Oracle_Home
Central Inventory : /home/oracle/oraInventory
   from           : /Oracle/Middleware/Oracle_Home/oraInst.loc
OPatch version    : 13.9.2.0.0
OUI version       : 13.9.2.0.0
Log file location : /Oracle/Middleware/Oracle_Home/cfgtoollogs/opatch/opatch2019-01-16_09-50-24AM_1.log


OPatch detects the Middleware Home as "/Oracle/Middleware/Oracle_Home"

Lsinventory Output file location : /Oracle/Middleware/Oracle_Home/cfgtoollogs/opatch/lsinv/lsinventory2019-01-16_09-50-24AM.txt

--------------------------------------------------------------------------------
Local Machine Information::
Hostname: admin.example.com
ARU platform id: 226
ARU platform description:: Linux x86-64


Interim patches (4) :

Patch  26355633     : applied on Mon Jan 14 16:45:21 CST 2019
Unique Patch ID:  21447583
Patch description:  "One-off"
   Created on 1 Aug 2017, 21:40:20 hrs UTC
   Bugs fixed:
     26355633

Patch  26287183     : applied on Mon Jan 14 16:45:07 CST 2019
Unique Patch ID:  21447582
Patch description:  "One-off"
   Created on 1 Aug 2017, 21:41:27 hrs UTC
   Bugs fixed:
     26287183

Patch  26261906     : applied on Mon Jan 14 16:44:44 CST 2019
Unique Patch ID:  21344506
Patch description:  "One-off"
   Created on 12 Jun 2017, 23:36:08 hrs UTC
   Bugs fixed:
     25559137, 25232931, 24811916

Patch  26051289     : applied on Mon Jan 14 16:44:37 CST 2019
Unique Patch ID:  21455037
Patch description:  "One-off"
   Created on 31 Jul 2017, 22:11:57 hrs UTC
   Bugs fixed:
     26051289



--------------------------------------------------------------------------------

OPatch succeeded.

Please note that, OPatch and OUI version are all 13.9.2.0.0.

Upload and Unzip Patch 28186730

Patch 28186730 is for updating Opatch utility to 13.9.4.

[oracle@admin OPatch]$ ll
...
-rwxr-xr-x 1 oracle oinstall 48663880 Jan 16 10:40 p28186730_139400_Generic.zip
...
[oracle@admin OPatch]$ unzip -q p28186730_139400_Generic.zip
[oracle@admin OPatch]$ ll
...
drwxr-xr-x 2 oracle oinstall       69 Jul  5  2018 6880880
...
-rwxr-xr-x 1 oracle oinstall 48663880 Jan 16 10:40 p28186730_139400_Generic.zip
...

I really suggest that you should go through readme.txt first every time you perform a patch before going further in case of patching failure.

Update OPatch in Silent Mode

We use the silent mode to install the newest OPatch. It's really fast.

[oracle@admin OPatch]$ java -jar 6880880/opatch_generic.jar -silent ORACLE_HOME=$ORACLE_HOME
Launcher log file is /tmp/OraInstall2019-01-16_11-29-28AM/launcher2019-01-16_11-29-28AM.log.
Extracting the installer . . . . Done
Checking if CPU speed is above 300 MHz.   Actual 2399.544 MHz    Passed
Checking swap space: must be greater than 512 MB.   Actual 8191 MB    Passed
Checking if this platform requires a 64-bit JVM.   Actual 64    Passed (64-bit not required)
Checking temp space: must be greater than 300 MB.   Actual 77553 MB    Passed
Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2019-01-16_11-29-28AM
Installation Summary


Disk Space : Required 36 MB, Available 77,511 MB
Feature Sets to Install:
        Next Generation Install Core 13.9.3.0.0
        OPatch 13.9.4.0.0
        OPatch Auto OPlan 13.9.4.0.0
        OPatch Auto FMW 13.9.4.0.0
Session log file is /tmp/OraInstall2019-01-16_11-29-28AM/install2019-01-16_11-29-28AM.log

Loading products list. Please wait.
 1%
 40%

Loading products. Please wait.
 41%
 42%
 43%
 44%
 45%
 46%
 47%
 48%
 49%
 50%
 51%
 52%
 53%
 54%
 55%
 56%
 57%
 58%
 59%
 60%
 61%
 62%
 63%
 64%
 65%
 66%
 67%
 68%
 69%
 70%
 71%
 72%
 73%
 74%
 75%
 76%
 77%
 78%
 79%
 80%
 81%
 82%
 83%
 84%
 85%
 86%
 87%
 88%
 89%
 90%
 91%
 92%
 93%
 94%
 95%
 96%
 97%
 98%
 99%

Updating Libraries



Starting Installations
 1%
 2%
 3%
 4%
 5%
 6%
 7%
 8%
 9%
 10%
 11%
 12%
 13%
 14%
 15%
 16%
 17%
 18%
 19%
 20%
 21%
 22%
 23%
 24%
 25%
 26%
 27%
 28%
 29%
 30%
 31%
 32%
 33%
 34%
 35%
 36%
 37%
 38%
 39%
 40%
 41%
 42%
 43%
 44%
 45%
 46%
 47%
 48%
 49%
 50%
 51%
 52%
 53%
 54%
 55%
 56%
 57%
 58%
 59%
 60%
 61%
 62%
 63%

Install pending

Installation in progress

 Component : oracle.com.fasterxml.jackson.core.jackson.core 2.7.9.0.0

Copying files for oracle.com.fasterxml.jackson.core.jackson.core 2.7.9.0.0

 Component : oracle.com.fasterxml.jackson.core.jackson.databind 2.7.9.1.0

Copying files for oracle.com.fasterxml.jackson.core.jackson.databind 2.7.9.1.0

 Component : oracle.com.jcraft.jsch 0.1.53.0.0

Copying files for oracle.com.jcraft.jsch 0.1.53.0.0

 Component : oracle.commons.cli.commons.cli 1.3.1.0.0

Copying files for oracle.commons.cli.commons.cli 1.3.1.0.0

 Component : oracle.org.apache.commons.commons.compress 1.9.0.0.0

Copying files for oracle.org.apache.commons.commons.compress 1.9.0.0.0

 Component : oracle.xerces.xercesimpl 2.11.0.0.0

Copying files for oracle.xerces.xercesimpl 2.11.0.0.0

 Component : oracle.java.xml.bind 2.3.0.0.0

Copying files for oracle.java.xml.bind 2.3.0.0.0

 Component : oracle.java.activation 12.2.1.3.0

Copying files for oracle.java.activation 12.2.1.3.0

 Component : oracle.jaxb.tools 2.3.0.0.0

Copying files for oracle.jaxb.tools 2.3.0.0.0

 Component : oracle.jaxb.impl 2.3.0.0.0

Copying files for oracle.jaxb.impl 2.3.0.0.0

 Component : oracle.jaxb.core 2.3.0.0.0

Copying files for oracle.jaxb.core 2.3.0.0.0

 Component : oracle.glcm.logging 1.6.3.0.0

Copying files for oracle.glcm.logging 1.6.3.0.0

 Component : oracle.glcm.comdev 7.8.3.0.0

Copying files for oracle.glcm.comdev 7.8.3.0.0

 Component : oracle.glcm.dependency 1.8.3.0.0

Copying files for oracle.glcm.dependency 1.8.3.0.0

 Component : oracle.glcm.xmldh 3.4.3.0.0

Copying files for oracle.glcm.xmldh 3.4.3.0.0

 Component : oracle.glcm.wizard 7.8.3.0.0

Copying files for oracle.glcm.wizard 7.8.3.0.0

 Component : oracle.glcm.encryption 2.7.3.0.0

Copying files for oracle.glcm.encryption 2.7.3.0.0

 Component : oracle.glcm.opatch.common.api 13.9.3.0.0

Copying files for oracle.glcm.opatch.common.api 13.9.3.0.0

 Component : oracle.nginst.common 13.9.3.0.0

Copying files for oracle.nginst.common 13.9.3.0.0

 Component : oracle.nginst.core 13.9.3.0.0

Copying files for oracle.nginst.core 13.9.3.0.0

 Component : oracle.nginst.thirdparty 13.9.3.0.0

Copying files for oracle.nginst.thirdparty 13.9.3.0.0

 Component : oracle.swd.opatch 13.9.4.0.0

Copying files for oracle.swd.opatch 13.9.4.0.0

 Component : oracle.glcm.osys.core 13.9.1.0.0

Copying files for oracle.glcm.osys.core 13.9.1.0.0

 Component : oracle.glcm.oplan.core 13.9.4.0.0

Copying files for oracle.glcm.oplan.core 13.9.4.0.0

 Component : oracle.glcm.opatchauto.core 13.9.4.0.0

Copying files for oracle.glcm.opatchauto.core 13.9.4.0.0

 Component : oracle.glcm.opatchauto.fmw 13.9.4.0.0

Copying files for oracle.glcm.opatchauto.fmw 13.9.4.0.0

Install successful

Post feature install pending

Post Feature installing

 Feature Set : jackson-core_2.7.9.0.0

 Feature Set : jackson-databind_2.7.9.1.0

Post Feature installing jackson-databind_2.7.9.1.0

 Feature Set : jsch_0.1.53.0.0

Post Feature installing jsch_0.1.53.0.0

Post Feature installing jackson-core_2.7.9.0.0

 Feature Set : commons-cli_1.3.1.0.0

Post Feature installing commons-cli_1.3.1.0.0

 Feature Set : commons-cli

Post Feature installing commons-cli

 Feature Set : commons-compress_1.9.0.0.0

Post Feature installing commons-compress_1.9.0.0.0

 Feature Set : commons-compress

Post Feature installing commons-compress

 Feature Set : xercesimpl_2.11.0.0.0

Post Feature installing xercesimpl_2.11.0.0.0

 Feature Set : adf.runtime.war

Post Feature installing adf.runtime.war

 Feature Set : glcm_common_logging_lib

Post Feature installing glcm_common_logging_lib

 Feature Set : glcm_common_lib

Post Feature installing glcm_common_lib

 Feature Set : glcm_encryption_lib

Post Feature installing glcm_encryption_lib

 Feature Set : oracle.glcm.opatch.common.api.classpath

Post Feature installing oracle.glcm.opatch.common.api.classpath

 Feature Set : oracle.glcm.osys.core.classpath

Post Feature installing oracle.glcm.osys.core.classpath

 Feature Set : oracle.glcm.oplan.core.classpath

Post Feature installing oracle.glcm.oplan.core.classpath

 Feature Set : oracle.glcm.opatchauto.core.classpath

Post Feature installing oracle.glcm.opatchauto.core.classpath

 Feature Set : oracle.glcm.opatchauto.core.binary.classpath

Post Feature installing oracle.glcm.opatchauto.core.binary.classpath

 Feature Set : oracle.glcm.opatchauto.core.actions.classpath

Post Feature installing oracle.glcm.opatchauto.core.actions.classpath

 Feature Set : oracle.glcm.opatchauto.core.wallet.classpath

Post Feature installing oracle.glcm.opatchauto.core.wallet.classpath

 Feature Set : oracle.glcm.opatchauto.fmw.actions.classpath

Post Feature installing oracle.glcm.opatchauto.fmw.actions.classpath

Post feature install complete

String substitutions pending

String substituting

 Component : oracle.com.fasterxml.jackson.core.jackson.core 2.7.9.0.0

String substituting oracle.com.fasterxml.jackson.core.jackson.core 2.7.9.0.0

 Component : oracle.com.fasterxml.jackson.core.jackson.databind 2.7.9.1.0

String substituting oracle.com.fasterxml.jackson.core.jackson.databind 2.7.9.1.0

 Component : oracle.com.jcraft.jsch 0.1.53.0.0

String substituting oracle.com.jcraft.jsch 0.1.53.0.0

 Component : oracle.commons.cli.commons.cli 1.3.1.0.0

String substituting oracle.commons.cli.commons.cli 1.3.1.0.0

 Component : oracle.org.apache.commons.commons.compress 1.9.0.0.0

String substituting oracle.org.apache.commons.commons.compress 1.9.0.0.0

 Component : oracle.xerces.xercesimpl 2.11.0.0.0

String substituting oracle.xerces.xercesimpl 2.11.0.0.0

 Component : oracle.java.xml.bind 2.3.0.0.0

String substituting oracle.java.xml.bind 2.3.0.0.0

 Component : oracle.java.activation 12.2.1.3.0

String substituting oracle.java.activation 12.2.1.3.0

 Component : oracle.jaxb.tools 2.3.0.0.0

String substituting oracle.jaxb.tools 2.3.0.0.0

 Component : oracle.jaxb.impl 2.3.0.0.0

String substituting oracle.jaxb.impl 2.3.0.0.0

 Component : oracle.jaxb.core 2.3.0.0.0

String substituting oracle.jaxb.core 2.3.0.0.0

 Component : oracle.glcm.logging 1.6.3.0.0

String substituting oracle.glcm.logging 1.6.3.0.0

 Component : oracle.glcm.comdev 7.8.3.0.0

String substituting oracle.glcm.comdev 7.8.3.0.0

 Component : oracle.glcm.dependency 1.8.3.0.0

String substituting oracle.glcm.dependency 1.8.3.0.0

 Component : oracle.glcm.xmldh 3.4.3.0.0

String substituting oracle.glcm.xmldh 3.4.3.0.0

 Component : oracle.glcm.wizard 7.8.3.0.0

String substituting oracle.glcm.wizard 7.8.3.0.0

 Component : oracle.glcm.encryption 2.7.3.0.0

String substituting oracle.glcm.encryption 2.7.3.0.0

 Component : oracle.glcm.opatch.common.api 13.9.3.0.0

String substituting oracle.glcm.opatch.common.api 13.9.3.0.0

 Component : oracle.nginst.common 13.9.3.0.0

String substituting oracle.nginst.common 13.9.3.0.0

 Component : oracle.nginst.core 13.9.3.0.0

String substituting oracle.nginst.core 13.9.3.0.0

 Component : oracle.nginst.thirdparty 13.9.3.0.0

String substituting oracle.nginst.thirdparty 13.9.3.0.0

 Component : oracle.swd.opatch 13.9.4.0.0

String substituting oracle.swd.opatch 13.9.4.0.0

 Component : oracle.glcm.osys.core 13.9.1.0.0

String substituting oracle.glcm.osys.core 13.9.1.0.0

 Component : oracle.glcm.oplan.core 13.9.4.0.0

String substituting oracle.glcm.oplan.core 13.9.4.0.0

 Component : oracle.glcm.opatchauto.core 13.9.4.0.0

String substituting oracle.glcm.opatchauto.core 13.9.4.0.0

 Component : oracle.glcm.opatchauto.fmw 13.9.4.0.0

String substituting oracle.glcm.opatchauto.fmw 13.9.4.0.0

String substitutions complete

Link pending

Linking in progress

 Component : oracle.com.fasterxml.jackson.core.jackson.core 2.7.9.0.0

Linking oracle.com.fasterxml.jackson.core.jackson.core 2.7.9.0.0

 Component : oracle.com.fasterxml.jackson.core.jackson.databind 2.7.9.1.0

Linking oracle.com.fasterxml.jackson.core.jackson.databind 2.7.9.1.0

 Component : oracle.com.jcraft.jsch 0.1.53.0.0

Linking oracle.com.jcraft.jsch 0.1.53.0.0

 Component : oracle.commons.cli.commons.cli 1.3.1.0.0

Linking oracle.commons.cli.commons.cli 1.3.1.0.0

 Component : oracle.org.apache.commons.commons.compress 1.9.0.0.0

Linking oracle.org.apache.commons.commons.compress 1.9.0.0.0

 Component : oracle.xerces.xercesimpl 2.11.0.0.0

Linking oracle.xerces.xercesimpl 2.11.0.0.0

 Component : oracle.java.xml.bind 2.3.0.0.0

Linking oracle.java.xml.bind 2.3.0.0.0

 Component : oracle.java.activation 12.2.1.3.0

Linking oracle.java.activation 12.2.1.3.0

 Component : oracle.jaxb.tools 2.3.0.0.0

Linking oracle.jaxb.tools 2.3.0.0.0

 Component : oracle.jaxb.impl 2.3.0.0.0

Linking oracle.jaxb.impl 2.3.0.0.0

 Component : oracle.jaxb.core 2.3.0.0.0

Linking oracle.jaxb.core 2.3.0.0.0

 Component : oracle.glcm.logging 1.6.3.0.0

Linking oracle.glcm.logging 1.6.3.0.0

 Component : oracle.glcm.comdev 7.8.3.0.0

Linking oracle.glcm.comdev 7.8.3.0.0

 Component : oracle.glcm.dependency 1.8.3.0.0

Linking oracle.glcm.dependency 1.8.3.0.0

 Component : oracle.glcm.xmldh 3.4.3.0.0

Linking oracle.glcm.xmldh 3.4.3.0.0

 Component : oracle.glcm.wizard 7.8.3.0.0

Linking oracle.glcm.wizard 7.8.3.0.0

 Component : oracle.glcm.encryption 2.7.3.0.0

Linking oracle.glcm.encryption 2.7.3.0.0

 Component : oracle.glcm.opatch.common.api 13.9.3.0.0

Linking oracle.glcm.opatch.common.api 13.9.3.0.0

 Component : oracle.nginst.common 13.9.3.0.0

Linking oracle.nginst.common 13.9.3.0.0

 Component : oracle.nginst.core 13.9.3.0.0

Linking oracle.nginst.core 13.9.3.0.0

 Component : oracle.nginst.thirdparty 13.9.3.0.0

Linking oracle.nginst.thirdparty 13.9.3.0.0

 Component : oracle.swd.opatch 13.9.4.0.0

Linking oracle.swd.opatch 13.9.4.0.0

 Component : oracle.glcm.osys.core 13.9.1.0.0

Linking oracle.glcm.osys.core 13.9.1.0.0

 Component : oracle.glcm.oplan.core 13.9.4.0.0

Linking oracle.glcm.oplan.core 13.9.4.0.0

 Component : oracle.glcm.opatchauto.core 13.9.4.0.0

Linking oracle.glcm.opatchauto.core 13.9.4.0.0

 Component : oracle.glcm.opatchauto.fmw 13.9.4.0.0

Linking oracle.glcm.opatchauto.fmw 13.9.4.0.0

Linking in progress

Link successful

Setup pending

Setup in progress

 Component : oracle.com.fasterxml.jackson.core.jackson.core 2.7.9.0.0

Setting up oracle.com.fasterxml.jackson.core.jackson.core 2.7.9.0.0

 Component : oracle.com.fasterxml.jackson.core.jackson.databind 2.7.9.1.0

Setting up oracle.com.fasterxml.jackson.core.jackson.databind 2.7.9.1.0

 Component : oracle.com.jcraft.jsch 0.1.53.0.0

Setting up oracle.com.jcraft.jsch 0.1.53.0.0

 Component : oracle.commons.cli.commons.cli 1.3.1.0.0

Setting up oracle.commons.cli.commons.cli 1.3.1.0.0

 Component : oracle.org.apache.commons.commons.compress 1.9.0.0.0

Setting up oracle.org.apache.commons.commons.compress 1.9.0.0.0

 Component : oracle.xerces.xercesimpl 2.11.0.0.0

Setting up oracle.xerces.xercesimpl 2.11.0.0.0

 Component : oracle.java.xml.bind 2.3.0.0.0

Setting up oracle.java.xml.bind 2.3.0.0.0

 Component : oracle.java.activation 12.2.1.3.0

Setting up oracle.java.activation 12.2.1.3.0

 Component : oracle.jaxb.tools 2.3.0.0.0

Setting up oracle.jaxb.tools 2.3.0.0.0

 Component : oracle.jaxb.impl 2.3.0.0.0

Setting up oracle.jaxb.impl 2.3.0.0.0

 Component : oracle.jaxb.core 2.3.0.0.0

Setting up oracle.jaxb.core 2.3.0.0.0

 Component : oracle.glcm.logging 1.6.3.0.0

Setting up oracle.glcm.logging 1.6.3.0.0

 Component : oracle.glcm.comdev 7.8.3.0.0

Setting up oracle.glcm.comdev 7.8.3.0.0

 Component : oracle.glcm.dependency 1.8.3.0.0

Setting up oracle.glcm.dependency 1.8.3.0.0

 Component : oracle.glcm.xmldh 3.4.3.0.0

Setting up oracle.glcm.xmldh 3.4.3.0.0

 Component : oracle.glcm.wizard 7.8.3.0.0

Setting up oracle.glcm.wizard 7.8.3.0.0

 Component : oracle.glcm.encryption 2.7.3.0.0

Setting up oracle.glcm.encryption 2.7.3.0.0

 Component : oracle.glcm.opatch.common.api 13.9.3.0.0

Setting up oracle.glcm.opatch.common.api 13.9.3.0.0

 Component : oracle.nginst.common 13.9.3.0.0

Setting up oracle.nginst.common 13.9.3.0.0

 Component : oracle.nginst.core 13.9.3.0.0

Setting up oracle.nginst.core 13.9.3.0.0

 Component : oracle.nginst.thirdparty 13.9.3.0.0

Setting up oracle.nginst.thirdparty 13.9.3.0.0

 Component : oracle.swd.opatch 13.9.4.0.0

Setting up oracle.swd.opatch 13.9.4.0.0

 Component : oracle.glcm.osys.core 13.9.1.0.0

Setting up oracle.glcm.osys.core 13.9.1.0.0

 Component : oracle.glcm.oplan.core 13.9.4.0.0

Setting up oracle.glcm.oplan.core 13.9.4.0.0

 Component : oracle.glcm.opatchauto.core 13.9.4.0.0

Setting up oracle.glcm.opatchauto.core 13.9.4.0.0

 Component : oracle.glcm.opatchauto.fmw 13.9.4.0.0

Setting up oracle.glcm.opatchauto.fmw 13.9.4.0.0

Setup successful

Save inventory pending

Saving inventory
 64%

Saving inventory complete
 65%

Configuration complete

 Component : glcm_common_logging_lib

Saving the inventory glcm_common_logging_lib

 Component : glcm_common_lib

Saving the inventory glcm_common_lib

 Component : cieCfg_common_rcu_lib

Saving the inventory cieCfg_common_rcu_lib

 Component : oracle.glcm.opatch.common.api.classpath

Saving the inventory oracle.glcm.opatch.common.api.classpath

 Component : glcm_encryption_lib

Saving the inventory glcm_encryption_lib

 Component : oracle.glcm.logging

Saving the inventory oracle.glcm.logging

 Component : cieCfg_common_lib

Saving the inventory cieCfg_common_lib

 Component : svctbl_lib

Saving the inventory svctbl_lib

 Component : com.bea.core.binxml_dependencies

Saving the inventory com.bea.core.binxml_dependencies

 Component : svctbl_jmx_client

Saving the inventory svctbl_jmx_client

 Component : cieCfg_wls_shared_lib

Saving the inventory cieCfg_wls_shared_lib

 Component : oracle.glcm.opatchauto.core.classpath

Saving the inventory oracle.glcm.opatchauto.core.classpath

 Component : oracle.glcm.opatchauto.core.binary.classpath

Saving the inventory oracle.glcm.opatchauto.core.binary.classpath

 Component : oracle.glcm.opatchauto.core.actions.classpath

Saving the inventory oracle.glcm.opatchauto.core.actions.classpath

 Component : oracle.glcm.opatchauto.core.wallet.classpath

Saving the inventory oracle.glcm.opatchauto.core.wallet.classpath

 Component : cieCfg_wls_lib

Saving the inventory cieCfg_wls_lib

 Component : cieCfg_wls_external_lib

Saving the inventory cieCfg_wls_external_lib

 Component : cieCfg_wls_impl_lib

Saving the inventory cieCfg_wls_impl_lib

 Component : oracle.fmwplatform.fmwprov_lib

Saving the inventory oracle.fmwplatform.fmwprov_lib

 Component : fmwplatform-wlst-dependencies

Saving the inventory fmwplatform-wlst-dependencies

 Component : oracle.fmwplatform.ocp_lib

Saving the inventory oracle.fmwplatform.ocp_lib

 Component : oracle.fmwplatform.ocp_plugin_lib

Saving the inventory oracle.fmwplatform.ocp_plugin_lib

 Component : oracle.glcm.opatchauto.fmw.actions.classpath

Saving the inventory oracle.glcm.opatchauto.fmw.actions.classpath

 Component : wlst.wls.classpath

Saving the inventory wlst.wls.classpath

 Component : maven.wls.classpath

Saving the inventory maven.wls.classpath

 Component : glcm_common_logging_lib

Saving the inventory glcm_common_logging_lib

 Component : glcm_common_lib

Saving the inventory glcm_common_lib

 Component : oracle.glcm.opatch.common.api.classpath

Saving the inventory oracle.glcm.opatch.common.api.classpath

 Component : oracle.glcm.oplan.core.classpath

Saving the inventory oracle.glcm.oplan.core.classpath

 Component : glcm_encryption_lib

Saving the inventory glcm_encryption_lib

 Component : oracle.glcm.opatchauto.core.classpath

Saving the inventory oracle.glcm.opatchauto.core.classpath

 Component : oracle.glcm.opatchauto.core.binary.classpath

Saving the inventory oracle.glcm.opatchauto.core.binary.classpath

 Component : oracle.glcm.opatchauto.core.actions.classpath

Saving the inventory oracle.glcm.opatchauto.core.actions.classpath

 Component : oracle.glcm.opatchauto.core.wallet.classpath

Saving the inventory oracle.glcm.opatchauto.core.wallet.classpath

 Component : oracle.glcm.opatchauto.fmw.actions.classpath

Saving the inventory oracle.glcm.opatchauto.fmw.actions.classpath

The install operation completed successfully.

Logs successfully copied to /home/oracle/oraInventory/logs.

Check Current OPatch Version

[oracle@admin OPatch]$ opatch version
OPatch Version: 13.9.4.0.0

OPatch succeeded.
[oracle@admin OPatch]$ opatch lsinventory
Oracle Interim Patch Installer version 13.9.4.0.0
Copyright (c) 2019, Oracle Corporation.  All rights reserved.


Oracle Home       : /Oracle/Middleware/Oracle_Home
Central Inventory : /home/oracle/oraInventory
   from           : /Oracle/Middleware/Oracle_Home/oraInst.loc
OPatch version    : 13.9.4.0.0
OUI version       : 13.9.3.0.0
Log file location : /Oracle/Middleware/Oracle_Home/cfgtoollogs/opatch/opatch2019-01-16_11-29-59AM_1.log


OPatch detects the Middleware Home as "/Oracle/Middleware/Oracle_Home"

Lsinventory Output file location : /Oracle/Middleware/Oracle_Home/cfgtoollogs/opatch/lsinv/lsinventory2019-01-16_11-29-59AM.txt

--------------------------------------------------------------------------------
Local Machine Information::
Hostname: admin.example.com
ARU platform id: 226
ARU platform description:: Linux x86-64


Interim patches (4) :

Patch  26355633     : applied on Mon Jan 14 16:45:21 CST 2019
Unique Patch ID:  21447583
Patch description:  "One-off"
   Created on 1 Aug 2017, 21:40:20 hrs UTC
   Bugs fixed:
     26355633

Patch  26287183     : applied on Mon Jan 14 16:45:07 CST 2019
Unique Patch ID:  21447582
Patch description:  "One-off"
   Created on 1 Aug 2017, 21:41:27 hrs UTC
   Bugs fixed:
     26287183

Patch  26261906     : applied on Mon Jan 14 16:44:44 CST 2019
Unique Patch ID:  21344506
Patch description:  "One-off"
   Created on 12 Jun 2017, 23:36:08 hrs UTC
   Bugs fixed:
     25559137, 25232931, 24811916

Patch  26051289     : applied on Mon Jan 14 16:44:37 CST 2019
Unique Patch ID:  21455037
Patch description:  "One-off"
   Created on 31 Jul 2017, 22:11:57 hrs UTC
   Bugs fixed:
     26051289



--------------------------------------------------------------------------------

OPatch succeeded.

Please note that, the OUI version is upgraded to 13.9.3 as well.

Since we already have the latest OPatch, we can patch our WebLogic Server now.

Update OPatch in Interactive Mode (OUI)

If you would like to use interactive mode, Next Generation OUI to install the newest OPatch, you can simply issue this command.

[oracle@admin OPatch]$ java -jar 6880880/opatch_generic.jar
Weblogic New OPatch Installation - Welcome
Weblogic New OPatch Installation - Welcome
Weblogic New OPatch Installation - Installation Inventory
Weblogic New OPatch Installation - Installation Inventory
Weblogic New OPatch Installation - Installation Location
Weblogic New OPatch Installation - Installation Location
Weblogic New OPatch Installation - Language Selection
Weblogic New OPatch Installation - Language Selection
Weblogic New OPatch Installation - Auto Updates
Weblogic New OPatch Installation - Auto Updates
Weblogic New OPatch Installation - Installation Type
Weblogic New OPatch Installation - Installation Type
Weblogic New OPatch Installation - Java Home Location
Weblogic New OPatch Installation - Java Home Location
Weblogic New OPatch Installation - Installation Summary
Weblogic New OPatch Installation - Installation Summary
Weblogic New OPatch Installation - Installation Progress
Weblogic New OPatch Installation - Installation Progress
Weblogic New OPatch Installation - Installation Complete
Weblogic New OPatch Installation - Installation Complete

As you can see, OUI provides some more considerations for us to review.

Since we already have the latest OPatch, we can patch our WebLogic Server now.

8 thoughts on “How WebLogic Update Opatch”

  1. Hi Ed Chen, I made step by step and I had no mistakes

    but at the time I reviewed the Opatch version I see that it was not updated

    Saving inventory complete
    100%

    Configuration complete

    The install operation completed successfully.

    Logs successfully copied to /opt/app/oraInventory/logs.
    [wlsadmin@dcpimsdwlsco OPatch]$ ./opatch version
    OPatch Version: 13.9.2.0.0

    OPatch succeeded.
    [wlsadmin@dcpimsdwlsco OPatch]$ ./opatch lsinventory
    Oracle Interim Patch Installer version 13.9.2.0.0
    Copyright (c) 2019, Oracle Corporation. All rights reserved.

    Oracle Home : /opt/app/oracle_home/middleware
    Central Inventory : /opt/app/oraInventory
    from : /opt/app/oracle_home/middleware/oraInst.loc
    OPatch version : 13.9.2.0.0
    OUI version : 13.9.2.0.0
    Log file location : /opt/app/oracle_home/middleware/cfgtoollogs/opatch/opatch2019-08-20_20-12-41PM_1.log

    OPatch detects the Middleware Home as “/opt/app/oracle_home/middleware”

    Lsinventory Output file location : /opt/app/oracle_home/middleware/cfgtoollogs/opatch/lsinv/lsinventory2019-08-20_20-12-41PM.txt

  2. [oracle@hostname 6880880]$ /opt/sfw/java-7u51/bin/java -jar opatch_generic.jar -silent ORACLE_HOME=/opt/sfw/oracle/middleware/Oracle_BI
    Launcher log file is /tmp/OraInstall2019-08-22_04-00-39AM/launcher2019-08-22_04-00-39AM.log.
    Extracting the installer . . . . Done
    Checking if CPU speed is above 300 MHz. Actual 2893.080 MHz Passed
    Checking swap space: must be greater than 512 MB. Actual 2047 MB Passed
    Checking if this platform requires a 64-bit JVM. Actual 64 Passed (64-bit not required)
    Checking temp space: must be greater than 300 MB. Actual 6784 MB Passed
    Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2019-08-22_04-00-39AM
    NGINST-64010: Available features have conflicts with already installed features in the given Oracle Home “/opt/sfw/oracle/middleware/Oracle_BI”.

    The log(s) can be found here: /tmp/OraInstall2019-08-22_04-00-39AM.

    Note: NGINST-64010: Available features have conflicts with already installed features in the given Oracle Home “/opt/sfw/oracle/middleware/Oracle_BI”.

    Getting this issue, Any work around

Leave a Reply

Your email address will not be published. Required fields are marked *