Installing Oracle SOA suite 11g (11.1.1.7)

Installing Oracle SOA Suite is a fairly straightforward process.
We will see how to do this installation on a Windows 7 based machine.

These instructions are generic, you can use these instructions for both 32 and 64bit machines.
You will need at least 4GB of RAM on your laptop/desktop or you might run into the dreaded out of memory errors.

You will need to download the following files to proceed with the installation.
Go to Oracle SOA suite download page here.
Under Oracle SOA Suite 11g Installations, select release 11.1.1.7 and then Microsoft Windows 32-bit JVM.

Download the following files.
  • Database (OracleXE112_Win32.zip).
  • WebLogic server (wls1036_win32.exe)
  • Repository creation utility (ofm_rcu_win_11.1.1.7.0_32_disk1_1of1.zip).
  • Jdeveloper (jdevstudio11117install.exe).
  • SOA (ofm_soa_generic_11.1.1.7.0_disk1_1of2.zip and ofm_soa_generic_11.1.1.7.0_disk1_2of2.zip)
You need to download Jdeveloper SOA extension from a different location.
  • Jdeveloper SOA extension (Download from here).

SOA : Configuring E-Mail Driver


There are lot of ways to send notifications to the users in SOA.
E-Mail, SMS, IM, VoiceMail etc are some of the forms of notifications.

Lets see how to configure the email driver to send emails using a local mail server.
We will use the same send emails from within BPEL.
You need to configure a local mail server before you proceed. See here.

SOA : WebLogic startup Out Of Memory Errors


While starting the WebLogic SOA Server you might see the following error sometimes.

Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.


There are two ways to resolve this error.
1) Reduce the MaxPermSize if you don’t have enough RAM(less than 4GB) or if you are running a 32-bit OS.
2) Use a 64-bit JDK if you have enough RAM(more than 4GB) and a 64-bit OS.

Creating Database and Application Server Connections in Jdeveloper


Lets see how to create the Database and Application Server connections in Jdeveloper.

1) Creating a database Connection.

First you need to unlock the sample hr schema that comes with the Oracle XE db.

Expand Application Resources on the left-hand side in Jdeveloper.
Right Click 'Connections' and select 'New Connection –> Database.


Image 008

SOA : Creating DataSource in WebLogic console


In this post we'll see how to create a JDBC data source in the weblogic console.
First you need to unlock the HR schema in the oracle database.

Open the weblogic console at the following URL
http://localhost:7001/console
Username/password : weblogic/welcome1

Setup Local Mail Server


While testing e-mail notifications in SOA it is very handy to have a local mail server for testing.
It is very easy to install a local mail server. Lets see how to do it.
Download the latest production release HMail server from here.

We need to install and configure the local mail server in 5 steps.
STEP 1 : Install  the mail server.
STEP 2 : Add the entries in the host file.
STEP 3 : Add exception to the windows firewall.
STEP 4 : Configure the local mail server domain.
STEP 5 : Configure Thunderbird for the local server.