Oracle
WebLogic Server Stack Patch Bundle – April 2023
Stack Patch Bundle (SPB) |
35233446 |
Date |
18-April-2023 |
Platform Patch for |
Generic Platform |
Product Patched |
Oracle WebLogic Server |
Product Version |
12.2.1.4.0 |
System Overview:
Oracle WebLogic Stack Patch Bundle
(SPB) contains patches applicable for the following supported platforms:
Prerequisites:
Follow these required steps before
applying the SPB:
1.
Stage and Verify SPB Zip
File
Download the
p35233446_122140_Generic.zip from My Oracle Support and decide where you want
to extract the SPB.
·
The location must be
outside of your Oracle home.
Extract the
contents of the SPB download on the system you will be applying the patch.
After extracting the patch, you should
have a WLS_SPB_12.2.1.4.
Note: Do not make any post-extraction changes to this directory
structure.
WLS_SPB_12.2.1.4.
-|spbat-bundle.properties (file)
-|README.txt
(file)
-|README.html (file)
-|binary_patches (dir)
-|tools
(dir)
Navigate to the SPBAT directory and
verify it contains the following directory structure:
Note: The default logs directory is created after running the SPBAT
(shown below for reference).
WLS_SPB_12.2.1.4.
-|ExecEngine (dir)
-|README.txt
(this file)
-|bin (dir)
-|config
(dir)
-|spbat.sh
(file)
-|spbat.bat
(file)
-|tools
(dir)
-|version.txt (file)
-|logs (dir
generated after running SPBAT)
2.
Check for Minimum Java
Version
Platform |
Expected Minimum Version |
Linux x86-64 |
1.8.0_251+ |
Windows 64 |
1.8.0_251+ |
Note:
Update
the Java_home out of the Oracle_home before Applying the SPB patch
1.
Use
the getProperty.sh
script to
display the path of the current JDK from the JAVA_HOME variable. For example:
ORACLE_HOME/oui/bin/getProperty.sh JAVA_HOME
echo JAVA_HOME
2.
ORACLE_HOME/oui/bin/setProperty.sh
-name OLD_JAVA_HOME -value specify_the_path_of_current_JDK
This command creates a new variable called OLD_JAVA_HOME in
the .globalEnv.properties file, with a value that you have specified
3.
Set
the new location of the JDK in the JAVA_HOME variable of the
.globalEnv.properties file, by entering the following commands:
ORACLE_HOME/oui/bin/setProperty.sh -name JAVA_HOME
-value specify_the_location_of_new_JDK
3.
Create a Complete Backup
4.
Check OPatch Version
To verify the OPatch
version, run the following command:
ORACLE_HOME/OPatch/opatch version
Minimum opatch version: 13.9.4.2.5
5.
Stop All Processes for
WebLogic Server
Stop all WebLogic Server processes before proceeding with the
patch installation.
Applying the SPB Patches
with SPBAT
1. Run the precheck phase (optional)
a. Navigate to the SPBAT directory:
WLS_SPB_
b. Run the SPBAT utility for the
precheck phase:
./spbat.sh -phase precheck -oracle_home
2. Stop services
Stop all services and ensure that
there are no Java processes running on this Oracle home.
3. Run precheck and apply phase during
downtime
a. Navigate to the SPBAT directory:
WLS_SPB_
b. Run the SPBAT utility for the apply
phase:
./spbat.sh
-phase apply -oracle_home
4. Restart services
5. Complete validation
Post Installation Steps
Verify SPB Patches in ORACLE_HOME
inventory.
ORACLE_HOME/OPatch/opatch
lspatches
Rollback Steps
If you have applied any patches to
resolve conflicts since applying the SPB, first ensure these overlay patches
are rolled back first.
Use the following commands to roll
back all patches included in the SPB:
a. Navigate to the binary patches
directory:
WLS_SPB_12.2.1.3.
b. Run the opatch nrollback command:
ORACLE_HOME/OPatch/opatch
nrollback -oh
Steps to install January 2024 Stack Patch Bundle on WebLogic 12.2.1.4 using Opatch tool (napply)
Read MoreSteps to install October 2023 Stack Patch Bundle on WebLogic 12.2.1.4 using Opatch tool (napply)
Read More