Oracle Fusion Middleware 11g (ofm11g) on Centos 5

The new Oracle Fusion Middleware 11g just got released a few days back, so time to play with it!
Oracle did a great job on the installation guide and quickstart again, so installation wasn’t a real hard job.

A short overview of the steps we need to follow

  • Install Oracle Database (i used OracleXE)
  • Create Schemas for Oracle SOA Suite and Oracle BAM by using Repository Creation Utility (RCU)
  • Install Oracle WebLogic Server and Create the Middleware Home
  • Installing Oracle SOA Suite
  • Configuring Oracle SOA Suite
  • Post-Installation Tasks
  • Installing Oracle SOA Suite Design-Time Components

On the download page i downloaded the next components

Quiet some software to install before we can get started.
I assume you already have the db running so lets get on to the next step.

Create Schemas for Oracle SOA Suite and Oracle BAM by using Repository Creation Utility (RCU)

Unzip ofm_rcu_linux_11.1.1.1.0_disk1_1of1.zip and run ./rcu

I needed to change the next parameters in the db

  • alter system set PROCESSES=500 scope=SPFILE;
  • alter system set open_cursors=500 scope=SPFILE;

And the next parameters in the linux kernel (/etc/security/limits.conf)
[sourcecode language=”xml”]
# tbv oracle soa suite 11g
oracle hard nofile 4096
oracle soft nofile 4096
[/sourcecode]

And a list of missing/wrong version of system packages
[sourcecode language=”xml”]
Root
Checking operating system certification
Expected result: One of enterprise-4,enterprise-5,redhat-4,redhat-5,SuSE-10
Actual Result: redhat-5
Check complete. The overall result of this check is: Passed

Checking recommended operating system packages
Checking for gcc-4.1.0-28.4; Not found. Failed <<<<
Checking for gcc-c++-4.1.0-28.4; Not found. Failed <<<<
Checking for setarch-1.6-1; found setarch-2.0-1.1-i386. Passed
Checking for sysstat-5.0.5-1; Not found. Failed <<<<
Checking for libstdc++-4.1.0-28.4; found libstdc++-4.1.2-44.el5-i386. Passed
Checking for libstdc++-devel-4.1.0-28.4; Not found. Failed <<<<
Checking for compat-libstdc++-296-2.96-132.7.2; Not found. Failed <<<<
Checking for compat-db-4.1.25-9; Not found. Failed <<<<
Checking for control-center-2.8.0-12; found control-center-1:2.16.0-16.el5-i386. Passed
Checking for glibc-common-2.3.4-2.9; found glibc-common-2.5-34-i386. Passed
Checking for binutils-2.16.91.0.5-23.4; found binutils-2.17.50.0.6-9.el5-i386. Passed
Checking for make-3.80-202.2; found make-1:3.81-3.el5-i386. Passed
Check complete. The overall result of this check is: Failed <<<<
Checking kernel parameters
Checking for VERSION=2.6.18; found VERSION=2.6.18-128.1.16.el5. Passed
Checking for hardnofiles=4096; hardnofiles=1024. Failed <<<<
Checking for softnofiles=4096; softnofiles=1024. Failed <<<<
Check complete. The overall result of this check is: Failed <<<<
Checking Recommended glibc version
Expected result: ATLEAST=2.5-12
Actual Result: 2.5-34
Check complete. The overall result of this check is: Passed

Checking physical memory
Expected result: 1024MB
Actual Result: 1196MB
Check complete. The overall result of this check is: Passed
[/sourcecode]

Install all the correct packages (yum available/yum install), and ignore the other warnings during install.

rcu1
rcu2
Setup your own db instance
rcu3
rcu4
I selected just all the components
rcu5
rcu6
rcu7
rcu8
rcu9
rcu10
rcu11

Install Oracle WebLogic Server and Create the Middleware Home

chmod the bin file and run ./oepe11_wls1031_linux32.bin
I had some ‘wrong class version exceptions’, so installed java6 update14.

wls1
Create a new home
wls2
wls3
wls4
wls5
wls6
wls7
wls8
wls9
wls10
wls11

Installing Oracle SOA Suite

Unzip ofm_soa_generic_11.1.1.1.0_disk1_1of1.zip and run ./runInstaller in Disk1

soa1
soa2
soa3

Configuring Oracle SOA Suite

Now we need to configure the soa suite installation with the Oracle Fusion Middleware Configuration Wizard.
Go to [sourcecode language=”xml”]
/common/bin
[/sourcecode]
and run ./config.sh

soaconfig1
soaconfig2
soaconfig3
Since i used 1 db for all the components, select al the components and config the same db settings
soaconfig4
soaconfig5
soaconfig6
soaconfig7
soaconfig8
soaconfig9
soaconfig10
soaconfig11
soaconfig12
soaconfig13
soaconfig14
soaconfig15
soaconfig16
soaconfig17

Most of the steps are just next, next and a few more next.

Post-Installation Tasks

Start both the AdminServer and the ManagedServers.
AdminServer
[sourcecode language=”xml”]
/user_projects/domains/domain_name/startWebLogic.sh
[/sourcecode]
ManagedServers
[sourcecode language=”xml”]
/user_projects/domains/domain_name/bin/startManagedWebLogic.sh soa_server1 (default name)
/user_projects/domains/domain_name/bin/startManagedWebLogic.sh bam_server1 (default name)
[/sourcecode]
On startup it will prompt you for the username/password we used on during installation

Installing Oracle SOA Suite Design-Time Components

For development we will download Oracle JDeveloper 11g R1 (Build 5407).
To be able to create soa projects in it we need to update it with the Oracle SOA Suite Extension.
Go to Help > Check for Updates. Select ‘Oracle Fusion Middleware Products’ in the ‘Search Update Centers’, next and select ‘Oracle SOA Suite Composite Editor 11.1.1.0’.

New consoles (look-and-feel)

weblogic server 10.3.1 console
wlsconsole
enterprise manager
enterprisemanager

Installation is done!
Just a few urls to check if everything went ok

administration server
http://host:admin_server_port (default installation : http://localhost:7001)
wls console
http://host:admin_server_port/console (default installation : http://localhost:7001/console)
enterprise manager
http://host:admin_server_port/em (default installation : http://localhost:7001/em)

Links

Oracle Fusion Middleware Documentation Library
Oracle Fusion Middleware Products Update Center
Oracle11g on CentOS-5, package requirements
Oracle® Fusion Middleware Quick Installation Guide for Oracle SOA Suite11g Release 1 (11.1.1)

Ready to create some nice new fusion apps!

Original blog

Share this Post:
Digg Google Bookmarks reddit Mixx StumbleUpon Technorati Yahoo! Buzz DesignFloat Delicious BlinkList Furl

13 Responses to “Oracle Fusion Middleware 11g (ofm11g) on Centos 5”

commenter

Nice work, Eric! Can’t wait for your VM!

Sandor Nieuwenhuijs | July 4th, 2009 at 2:25 pm
commenter

Mike! I am shocked. Can’t believe you haven’t installed it yourself already 🙂
Great work and good feedback, Eric.
I managed to get it (actually one of the last internal previews) running on Fedora 11, 64 bits. Bit of a challenge, as XE does not easily run on 64 bits os, and some other quirks.
Sandor

Alessandro Ilardo | August 5th, 2009 at 2:40 pm
commenter

We are testing the SOA suite 11g which only supports the latest database version for 10g standard release (patches are not free as instead is SOA suite).
I assume you’ve used 10g XE database, isn’t it?

My considerations so far are not good, personally SOA promises to follow simple architectural rules, such as platform indipendence, while installing Oracle you face severals constraints which force you to establish a vendor lock in.

commenter

You’re right, i used the XE edition for database. Can you give me some more highlights on the vendor locking part?

Alessandro Ilardo | August 12th, 2009 at 4:01 pm
commenter

Well, to me SOA are basic but fundamentals rules, such as loosely coupling and platform independence.
A SOA platform which as installation requirements, needs a updated proprietary DB and OS (including specific OS version) is already out from SOA goal.
I guess there are commercial and technical reasons but in terms of business this is not SOA. A client who already has a complex infrastructure to maintain needs a flexible way to go to SOA and based on my experience is often reluctant in import new platform which obviously entails more $ to spend in maintenance.

—————–

Anyway, Oracle SOA seems to be the most mature platform for now and as consultant I am forced to follow the trend and learn what customers ask. So take that as my personal though, after all I believe this blog is very useful and I look forward to contribute as much as I can.
For now I am still stuck in installing all these components on a laptop for development purposes.
So far I installed DB schema and WebLogic, but I am stuck with SOA suite package which expects a Server Linux distribution, while mine is Ubuntu. Do you have any suggestions on how to complete the installation on a non supported OS?

Thanks in advance

commenter

Well. i hope i can make your journey with Oracle SOA Suite a bit less painfull. If you have any questions i will try to help.

To install on Ubuntu you could try : ./runInstaller -ignoreSysPrereqs

commenter

Hi Eric

Realy great job!!! I wish to know what is the OS recommended by install SOA 11g. I can choos between Windows and Linux, but how I know wich I should choose?…

commenter

I have the same question as Akei. I want to use Linux.
Which distribution of Linux should I use for using SOA Suite 11g?
Please Reply.

commenter

Oracle prefers Unbreakable Linux, so you could give this one a try.
But it will also run on a lot of other distros. So it depends also on the main choice of your company.

commenter

Nice Site. You will need to feel more about RSS Feeds as a visitors source. They bring me a good bit of site visitors.

commenter

Isn’t that the ‘Posts’ link at the top right ?

Leave a Reply:

Name (required):
Mail (will not be published) (required):
Website:
Comment (required):
XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>