Overview
It would that the upgrade to OMS 12.1.0.4 (as described in 16 Upgrade OMS 12.1.0.4.0 ) had regressed one of the patches applied in 14 Apply WLS Patches (T5F1).
References
- Patch 18040640: SU Patch [T5F1]: WLS PATCH SET UPDATE 10.3.6.0.8
- How to Apply WebLogic Server (WLS) Patches Using Smart Update [Video] (Doc ID 876004.1)
- BSU Command line interface
Procedure
Recommended Patches
OEM recommends the following patch be applied to WebLogic Server:
Extract the Contents of the Patch into the Cache Directory
I needed to extract Patch 18040640 as follows:
unzip -qo -d /opt/app/oracle/em/middleware2/utils/bsu/cache_dir /tmp/p18040640_1036_Generic.zip
Stop WebLogic Server
Since OMS is built on the WebLogic Server (WLS), I need to stop OMS in order stop WLS as follows:
${OMS_HOME}/bin/emctl stop oms -all
Apply the Patches
Used BSU to apply the patch as follows:
cd /opt/app/oracle/em/middleware2/utils/bsu ./bsu.sh -prod_dir=/opt/app/oracle/em/middleware2/wlserver_10.3 -patchlist=T5F1 -verbose -install
This failed with the following error messages:
Checking for conflicts.. Conflict(s) detected - resolve conflict condition and execute patch installation again Conflict condition details follow: Patch T5F1 is mutually exclusive and cannot coexist with patch(es): 6D9T,WE1X,SRUM
Remove Conflicting Patches
I used the following commands to remove the conflicting patches:
cd /opt/app/oracle/em/middleware2/utils/bsu ./bsu.sh -prod_dir=/opt/app/oracle/em/middleware2/wlserver_10.3 -patchlist=6D9T,WE1X,SRUM -verbose -remove
The output is:
Checking for conflicts... No conflict(s) detected Starting removal of Patch ID: 6D9T Removing /opt/app/oracle/em/middleware2/patch_wls1036/patch_jars/BUG13349651_1036.jar Updating /opt/app/oracle/em/middleware2/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar Old manifest value: Class-Path= ../../../patch_jars/BUG13349651_1036.jar ../../../patch_jars/BUG16080294_1036.jar ../../../patch_jars/BUG14482558_1036.jar New manifest value: Class-Path= ../../../patch_jars/BUG13349651_1036.jar ../../../patch_jars/BUG16080294_1036.jar ../../../patch_jars/BUG14482558_1036.jar Result: Success Starting removal of Patch ID: WE1X Removing /opt/app/oracle/em/middleware2/patch_wls1036/patch_jars/BUG16080294_1036.jar Updating /opt/app/oracle/em/middleware2/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar Old manifest value: Class-Path= ../../../patch_jars/BUG16080294_1036.jar ../../../patch_jars/BUG14482558_1036.jar New manifest value: Class-Path= ../../../patch_jars/BUG16080294_1036.jar ../../../patch_jars/BUG14482558_1036.jar Result: Success Starting removal of Patch ID: SRUM Removing /opt/app/oracle/em/middleware2/patch_wls1036/patch_jars/BUG14482558_1036.jar Updating /opt/app/oracle/em/middleware2/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar Old manifest value: Class-Path= ../../../patch_jars/BUG14482558_1036.jar New manifest value: Class-Path= Result: Success
Apply the Patches
Used BSU to apply the patch as follows:
cd /opt/app/oracle/em/middleware2/utils/bsu ./bsu.sh -prod_dir=/opt/app/oracle/em/middleware2/wlserver_10.3 -patchlist=T5F1 -install
This succeeded as shown below:
Checking for conflicts.. No conflict(s) detected Installing Patch ID: T5F1.. Result: Success
Start OMS
Used
emctl start oms
to start everything.