Prerequisites
For convenience, let's set the ORACLE_HOME environment variable:
In your ~/.bash_profile script, add the following lines:
export ORACLE_HOME=/opt/oracle/occas-8.1
export PATH=$ORACLE_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...
Let's go to Oracle's My Support and download both the OCCAS and WebLogic (WLS) patches.
WebLogic Server
That's a lot of patches! We only need to 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.
Here's how I did it...
$ 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 p28186730_1394217_Generic.zip
$ cd 6880880
$ java -jar opatch_generic.jar -silent oracle_home=$ORACLE_HOME -ignoreSysPrereqs
opatch version
OPatch Version: 13.9.4.2.17
Now that we have the latest OPatch, let's use SPBAT to patch WLS.
cd WLS_SPB_14.1.1.0.241008/tools/spbat/generic/SPBAT
./spbat.sh -phase apply -oracle_home $ORACLE_HOME
OCCAS Patches
Download the latest OCCAS patches. At the time of this writing, it contained an entirely new installer.
From support.oracle.com, click on the Patches & Updates tab.
In the Patch Search window, click on Product or Family (Advanced) tab.
Enter...
Product is: Oracle Communications Application Server
Release is: Oracle Communications Application Server 8.1.0.0.0
Platform is: Linux x86-64
From there, download each patch and unzip each patch.
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.)
Back?
Now let's install the remaining OPatch style patches in one fell swoop...
export PATH=/opt/oracle/occas/8.1/OPatch:$PATH
opatch napply -id 35843968,36228321,36853044,36965445 -silent
That was easy! Sometimes it's not so easy. Sometimes the patches require a newer version of OPatch to work. If that's a problem for you, see below for updating OPatch from the WLS stack bundle patch.
Download WebLogic Patches
Congratulations! We are now ready to Configure OCCAS.