Overview
I tried to apply the recommended patches for OMS and WLS.
References
- Patch 17513525: ENTERPRISE MANAGER BASE PLATFORM - OMS 12.1.0.3.1 PSU (GENERIC)
- Patch 17572726: SU Patch [FCX7]: WLS PATCH SET UPDATE 10.3.6.0.7
- Patch 16420963: SU Patch [GDFA]: WEBLOGIC.STORE.PERSISTENTSTOREEXCEPTION: [STORE:280040] OCCURS EASILEY
- How to Apply WebLogic Server (WLS) Patches Using Smart Update [Video] (Doc ID 876004.1)
- BSU Command line interface
Procedure
Apply WebLogic Recommended Patches
Recommended Patches
I went to Patches & Updates via the following menu tree:
I changed the view to be by target, and then clicked on Oracle WebLogic Server as follows:
Then, OEM Console recommended the following patches:
For some reason, patch 17572726 is mentioned twice.
OEM Assisted Patching
I select all three (3) patches by using shift-click, and select Add to New... from the pop-up menu as shown below, and then click Create Plan :
I enter Patch_WLS_2014_03 in the pop-up dialogue box as follows:
The following dialogue box pops up, and I click Add All to Plan .
And the plan could not be created for the following reasons:
I clicked Close to finish the sequence.
Manual Patching
The README files for the following patches all refer to the Smart Update Utility:
- Patch 17572726: SU Patch [FCX7]: WLS PATCH SET UPDATE 10.3.6.0.7
- Patch 16420963: SU Patch [GDFA]: WEBLOGIC.STORE.PERSISTENTSTOREEXCEPTION: [STORE:280040] OCCURS EASILEY
The README for patch 16420963 only specifies WLS 10.3.6.0 as the base. I assume I can apply the PSU first, then this patch.
Download Patches
I downloaded p17572726_1036_Generic.zip and p16420963_1036_Generic.zip into /tmp on CRONULLA .
Locating Smart Utility Components
From the procedure given in MOS Doc ID 876004.1 , I needed two (2) components:
- Cache directory
- Smart Update utility
The cache directory for WebLogic is located at:
/opt/app/oracle/em/middleware/utils/bsu/cache_dir
The Smart Update Utility is located at:
/opt/app/oracle/em/middleware/utils/bsu/bsu.sh
Extract the Contents of the Patch into the Cache Directory
Use the following command to extract the contents of the patch files into the Smart Update cache directory discovered above:
unzip -q -d /opt/app/oracle/em/middleware/utils/bsu/cache_dir /tmp/p16420963_1036_Generic.zip unzip -q -d /opt/app/oracle/em/middleware/utils/bsu/cache_dir /tmp/p17572726_1036_Generic.zip
The log is:
[oracle@cronulla ~]$ unzip -q -d /opt/app/oracle/em/middleware/utils/bsu/cache_dir /tmp/p16420963_1036_Generic.zip replace /opt/app/oracle/em/middleware/utils/bsu/cache_dir/README.txt? [y]es, [n]o, [A]ll, [N]one, [r]ename: A [oracle@cronulla ~]$ unzip -q -d /opt/app/oracle/em/middleware/utils/bsu/cache_dir /tmp/p17572726_1036_Generic.zip replace /opt/app/oracle/em/middleware/utils/bsu/cache_dir/README.txt? [y]es, [n]o, [A]ll, [N]one, [r]ename: A [oracle@cronulla ~]$ ls -l /opt/app/oracle/em/middleware/utils/bsu/cache_dir total 115388 -rw-r--r--. 1 oracle oinstall 40169 Mar 9 20:17 6D9T.jar -rw-r--r--. 1 oracle oinstall 65791628 Nov 20 03:33 FCX7.jar -rw-r--r--. 1 oracle oinstall 77140 Jul 9 2013 GDFA.jar -rw-r--r--. 1 oracle oinstall 7973923 Mar 9 20:17 patch-catalog_17651.xml -rw-r--r--. 1 oracle oinstall 9329417 Mar 9 20:17 patch-catalog_18890.xml -rw-r--r--. 1 oracle oinstall 11357549 Jul 9 2013 patch-catalog_19969.xml -rw-r--r--. 1 oracle oinstall 14233335 Nov 20 03:33 patch-catalog_20741.xml -rw-r--r--. 1 oracle oinstall 9329417 Mar 9 20:19 patch-catalog.xml -rw-rw-r--. 1 oracle oinstall 6641 Jan 6 20:05 README.txt -rw-r--r--. 1 oracle oinstall 5030 Mar 9 20:17 SRUM.jar
Find the WebLogic Home
I use the monitoring configuration for the following targets to get the WebLogic home ( /opt/app/oracle/em/middleware/wlserver_10.3 ):
- EMGC_ADMINSERVER
- EMGC_OMS1
View the Downloaded Patches
Using the Command-line interface as described in MOS Doc ID 876004.1 , I ran the following command to view the downloaded patches:
cd /opt/app/oracle/em/middleware/utils/bsu ./bsu.sh -prod_dir=/opt/app/oracle/em/middleware/wlserver_10.3 -patch_download_dir=cache_dir -status=downloaded -view -verbose
The following output is returned:
ProductName: WebLogic Server ProductVersion: 10.3 MP6 Components: WebLogic Server/Core Application Server,WebLogic Server/Admi nistration Console,WebLogic Server/Configuration Wizard and Upgrade Framework,WebLogic Server/Web 2.0 HTTP Pub-Sub Serve r,WebLogic Server/WebLogic SCA,WebLogic Server/WebLogic JDBC Drivers,WebLogic Server/Third Party JDBC Drivers,WebLogic S erver/WebLogic Server Clients,WebLogic Server/WebLogic Web S erver Plugins,WebLogic Server/UDDI and Xquery Support,WebLog ic Server/Server Examples,WebLogic Server/Evaluation Databas e,WebLogic Server/Workshop Code Completion Support BEAHome: /opt/app/oracle/em/middleware ProductHome: /opt/app/oracle/em/middleware/wlserver_10.3 PatchSystemDir: /opt/app/oracle/em/middleware/utils/bsu PatchDir: /opt/app/oracle/em/middleware/patch_wls1036 Profile: Default DownloadDir: cache_dir JavaVersion: 1.6.0_29 JavaVendor: Sun Patch ID: FCX7 PatchContainer: FCX7.jar Checksum: 1694447594 Severity: optional Category: General CR/BUG: 17572726 Restart: true Description: WLS PATCH SET UPDATE 10.3.6.0.7 WLS PATCH SET UPDATE 10.3.6 .0.7 Patch ID: GDFA PatchContainer: GDFA.jar Checksum: -1126437766 Severity: optional Category: JMS CR/BUG: 16420963 Restart: true Description: WEBLOGIC.STORE.PERSISTENTSTOREEXCEPTION: [STORE:280040] OCCU RS EASILEY WEBLOGIC.STORE.PERSISTENTSTOREEXCEPTION: [STORE:2 80040] OCCURS EASILEY
Install the Patches
Using the Command-line interface as described in MOS Doc ID 876004.1 , I ran the following command to view the downloaded patches:
cd /opt/app/oracle/em/middleware/utils/bsu ./bsu.sh -prod_dir=/opt/app/oracle/em/middleware/wlserver_10.3 -patchlist=FCX7,GDFA -verbose -install
The following output is returned:
Checking for conflicts.. Conflict(s) detected - resolve conflict condition and execute patch installation again Conflict condition details follow: Patch FCX7 is mutually exclusive and cannot coexist with patch(es): SRUM,6D9T