Oracle SOA 11g Install (Windows)

Download

* Download Oracle SOA from: http://www.oracle.com/technetwork/middleware/soasuite/downloads/index.html page.
– WebLogic Server: wls1031_win32.exe
– Repository Creation Utility: ofm_rcu_win32_11.1.1.1.0_disk1_1of1.zip
– SOA Suite: ofm_soa_generic_11.1.1.1.0_disk1_1of1.zip
– JDeveloper Studio, base install: jdevstudio11111install.jar
* Database
– Oracle 10g database version 10.2.0.4+ with AL32UTF8 character set
– Oracle 11g database version 11.1.0.7+

Check Versions

* Check Oracle database version. Need 10.2.0.4 and above.

SQL> SELECT * FROM v$version;
 
BANNER
----------------------------------------------------------------
Oracle DATABASE 10g Enterprise Edition Release 10.2.0.4.0 - Prod
PL/SQL Release 10.2.0.4.0 - Production
CORE    10.2.0.4.0      Production
TNS FOR 32-bit Windows: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production

* Also need AL32UTF8 character set support

SQL> SELECT parameter, VALUE 
    FROM v$nls_parameters 
    WHERE parameter = 'NLS_CHARACTERSET';
 
PARAMETER            VALUE
-------------------- --------------------
NLS_CHARACTERSET     AL32UTF8

Install Weblogic Server

* Double click wls1034_win32.exe and click Run to start.
* Click Next on welcome screen.
* Accept default on Choose Middleware Home Directory screen and click Next.
– C:\Oracle\Middleware
* Bypass Register for Security Updates for now.
* Select Typical install
* Accept default install directories
* Select “All Users” start menu folder

Create Database Schema for BAM and SOA Servers

* See this post to create database schema for BAM and SOA servers.

Install SOA

* Unzip SOA downloads to a local directory
– ofm_soa_generic_11.1.1.4.0_disk1_1of2.zip
– ofm_soa_generic_11.1.1.4.0_disk1_2of2.zip
* Go to Disk1 directory and double click setup.exe
* Enter JDK home
* Click Next on the first screen
* Select Skip Software Updates
* Click Next on Prerequisite Checks screen
* Accept default home directory
Oracle Middleware Home: C:\Oracle\Middleware
Oracle Home Directory: Oracle_SOA1
* Select WebLogic Server on Application Server screen
* Review Installation Summary and click Install.

Install Oracle SOA Suite
  Directory Details
    Middleware Home Location: C:\Oracle\Middleware
    Oracle Home Location: C:\Oracle\Middleware\Oracle_SOA1
    Application Server Type: WebLogic Server
    Application Server Location: C:\Oracle\Middleware
  Disk Space
    Oracle Home Size: 1256 MB
    Available: 12583 MB
  Applications
    Oracle BPEL PM, Mediator, Rules, B2B, Human Workflow
    Oracle Business Activity Monitoring (BAM)
    Oracle Enterprise Manager

Create Domain

* Go to C:\Oracle\Middleware\Oracle_SOA1\common\bin, double click config.cmd
* Select Create a new WebLogic domain
* Select
– Oracle SOA Suite
– Oracle Enterprise Manager
– Oracle Business Activity Monitoring
* Enter domain name and location
Domain name: domain1
Domain location: C:\Oracle\Middleware\user_projects\domains
Application location: C:\Oracle\Middleware\user_projects\applications
* Enter admin user and pass
Name: weblogic
Pass: welcome1
* Select Development Mode and Sun SDK 1.6.0_21
* On Configure JDBC Component Schema screen, select ALL component schema checkboxes and enter:
Vendor Oracle
Driver: Oracle’s Driver (Thin) for Service connections; Versions:9.0.1 and later
DBMS/Service: orcl
Host Name: localhost
Port: 1521
Schema Password: welcome1
* Click Next after successful testing JDBC component schema
* Leave all optional configurations unchecked.
* Click Create on Configuration Summary screen.
* Click Done.

Start/Stop Servers

* Create a file named boot.properties in user_projects\domains\domain1 directory with the following content:
username=weblogic
password=welcome1
* cd to user_projects\domains\domain1\bin directory
* Adjust Java memory settings in setSOADomainEnv.cmd file:

set DEFAULT_MEM_ARGS=-Xms256m -Xmx512m

* Start Admin Server:

startWebLogic.cmd

* Start SOA Server:

startManagedWebLogic.cmd soa_server1

* Start BAM Server:

startManagedWebLogic.cmd bam_server1

Console URLs

* See this post for various console URLs

Errors

could not reserve enough space for object heap windows

* In user_projects\domains\domain1\bin\setSOADoainEnv.cmd, change
set DEFAULT_MEM_ARGS=-Xms512m -Xmx1024m
to
set DEFAULT_MEM_ARGS=-Xms256m -Xmx512m

References

* Getting Started with Oracle SOA Suite 11g R1 A Hands-On Tutorial By: Heidi Buelow etc.
* SOA 11g Documentation page
* WebLogic 11.1.1.4 Documentation
* http://download.oracle.com/docs/cd/E12839_01/soa.htm
* Oracle® Fusion Middleware Domain Template Reference 11g Release 1 (10.3.4) Part Number E14138-07
* Quick Start Guide for Oracle SOA Suite

This entry was posted in soa11g and tagged , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


*

This site uses Akismet to reduce spam. Learn how your comment data is processed.