Saturday, August 29, 2009

How to get Oracle Fusion 11.1.1 into Ubuntu 9.04

Why the hell Ubuntu

Well to be frank windows in a crap to run, no offense but I hate windows to run my servers.
Ubuntu is what i like to use and I am sure some one else would also make use of what I have to share here.

What surprised me!!

I have never seen a installation of Oracle SOA suite go smooth till I came to Oracle Fusion 11.1.1
The installation was smooth as silk. No hiccups. And a cool new GUI for IRCA.

Here is what I started with :)

I have a Oracle database running in Ubuntu
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production

Nothing else to start with.
And don't worry if you are already running 10.1.3.4 as all the schemas a new ones. You can run them in parallel.

Is it supported??

Ubuntu is not officially supported

The steps

Just follow the installation steps in the documentation.
1. Check fusion requirements
2. Run the RCU (Repository Creation Utility) - well this is cool GUI replacement for the old boring IRCA fianlly from oracle.
3. Installation of weblogic server
4. Installation of SOA suite
5. Finally the configuration

What is the catch!

There are a few things that might try to stop you installing, but here is the blog to help you as I helped my self.
As I could find no one has written about this yet.

Upgrade the JDK and JRE

You might need to upgrade the JDK
Fire this and you are ready to go. And don't worry you will both jdk and jrocket after installation.
sudo apt-get install sun-java6-jdk

Follow the link to get JRE upgraded
http://www.ubuntugeek.com/how-to-install-java-runtime-environment-jre-in-ubuntu-904-jaunty.html

And finally you might have to change the default JRE. Get this done from the link
http://ubuntuforums.org/showthread.php?t=87395

During Installation

Now during installation, there are few checks that says this OS is not supported ans few like them. Just ignore them and continue. You should be home.

Just Incase

Just in case you are unable to start the managed server with the command startManagedWebLogic.sh soa_server1
and some strange error like Unable to authenticate, remember to check that the your localhost and are pointing to the same IP address in /etc/hosts file

What was the pain

The pain in the ass was to get the whole thing downloaded. Nothing seems less than a gig.

Word of advice

Don't do the installation in a rush. Read the pre-req and follow each step.