Oracle Weblogic Multiple Instances
Multiple instances of the Oracle Weblogic can be patched using Discovery and the patching Fixlets.
Discovery Process
-
- Default installation folders:
-
- Linux, Solaris, and AIX:
/oracle/middleware - Windows:
C:\Program Files\Oracle\Inventory
- Linux, Solaris, and AIX:
- Running instances (Non-Windows only)
-
- Configured locations:
-
- Custom installations can be specified in the
/etc/environmentfile using theBF_WEBLOGIC_HOMEkey (Linux, Solaris, AIX). - In Windows, environment variables can be set using the
BF_WEBLOGIC_HOMEkey. - Multiple paths should be separated by
:in Linux/Solaris/AIX and;in Windows.
- Custom installations can be specified in the
The same Discovery task can be used to identify the Weblogic 12c and 14c.
Patching Process
- All the lower versions are updated to the patch version specified in the task in a single execution.
- If the installed version is the same or greater, then the patching is skipped.
Note:
- Services must be stopped before starting the patching process and should be restarted once the patching is complete.
- The patches are automatically managed and downloaded through the plug-in.
- Both the Discovery and Patching tasks runs a
.jarfile, so ensure that the appropriate Java versions are available.
- For WebLogic, patches are extracted to
C:\middlewarein Windows and/middlewarein Linux due to file length constraints.
Exit codes and their meanings
When performing tasks such as patching or extracting files in Oracle Weblogic,
certain exit codes may be returned to indicate the outcome of the operation. These
codes help to find the issues during the installation or update process. Below is a
list of common exit codes, along with their meanings and suggested actions to
resolve the issues.
| Exit code | Action |
|---|---|
| Exit Code 11: Patching of one or more instances failed |
|
| Exit Code 12: Archive file not found |
|
| Exit Code 13: Extraction of the archive failed |
|
| Exit Code 14: Extracted folder missing required files |
|
The SPBAT logs are redirected to C:\middleware on Windows and
/middleware on Linux and Solaris. For AIX, refer to the
opatch_apply.log file located within the extracted folder
inside /middleware.