From version 11.1
edited by Jeffrey McDonald
on 2025/03/02 22:08
on 2025/03/02 22:08
Change comment:
There is no comment for this version
To version 4.1
edited by Jeffrey McDonald
on 2024/12/07 12:33
on 2024/12/07 12:33
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 2 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,54 +1,65 @@ 1 - = Prerequisites=1 +Instructions for patching OCCAS... 2 2 3 - Forconvenience, let's set theORACLE_HOMEenvironment variable:3 += OCCAS Patches = 4 4 5 - Inyour(%class="mark"%)~~/.bash_profile(%%)script, addthefollowinglines:5 +Download the latest OCCAS patches. At the time of this writing, it contained an entirely new installer. 6 6 7 -(% class="box" %) 8 -((( 9 -export ORACLE_HOME=/opt/oracle/occas-8.1 10 -export PATH=$ORACLE_HOME/OPatch:$PATH 11 -))) 7 +From support.oracle.com, click on the **//Patches & Updates//** tab. 12 12 13 - Loadthevariablesby loggingoutandlogging backin.(Or, youantype"source~~/.bash_profile".)9 +In the **//Patch Search//** window, click on //**Product or Family (Advanced)**// tab. 14 14 15 - Let's find outwhich version of WebLogic OCCAS is running on:11 +Enter... 16 16 13 +Product is: **Oracle Communications Application Server** 14 +Release is: **Oracle Communications Application Server 8.1.0.0.0** 15 +Platform is: **Linux x86-64** 16 + 17 +From there, download each patch... 18 + 17 17 (% class="box" %) 18 18 ((( 19 - grep "distribution" $ORACLE_HOME/inventory/registry.xml21 +unzip '*.zip' 20 20 ))) 21 21 22 -(% class="box infomessage" %) 23 -((( 24 - <distributions> 25 - <distribution status="installed" name="Converged Application Server" version="8.1.0.0.0"> 26 - </distribution> 27 - </distributions> 28 -))) 24 +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'. 29 29 30 - Nowlet'sfindoutwhich version ofWebLogic(WLS)OCCASisrunning on:26 +Follow the steps in [[OCCAS Installation>>doc:Tutorials.Oracle.Communications.OCCAS.Installation.WebHome]] and return here when you are done. (Do not configure OCCAS just yet.) 31 31 28 +Back? 29 + 30 +Now let's install the remaining OPatch style patches in one fell swoop... 31 + 32 32 (% class="box" %) 33 33 ((( 34 -grep "wls_server" $ORACLE_HOME/inventory/registry.xml 34 +export PATH=/opt/oracle/occas/8.1/OPatch:$PATH 35 +opatch napply -id 35843968,36228321,36853044,36965445 -silent 35 35 ))) 36 36 38 +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. 39 + 40 += Download WebLogic Patches = 41 + 42 +In addition to the OCCAS patches, we need to install the latest WebLogic Server (WLS) patches. 43 + 44 +But, which version of WebLogic does OCCAS use? Let's find out! 45 + 37 37 (% class="box infomessage" %) 38 38 ((( 39 - <feature status="installed" name="wls_server" version="14.1.1.0.0"> 48 +cd <install_dir>/inventory 49 +grep "wls_server" registry.xml 50 +<feature status="installed" name="wls_server" version="14.1.1.0.0"> 40 40 ))) 41 41 42 - Fantastic!Nowwe knowwhatpatchestodownloadandinstall...53 +Ah, now that we know the version number, lets search for the latest WLS patches... 43 43 44 -Let's go to [[Oracle's My Support>>https://support.oracle.com]] and download both the OCCAS and WebLogic (WLS) patches. 55 +Product is: **Oracle WebLogic Server** 56 +Release is: **Oracle WebLogic Server 14.1.1.0.0** 57 +Platform is: **Linux x86-64** 58 +Show recommended patches only **(check)** 59 +Exclude superseded patches **(check)** 45 45 46 - =WebLogicServer=61 +That's a lot of patches! We only need to download the latest WLS stack bundle: 47 47 48 -[[image:wls_patch_search.png]] 49 - 50 -That's a lot of patches! We only need to download the latest //WLS Stack Patch Bundle//: 51 - 52 52 (% class="box infomessage" %) 53 53 ((( 54 54 WLS STACK PATCH BUNDLE 14.1.1.0.241008 (Patch) ... ... @@ -58,19 +58,16 @@ 58 58 59 59 Unzip the patch and refer to the README.html for detail instructions. 60 60 61 -First, we must upgrade the patching program (opatch) itself. 62 - 63 63 Here's how I did it... 64 64 65 65 (% class="box" %) 66 66 ((( 67 - $opatch version76 +opatch version 68 68 OPatch Version: 13.9.4.2.3 69 -\\$ unzip p37476502_141100_Generic.zip 70 -$ cd WLS_SPB_14.1.1.0.241008/tools/opatch/generic 71 -$ unzip p28186730_1394217_Generic.zip 72 -$ cd 6880880 73 -$ java -jar opatch_generic.jar -silent oracle_home=$ORACLE_HOME -ignoreSysPrereqs 78 +\\cd WLS_SPB_14.1.1.0.241008/tools/opatch/generic 79 +unzip p28186730_1394217_Generic.zip 80 +cd 6880880 81 +java -jar opatch_generic.jar -silent oracle_home=/opt/oracle/occas/8.1 -ignoreSysPrereqs 74 74 \\opatch version 75 75 OPatch Version: 13.9.4.2.17 76 76 ))) ... ... @@ -79,58 +79,12 @@ 79 79 80 80 (% class="box" %) 81 81 ((( 82 -cd WLS_SPB_14.1.1.0.241008/tools/spbat/generic/SPBAT 90 +export ORACLE_HOME=/opt/oracle/occas/8.1 91 +export _JAVA_OPTIONS="-Xms64m -Xmx1024m -XX:ParallelGCThreads=45 -XX:ReservedCodeCacheSize=512m" 92 +\\cd WLS_SPB_14.1.1.0.241008/tools/spbat/generic/SPBAT 83 83 ./spbat.sh -phase apply -oracle_home $ORACLE_HOME 84 84 ))) 85 85 96 +Congratulations! We are now ready to [[Configure OCCAS>>doc:Tutorials.Oracle.Communications.OCCAS.Configuration.WebHome]]. 86 86 87 - 88 - 89 -= OCCAS Patches = 90 - 91 -Download the latest OCCAS patches. At the time of this writing, it contained an entirely new installer. 92 - 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 - 103 -**[[image:patch_search.png]]** 104 - 105 -From there, download each patch and unzip each patch. 106 - 107 -(% class="box" %) 108 -((( 109 -unzip '*.zip' 110 -))) 111 - 112 -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'. 113 - 114 -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.) 115 - 116 -Back? 117 - 118 -Now let's install the remaining OPatch style patches in one fell swoop... 119 - 120 -(% class="box" %) 121 -((( 122 -export PATH=/opt/oracle/occas/8.1/OPatch:$PATH 123 -opatch napply -id 35843968,36228321,36853044,36965445 -silent 124 -))) 125 - 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 133 134 -))) 135 - 136 -Congratulations! We are now ready to [[Configure OCCAS>>doc:Tutorials.Oracle.Communications.OCCAS.Configuration.WebHome]].
- patch_search.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.jeff - Size
-
... ... @@ -1,1 +1,0 @@ 1 -54.7 KB - Content
- wls_patch_search.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.jeff - Size
-
... ... @@ -1,1 +1,0 @@ 1 -51.8 KB - Content