Pages

Friday, June 28, 2013

Oracle SOA


I came across many problems while installing Oracle SOA 11g Version, So I though to write a step by step guide for others ( frankly for me :-) )

The memory Requirements are other essentials can be obtained from the Oracle Web Site.

Here are the necessary Packages that we need to start with ( may require more that 3GB of the Disk Space for the Installation packages) since we are installing in the Windows Xp machine

Oracle Database 10g Express Edition: The SOA Suite requires a Data base for storing data. The Express edition is best choice when we are doing the development. Install OracleXEUniv.exe—recommended for a small footprint database. We will use this for our development Purpose.

Web Logic Server: Oracle SOA best Supported application Server which will provide the JEE environment and also server which will run the SOA suite application ( which is a J2ee application)

Download the “Oracle Web Logic Server 11gR1 (10.3.1) - Package Installer”.
Repository Creation Utility: RCU will help in laying the Data Base Schemas that the SOA Suite Uses for all the Persistence tasks.

SOA Suite: this is the actual JEE application that contains the SOA engines and that will be deployed on WebLogic.

Choose the “SOA Suite, Generic” package, its name is ofm_soa_generic_11.1.1.1.0_disk1_1of1.zip and it is 1.5GB in size.

JDeveloper: IDE that we will use to design and deploy the SOA composites.

Installing the OracleXEUniv

Accept the agreement
Select the Location
Enter the Password ( Omhq126b)
We will see the Screen with details of the Database , Save them
Install Starts.

When you are using XE, you will see a warning when you install the database schema that this database version is too old. You can safely ignore this warning as it applies only to production environments.

When you are using Oracle XE, you must update database parameters if you have never done this for your database installation. You only have to do this once after installing. Set the processes parameter to >=200 using the following instructions.

C:\Documents and Settings\mjagadish>sqlplus system@XE as sysdba

SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jun 19 13:15:02 2013

Copyright (c) 1982, 2005, Oracle. All rights reserved.

Enter password:

Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production

SQL> show parameter session

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
sessions integer 49

SQL> show parameter process

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
processes integer 40

SQL> alter system set sessions=300 scope=spfile;
System altered.


SQL> alter system set processes=300 scope=spfile;
System altered.

Once the Changes are done , restart the oracle XE Service for the changes to get updated.

Installing the Web logic Server.

When the Welcome screen for the install wizard comes up, click on Next.
Skip the email updates and Click next
Select Create a new Middleware Home and enter: D:\Middleware\11GR1\MW_HOME
Select the Typical Install
Review installation directories.
Choose the Default for the Menu Folder
Select “Next” for the Installation Summary
Click on Next to start the installation process. Installation takes about three minutes.

When the installation is complete, deselect the Run Quickstart checkbox and click on Done.

















Repository Creation Utility

Go to the Bin Location of the rcuHome
run the rcu.bat from the Command Prompt

1.In the Welcome Screen , select the Next
2.If we are installing the repository for the first time , we can go with the create option. If we are re installing the Repository then we need to first drop the Schemas and then re create.
Select Create Options ,since we are creating the Database Schemas
3.Enter the Details regarding the Database

















Just Make sure all the above details are correct except the Password.
Click Next

Select Ignore if you see any of the Warnings.
















Once done , click Ok

















In the next screen , select the “SOA and BPM Infrastructure” . A few more will be automatically selected as they are dependencies for the SOA and BPM

Click “next”
The RCU will check the prerequisites

Select the radio button to Use the same password for all schemas. Enter a schema password. Use the same password as we will be needing them later.

in the next screen , select the table space for the components ( use defaults)
Select OK for the warning

Now the RCU creates the table space
In the next screen click the Create to create the Schemas

In the last screen we can see the details like

Once the Repository Creation is done is configured, you can install the SOA server into the Oracle Home on the Web Logic server.

SOA
Select weblogic server By default

1.For Installing the soa , we need to provide the JRE location too. From the DISK1 ( after we unzip the soa ) run the setup using

setup -jreLoc D:\Middleware\11GR1\MW_HOME\jdk160_24

I am here passing the JRE location from the Weblogic Home that we installed earlier.

2.Wait for the pre-requisite check to complete.
3.On the Specify Installation Location screen, select the defaults provided.



















Click on Next.

Review Summary in the next Screen.

Click on Install.

Click on Finish once the Installation is done.

Creating Domain

Once the Installation is done , we need to now configure the SOA domain.

For this ,In a command window, enter:

cd C:\Oracle\Middleware\home_11gR1\Oracle_SOA1\common\bin
exucete “config.cmd”

When the configuration wizard’s Welcome screen comes up, select Create a new WebLogic domain, and then click on Next.

Select Generate a domain and select SOA Suite, Enterprise Manager, and Business Activity Monitoring. Dependent products are selected automatically.

















Click next , and we can see some basic screens as we see in Weblogic Installation. enter the details for them

We will see a Configure JDBC Component Schema screen, you select the components that you want to change, and then enter the property value for those components. First, select all of the components and enter welcome1 for the password in the Schema Password field.

With all of the check boxes selected, enter the Service, Host, and Port values.

















Follow the Next Screens which are similar as installing the Web logic Domain.

Once done start the admin Server from the Newly Creating Domain like

Checking your browser

Oracle SOA Suite 11g has specific browser version requirements.
Enterprise Manager requires Fire fox 3 or IE 7.

BY This the Installation of SOA Suite Is Completed. I will update the Document more with additional details.

Happy learning :-)