Follow Us on Twitter

A few quick tips for upgrading OFM 11g to patch set 5

by Laurens van der Starre on February 26, 2012 · 11 comments

A few days ago, Oracle released the long awaited patch set 5 for the Oracle Fusion Middleware family of products. If you have a wide range of Middleware products, the upgrade might seem as a daunting task. It still is, but in this blog I try to pinpoint some key steps, and point to the correct documentation.

First of all, you’ll need the binaries. De OFM products can be found here, and requires you to log in with your Oracle Support account. The Oracle Weblogic Server 10.3.6 upgrade installer is found here.

Secondly, the patch set documentation is found here.

The upgrade process does not differ from any other upgrade flows we’re used to. Oracle’s patch documentation summarises it as follows:

Note that the Weblogic server doesn’t have to be upgraded to 10.3.6 if you are already running 10.3.5. However, one can argue that you’re only postponing the inevitable if you stay on 10.3.5.

If we now look at the product installers, you’ll see that the 11.1.1.6.0 “patch set installers” are basically clean install versions. However, if you just choose your existing MIDDLEWARE_HOME, and your existing ORACLE_HOME, the installer will ask you if you want to upgrade. Please follow the steps in this chapter of the patching documentation. Depending on your start version of OFM 11g, different post-patching tasks are needed.

Quick summary for the most used products:

  • OFM SOA Suite
    • Upgrade Weblogic Server to 10.3.6 (optional if you’re on 10.3.5)
    • Upgrade your ORACLE_HOME (usually Oracle_SOA1) to 11.1.1.6.0
    • Run the Patch Set Assistant to upgrade your database schemas.
      MIDDLEWARE-HOME/Oracle_SOA1/bin/psa

      Note: if you have a DEV install on an XE database, the schema upgrade will fail: the PSA uses some database features which are not enabled in this “uncertified” database!

    • Some post-patch steps are necessary.
  • OFM Service Bus (OSB)
    • Upgrade Weblogic Server to 10.3.6 (optional if you’re on 10.3.5)
    • Upgrade your ORACLE_HOME (usually Oracle_OSB1) to 11.1.1.6.0
    • If your starting version was 11.1.1.5, don’t bother running the domainUpgrade.py WLST script: the documentation contradicts the script’s README: the script if for pre-PS4 starting versions. Running it coming from PS4 will give you the following errors:
      Problem invoking WLST - Traceback (innermost last):
        File "/mnt/soaShare/product/middleware/Oracle_OSB1/common/lib/upgrade/./domainUpgrade.py", line 368, in ?
        File "/mnt/soaShare/product/middleware/Oracle_OSB1/common/lib/upgrade/./domainUpgrade.py", line 16, in replaceOSBServerModuleVersion
      ValueError: substring not found in string.index

As always, read the post-upgrade steps carefully depending on your start version. Start small on a development environment and don’t forget to test the deployed software before going into production.

UPDATE: I have added more tips and considerations when upgrading Oracle Fusion Middleware to PS5 in another blog post.

A few quick tips for upgrading OFM 11g to patch set 5, 4.0 out of 5 based on 4 ratings
Ratings:
VN:F [1.9.22_1171]
Rating: 4.0/5 (4 votes cast)

{ 9 comments… read them below or add one }

David Regtien February 29, 2012 at 11:30 am

Thanks for this ‘pre investigation’.
Let’s bring it in practice tomorrow!

David.

Reply

Murthy March 5, 2012 at 6:52 pm

So if you have a DEV install on XE, you are pretty much out of luck. You have to go for a clean PS5 install?

Reply

Laurens van der Starre March 7, 2012 at 8:36 am

I’m afraid so … Although I haven’t tried a clean install on a XE database yet. Maybe the same problem exists there. You can of course trace the problem in the scripts (the PSA logs tell you exactly where it goes wrong), and try to fix the scripts. You only have to ask yourself if it is worth it, you can also switch to an standard edition database for example. Myself, I did the latter.

Reply

Francisco July 19, 2012 at 10:18 pm

Hi Laurens,
i have a problem, i just upgrade 11.1.1.5 to 11.1.1.6 yesterday
i followed all steps..
1. upgrade weblogic server 10.3.5 to 10.3.6 without errors
2. upgrade my domain to 10.3.6 without errors
3. Update SOA Suite 11.1.1.5 to 11.1.1.6 without errors
4. Update database schemas to 11.1.1.6 by psa
5. AdminServer works fine, but Enterprise Manager, soa_server, bam_server dont
do you have any recomendation for this? or you heard about this error before?

Reply

Francisco July 19, 2012 at 10:20 pm

Server Red Hat Enterprise 5.6 x86_64
Oracle Database Standard 11.2.0.1 on IBM AIX 6.1

Reply

Laurens van der Starre July 20, 2012 at 9:31 am

My first question would be what exactly doesn’t work?
Also: are you using the NodeManager to start up your domain (and is it configured to use the StartScripts?). Does your domain work when starting it manually with the shell scripts?
Or have you accidently started it as root? In that case a simple chmod would fix it.

Reply

Francisco July 20, 2012 at 4:46 pm

Hi Laurens, thanks for the reply
i saw soa_server.out log and i think that my CLASSPATH have some directories that not exist, what do you think?
.i dont have patch_wls1036 directory

WLS Start Mode=Development
.
CLASSPATH=/oradata/oracle/Middleware/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar
:/oradata/oracle/Middleware/patch_oepe1050/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/oradat
a/oracle/Middleware/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/lib/jvm/java
-1.6.0-openjdk-1.6.0.0.x86_64/lib/tools.jar:/oradata/oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.j
ar:/oradata/oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/oradata/oracle/Middleware/modules/featur
es/weblogic.server.modules_10.3.6.0.jar:/oradata/oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/
oradata/oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/oradata/oracle/Middleware/modules/net
.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/oradata/oracle/Middleware/wlserver_10.3/common/derby/lib/de
rbyclient.jar:/oradata/oracle/Middleware/wlserver_10.3/server/lib/xqrl.jar:/oradata/oracle/Middleware/patch_w
ls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/oradata/oracle/Middleware/patch_oepe1050/p
rofiles/default/sys_manifest_classpath/weblogic_patch.jar:/oradata/oracle/Middleware/patch_ocp371/profiles/de
fault/sys_manifest_classpath/weblogic_patch.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/lib/tools.jar:
/oradata/oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/oradata/oracle/Middleware/wlserver_10.3/
server/lib/weblogic.jar:/oradata/oracle/Middleware/modules/features/weblogic.server.modules_10.3.6.0.jar:/ora
data/oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/oradata/oracle/Middleware/modules/org.apache
.ant_1.7.1/lib/ant-all.jar:/oradata/oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib
.jar::/oradata/oracle/Middleware

Reply

Laurens van der Starre July 23, 2012 at 8:06 am

Hard to say. What is the error exactly?

Reply

abhishek jain March 25, 2013 at 5:25 pm

hi,
i want to upgrade our weblogic server. currently we are using wls 10.3.5 . , we wnat to upgrade it to 10.3.6 on unix. plz let me know the steps for that. plz let me know if upgrade require just 1 patch or it need a complete new installation?
what are the other options if we dont use Oracle Weblogic Server 10.3.6 upgrade installer?

plz let me know , thanks inadvance.

Reply

Leave a Comment

 

{ 2 trackbacks }

Previous post:

Next post:

About Whitehorses
Company profile
Services
Technology

Whitehorses website

Home page
Whitebooks
Jobs

Follow us
Blog post RSS
Comment RSS
Twitter