Wednesday, August 12, 2009

Installing the Hype called Oracle SOA Suite 11g -Part III

After the installation is complete you must configure the components
Go to SOA_ORACLE_HOME, E:\OraMiddleware\OracleSOA\common\bin and run the config.cmd file, with –log option

>config.cmd –log=E:\config.log

For the fresh install, create a new Weblogic Domain 

 

Select Oracle SOA Suite, Enterprise Manager and BAM, the dependent products are selected automatically
 

Specify domain name of choice, we gave “soadev”

 

Provide the username and password for the administrator, username:weblogic, password:welcome1
 

Configure the server start mode as Development Mode, using SUN SDK

 

Select all the component schemas, and provide the Oracle SID Name, in our case it is orcl11g and the host name as “wbi”. 
The screen looks as the snapshot below:

 

Now deselect all the component schema, except BAM Schema. Now here you need to provide the “Schema Owner Name” and “Schema Password” as you provided in Step 4 of 7 of the RCU. Refer to the snapshots in RCU document.
 
Repeat this for all other component schemas. This would give you the following:

  
Deselect all, and move to next screen. This starts testing the connections –

 

Acquire the test result,

 

Since we would like to go with default options, we would not select any option on the screen below.

  

The important ports to remember are :

Admin Server: 7001

BAM server:8001

SOA Server:9001


  
  


Now click create, it would create the domains, 

  

Once finished, you should be ready to go –

  
Click Done and dismiss the screen, your Oracle SOA Suite is now installed fully.


Now to start the SOA and BAM server, first start the weblogic server,

Open the command window, traverse to the Domain Location, specified in the Create Domain screen.

E:\OraMiddleware\user_projects\domains\soadev\bin> startWebLogic.cmd 

Ensure the WLS is up, using http://localhost:7001 and http://localhost.7001/em

Once WLS is up and running, To start the SOA Server, type in the command
E:\OraMiddleware\user_projects\domains\soadev\bin>startManagedWebLogic.cmd soa_server1

Check if SOA server is up using
http://wbi:8001/integration/worklistapp
http://wbi:8001/b2b

To start the BAM server,
E:\OraMiddleware\user_projects\domains\soadev\bin>startManagedWebLogic.cmd bam_server1
Check the BAM server, http://wbi:9001/OracleBAM

This would ensure that your Oracle 11g SOA Suite is up and running. Happy Programming.



Installing the Hype called Oracle SOA Suite 11g -Part II

Continuing fromOracle DB creation and creating repository, in this post we would proceed with working on installation of the actual servers. 

Installing Weblogic Server

Initiate the installer oepe11_wls1031.exe, checkt he welcome screen
 


It is advisible to use your metalink user/password here, if you have one. But you may proceed without one as well.
 


Here we may choose to go with Custom install, but for a simpler option we would take typical,
 
Your MIDDLEWARE_HOME should contain both SOA_ORACLE_HOME and WEBLOGIC_SERVER_HOME, as per the Oracle Fusion Middleware Installation planning guide.

 

Choose a shortcut location, and observe the installation summary.

And the install begins…
On a good day, you would see
 

I would ask you to restart once, after successful install.

Installing Java Access Bridge

Now you would be required to configure the Java Access Bridge

For this you need to download Java Access Bridge from the following URL
http://java.sun.com/javase/technologies/accessibility/accessbridge/

If you are installing on a Windows computer, you can install and configure Java
Access Bridge for Section 508 Accessibility:
1. Download Java Access Bridge from the following URL:
http://java.sun.com/javase/technologies/accessibility/accessbridge/
2. Install Java Access Bridge, using .exe file and use .zip file to copy the files below to specific directory.
3. Copy the access-bridge.jar and jaccess-1_4.jar files from your
installation location to the jre/lib/ext directory.
4. Copy the WindowsAccessBridge.dll, JavaAccessBridge.dll, and
JAWTAccessBridge.dll files from your installation location to the jre/bin
directory.
5. Copy the accessibility.properties file to the jre/lib directory.

Installing SOA Server and BAM Server

To run the set up extract ofm_soa_generic_11.1.1.1.0_disk1_1of1.zip
Now switch to command prompt and 
E:\> cd E:\Software\ofm_soa_generic_11.1.1.1.0_disk1_1of1\Disk1
E:\Software\ofm_soa_generic_11.1.1.1.0_disk1_1of1\Disk1> setup.exe –jreLoc %JRE_HOME%

(JRE_HOME should have bin\java file)

This should start the Oracle Fusion Middleware installer screen
 

Ensure that you have ran RCU and installed Weblogic server. Click next.

Ensure that your pre-requisite check passes.
 

Install SP2 now and run the installer again to see that all the pre-requisites are met.

 

 

Specify the installation location

 

Install begins
 

The installation should finish gracefully

Tuesday, August 11, 2009

Installing the Hype called Oracle SOA Suite 11g -Part I

This post would try to list down the steps to install Oracle SOA Suite 11g on a Windows 2003 system.  The documents provided by Oracle do suffice in installation of the product, but a reason to post this blog is to have a single page specifying a step-by-step process rather than to keep hoping in between -

1) Installation Guide for Oracle SOA Suite 11g Release

2) Fusion Middleware Adminitrator Guide

3) Fusion Middleware Installation planning Guide

The steps below provide a snapshot of what is required to be done -

1. Install DB 11g or atleast 10.2.0.4.0+
2. Run the RCU downloaded from  
3. Install Weblogic server and create middleware home
4. Install JavaAccessBridge, before that understand if it is required in your scenario. it is only required for windows.
5. Install SOA Suite 11G
6. Configure the Weblogic Server and SOA/BAM Server.
7. Run the servers and check the consoles for various required applicaitons.

Ensure that you have read the PREREQUISITES as specified in Installation Document, we would be creating the install on Windows 2003 Server 32-bit. 

Oracle DB 11g Installtion

You would need to download the Oracle DB 11g from www.oracle.com\technology, the file is named win32_11gR1_database_1013.zip

We would need to perform Custom install for the purpose of SOA Suite, aswe have to specify character set to be used for this database.

1. Run the win32_11gR1_database_1013\database\setup.exe

2. Select the installation method as “Advanced Install”

3. Select the installation type as “Enterprise Edition”

4. Set the directory of install to E:\OracleDB
 5. Now the installer checks the prerequisites

6. Now Select Configuration option, suggested “Create Database” 

7.For the database configuration option, select General Purpose Transaction processing option
 
8.Set the global database name.

9. Set the Character set, it is very important, lest you check AL32UTF8, you wouldnot be able to run the Repository Creation Utility for SOA Suite 11g. Also remember to keep the Enable Automatic Memory Management checked. This would save you from many unseen problems.
 10. Since we do not need any email notification, lets keep it unchecked.

11. Specify Database Storage option, select “file System” and specify the directory to hold database content
 
12. Select “Do not enable automatic backups”

14. We have used same password for all the users – “admin123”  

15. You may want to associate your metalink account here, but we shall leave it blank.

16. Check the summary once, and then click “INSTALL”

17. Once installed, it would ask you to set up the password for any accounts you want to unlock
 
18. We have unlocked scott and set the password as tiger
19. This ends the installation of Oracle Database 11g for SOA Suite. 

Create Schema for SOA Suite and BAM using RCU

PreRequisite: Install Oracle 11G using AL32UTF8 character set, using Oracle Custom Install. The procedure is explained above.

Goto the \ofm_rcu_win32_11.1.1.1.0_disk1_1of1\rcuHome\BIN in the command window and run the batch file,

Rcu.bat

Click Next on the welcome screen
On the Create Repository Screen select “CREATE”
On the following screen provide the Database connection details
The service name is “orcl11g”
 
This would begin prerequisite check


Select the following components which are REQUIRED for SOA Suite Install.Remeber that we have specified the “DEV” prefix for the schemas to be created. You may change it in the top dialogue box, this would help you to create your schema names as-
Metadata Services – DEV_MDS
SOA Infrastructure – DEV_SOAINFRA
Business Activity Monitoring – DEV_ORABAM
User Messaging Service – DEV_ORASDPM

It would now check the pre-requisites again.
 
Next it would ask for passwords for different schemas, you may also choose to give same passwords for all schemas, which is a good decision for Development environment.
We have used admin123 as the password
 Note:You must remember or make a note of the password(s) from this screen; you will need them later when you are configuring your products.
 
On the Map Tablespaces screen, simply click OK.
 

 
Now it will begin creating tablespaces


 

Observe the summary information and click “Create” to proceed.

 

 
The RCU would now be busy creating tablespaces for each schema

This completes our repository creation exercise.