From version 16.1
edited by Jeffrey McDonald
on 2025/08/01 13:04
Change comment: There is no comment for this version
To version 11.1
edited by Jeffrey McDonald
on 2025/03/02 22:08
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -03-Patching
1 +Patching
Content
... ... @@ -6,8 +6,8 @@
6 6  
7 7  (% class="box" %)
8 8  (((
9 -export MW_HOME=/opt/oracle/occas/8.1
10 -export PATH=$MW_HOME/OPatch:$PATH
9 +export ORACLE_HOME=/opt/oracle/occas-8.1
10 +export PATH=$ORACLE_HOME/OPatch:$PATH
11 11  )))
12 12  
13 13  Load the variables by logging out and logging back in. (Or, you can type "source ~~/.bash_profile".)
... ... @@ -41,26 +41,26 @@
41 41  
42 42  Fantastic! Now we know what patches to download and install...
43 43  
44 -= WebLogic Server Patches =
44 +Let's go to [[Oracle's My Support>>https://support.oracle.com]] and download both the OCCAS and WebLogic (WLS) patches.
45 45  
46 -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.
46 += WebLogic Server =
47 47  
48 -From [[Oracle's My Support>>https://support.oracle.com]] download the latest //WLS Stack Patch Bundle//:
49 -
50 50  [[image:wls_patch_search.png]]
51 51  
52 -These patch bundles are released on a quarterly basis and should give us everything we need.
50 +That's a lot of patches! We only need to download the latest //WLS Stack Patch Bundle//:
53 53  
54 54  (% class="box infomessage" %)
55 55  (((
56 -WLS STACK PATCH BUNDLE 14.1.1.0.250114 (Patch)
54 +WLS STACK PATCH BUNDLE 14.1.1.0.241008 (Patch)
57 57  )))
58 58  
57 +These patch bundles are released on a quarterly basis and should give us everything we need.
58 +
59 59  Unzip the patch and refer to the README.html for detail instructions.
60 60  
61 61  First, we must upgrade the patching program (opatch) itself.
62 62  
63 -Follow these instructions:
63 +Here's how I did it...
64 64  
65 65  (% class="box" %)
66 66  (((
... ... @@ -68,14 +68,14 @@
68 68  OPatch Version: 13.9.4.2.3
69 69  \\$ unzip p37476502_141100_Generic.zip
70 70  $ cd WLS_SPB_14.1.1.0.241008/tools/opatch/generic
71 -$ unzip p37476502_141100_Generic.zip
71 +$ unzip p28186730_1394217_Generic.zip
72 72  $ cd 6880880
73 73  $ java -jar opatch_generic.jar -silent oracle_home=$ORACLE_HOME -ignoreSysPrereqs
74 -\\$ opatch version
75 -OPatch Version: 13.9.4.2.18
74 +\\opatch version
75 +OPatch Version: 13.9.4.2.17
76 76  )))
77 77  
78 -If you're using Linux (RHEL etc), there's a script we can run to patch everything all at once:
78 +Now that we have the latest OPatch, let's use SPBAT to patch WLS.
79 79  
80 80  (% class="box" %)
81 81  (((
... ... @@ -83,19 +83,30 @@
83 83  ./spbat.sh -phase apply -oracle_home $ORACLE_HOME
84 84  )))
85 85  
86 -If you're on an unsupported operating system (Window, MacOS, etc.), you will have to install the patches manually using "opatch apply".
87 87  
87 +
88 +
88 88  = OCCAS Patches =
89 89  
90 -From [[Oracle's My Support>>https://support.oracle.com]] download the latest //OCCAS patches~://
91 +Download the latest OCCAS patches. At the time of this writing, it contained an entirely new installer.
91 91  
93 +From support.oracle.com, click on the **//Patches & Updates//** tab.
94 +
95 +In the **//Patch Search//** window, click on //**Product or Family (Advanced)**// tab.
96 +
97 +Enter...
98 +
99 +Product is: **Oracle Communications Application Server**
100 +Release is: **Oracle Communications Application Server 8.1.0.0.0**
101 +Platform is: **Linux x86-64**
102 +
92 92  **[[image:patch_search.png]]**
93 93  
94 -Download each patch and unzip them.
105 +From there, download each patch and unzip each patch.
95 95  
96 96  (% class="box" %)
97 97  (((
98 -$ unzip '*.zip'
109 +unzip '*.zip'
99 99  )))
100 100  
101 101  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'.
... ... @@ -102,15 +102,24 @@
102 102  
103 103  Follow the steps in [[OCCAS Installation>>doc:Tutorials.Oracle.Communications.OCCAS.Prenstallation.WebHome]] and return here when you are done. (Do not configure OCCAS just yet.)
104 104  
105 -Now let's install the remaining patches one-by-one:
116 +Back?
106 106  
118 +Now let's install the remaining OPatch style patches in one fell swoop...
119 +
107 107  (% class="box" %)
108 108  (((
109 -$ opatch apply -silent 35843968
110 -$ opatch apply -silent 36228321
111 -$ opatch apply -silent 36853044
112 -$ opatch apply -silent 36965445
113 -$ opatch apply -silent 37467100
122 +export PATH=/opt/oracle/occas/8.1/OPatch:$PATH
123 +opatch napply -id 35843968,36228321,36853044,36965445 -silent
114 114  )))
115 115  
126 +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.
127 +
128 += Download WebLogic Patches =
129 +
130 +
131 +(% class="box" %)
132 +(((
133 +
134 +)))
135 +
116 116  Congratulations! We are now ready to [[Configure OCCAS>>doc:Tutorials.Oracle.Communications.OCCAS.Configuration.WebHome]].