Prerequisites
For convenience, let's set the ORACLE_HOME environment variable:
In your ~/.bash_profile script, add the following lines:
export MW_HOME=/opt/oracle/occas/8.1
export PATH=$MW_HOME/OPatch:$PATH
Load the variables by logging out and logging back in. (Or, you can type "source ~/.bash_profile".)
Let's find out which version of WebLogic OCCAS is running on:
grep "distribution" $ORACLE_HOME/inventory/registry.xml
Now let's find out which version of WebLogic (WLS) OCCAS is running on:
grep "wls_server" $ORACLE_HOME/inventory/registry.xml
Fantastic! Now we know what patches to download and install...
WebLogic Server Patches
In order to access Oracle's support web site, make sure your Oracle.com account is associated with the Customer Service Identifier (CSI) granted to your company with the purchase of OCCAS. Someone in your company should be able login and grant you privileges. If that makes no sense, call the Oracle toll-free number and they will help you through the process.
From Oracle's My Support download the latest WLS Stack Patch Bundle:
These patch bundles are released on a quarterly basis and should give us everything we need.
Unzip the patch and refer to the README.html for detail instructions.
First, we must upgrade the patching program (opatch) itself.
Follow these instructions:
$ opatch version
OPatch Version: 13.9.4.2.3
$ unzip p37476502_141100_Generic.zip
$ cd WLS_SPB_14.1.1.0.241008/tools/opatch/generic
$ unzip p37476502_141100_Generic.zip
$ cd 6880880
$ java -jar opatch_generic.jar -silent oracle_home=$ORACLE_HOME -ignoreSysPrereqs
$ opatch version
OPatch Version: 13.9.4.2.18
If you're using Linux (RHEL etc), there's a script we can run to patch everything all at once:
cd WLS_SPB_14.1.1.0.241008/tools/spbat/generic/SPBAT
./spbat.sh -phase apply -oracle_home $ORACLE_HOME
If you're on an unsupported operating system (Window, MacOS, etc.), you will have to install the patches manually using "opatch apply".
OCCAS Patches
From Oracle's My Support download the latest OCCAS patches:
Download each patch and unzip them.
$ unzip '*.zip'
Wow! One of the patches (p35908669) contains a new occas_generic.jar file. Let's use that to install OCCAS instead of using the one from 'edelivery.oracle.com'.
Follow the steps in OCCAS Installation and return here when you are done. (Do not configure OCCAS just yet.)
Now let's install the remaining patches one-by-one:
$ opatch apply -silent 35843968
$ opatch apply -silent 36228321
$ opatch apply -silent 36853044
$ opatch apply -silent 36965445
$ opatch apply -silent 37467100
Congratulations! We are now ready to Configure OCCAS.