|
1.
|
Configure Oracle SOA Suite 10g (10.1.3.3)
Edit httpd.conf on the Oracle SOA Suite ORACLE_HOME and make the following two changes to enable directory browsing (the AIA installer is actually smart enough to detect that this by creating a temporary test directory under %ORACLE_HOME%\Apache\Apache\htdocs):
Old setting:
<Directory />
Options FollowSymLinks MultiViews
AllowOverride None
</Directory>
New setting:
<Directory />
# Options FollowSymLinks MultiViews
Options FollowSymLinks MultiViews Indexes
AllowOverride None
</Directory>
Old setting:
<Directory "e:\oracle\product\10.1.3\soa_1\Apache\Apache\htdocs">
Options FollowSymLinks MultiViews
New setting:
<Directory "e:\oracle\product\10.1.3\soa_1\Apache\Apache\htdocs">
# Options FollowSymLinks MultiViews
Options Indexes FollowSymLinks MultiViews
|
|
2.
|
Apply Oracle SOA Suite 10g (10.1.3) one-off patches
These patches can be downloaded from Metalink and are also included in V11653-01.zip for your convenience:
REM ----------------------------------------
REM Set the environment
REM ----------------------------------------
set ORACLE_HOME=e:\oracle\product\10.1.3\soa_1
set JAVA_HOME=%ORACLE_HOME%\jdk
set PATH=%ORACLE_HOME%\bin;%ORACLE_HOME%\opmn\bin;%JAVA_HOME%\bin;%PATH%
REM ----------------------------------------
REM This is Opatch version 1.0.0.0.57 versus 10.0.0.0.56 that is shipped as default with SOA Suite 10g
REM ----------------------------------------
unzip p2617419_10102_GENERIC.zip
REM ----------------------------------------
REM Include the new Opatch location in the path
REM ----------------------------------------
set PATH=c:\AIA_install\opatch;%PATH%
REM ----------------------------------------
REM Stop Oracle SOA Suite 10g
REM ----------------------------------------
opmnctl stopall
REM ----------------------------------------
REM Apply the one-off patches
REM ----------------------------------------
unzip p5473225_101330_GENERIC.zip
cd 5473225
opatch apply
cd ..
unzip p5515836_101310_GENERIC.zip
cd 5515836
opatch apply
cd ..
unzip p6311809_101330_Generic.zip
cd 6311809
opatch apply
cd ..
unzip p6367355_101330_Generic.zip
cd 6367355
opatch apply
cd ..
unzip p6443218_101330_GENERIC.zip
cd 6443218
opatch apply
cd ..
unzip p6484367_101330_GENERIC.zip
cd 6484367
opatch apply
cd ..
unzip p6502942_101330_Generic.zip
cd 6502942
opatch apply
cd ..
unzip p6503011_101330_GENERIC.zip
cd 6503011
opatch apply
cd ..
REM ----------------------------------------
REM Patch 6499177 does not apply successfully
REM ----------------------------------------
unzip p6499177_101330_GENERIC.zip
cd 6499177
opatch apply
cd ..
|
|
3.
|
Create and configure OC4_REGISTRY container
Create an OC4J container called OC4J_REGISTRY on the Oracle SOA Suite 10g installation.
Afterwards, locate the section for OC4J_REGISTRY in opmn.xml on the Oracle SOA Suite 10g ORACLE_HOME and add the following 3 attributes to the start-parameters accordingly:
Old setting:
<data id="java-options" value="-server
-Djava.security.policy=$ORACLE_HOME/j2ee/oc4j_registry/config/java2.policy
-Djava.awt.headless=true
-Dhttp.webdir.enable=false" />
New setting:
<data id="java-options" value="-server
-XX:MaxPermSize=128m
-Xmx1024m
-Doc4j.userThreads=true
-Djava.security.policy=$ORACLE_HOME/j2ee/oc4j_registry/config/java2.policy
-Djava.awt.headless=true
-Dhttp.webdir.enable=false" />
|
|
4.
|
Create Oracle Service Registry database user
Create the database user UDDIUSER in the dehydration store database:
SQL> conn / as sysdba
SQL> CREATE USER uddiuser IDENTIFIED BY uddiuser;
SQL> GRANT resource, connect TO uddiuser;
|
|
5.
|
Launch the Oracle Service Registry 10g (10.1.3.1) installer
unzip B42221-01.zip
java -jar oracle-service-registry-10.1.3.1.jar
|
|
6.
|
Install Oracle Service Registry 10g (10.1.3.1)
Choose the following options during installation:
a. On the Installation Type page, choose Standalone registry.
b. On the Installation Directory page, enter e:\oracle\product\10.1.3\registry_1.
c. On the Administrator page, enter admin as the Administrator Username.
Although you could specify an alternate user, historically there was an issue when specifying admin users not named admin.
d. On the Database Setup page, choose Create schema. Enter uddiuser when prompted.
e. On the Database Selection page, choose Oracle 9i and later.
f. On the JDBC Drivers page, browse for the file %ORACLE_HOME%\jdbc\lib\ojdbc14.jar on the SOA_HOME.
g. On the Account Provider page, choose Database.
h. On the Deployment Page, enter registry for both Application Server Context and Application Name. Check the 2 boxes Deploy at the end of the installation and Install login modules.
|
|
7.
|
Restart OPMN on the Oracle SOA Suite home
opmnctl stopall
opmnctl startall
|
|
8.
|
Install JDK 1.5.0_11
Download Java 2 Platform Standard Edition (J2SE) 5.0 Update 11 from http://java.sun.com/products/archive/j2se/5.0_11/index.html and install it to C:\Program Files\Java\jdk1.5.0_11:
jdk-1_5_0_11-windows-i586-p.exe
|
|
9.
|
Configure OC4J_SOA to use JDK 1.5.0_11
Oracle SOA Suite 10g (10.1.3.1, 10.1.3.3, 10.1.3.4) uses JDK 1.5.0_06 by default.
Edit opmn.xml and add the line in red to the oc4j_soa entry:
<process-type id="oc4j_soa" module-id="OC4J" status="enabled">
<module-data>
<category id="start-parameters">
<data id="java-bin" value="C:\Progra~1\Java\jdk1.5.0_11\bin\java.exe"/>
(Optional) Update the following values for the oc4j_soa container:
OLD: -XX:MaxPermSize=128M -ms512M -mx1024M
NEW: -XX:MaxPermSize=1024M -ms2048M -mx2048M
These settings are recommended in the installation guide, but if the container does not start up (due to limited server resources), then restore them back to the original values.
|
|
10.
|
Update the JTA transaction timeout value
The Oracle BPEL engine uses the Java Transaction API (JTA), and the timeout value is recommended to be increased.
a. Edit %ORACLE_HOME%\j2ee\oc4j_soa\config\transaction-manager.xml.
b. Change the transaction-timeout values from 30 to 300000.
|
|
11.
|
Restart OPMN
Restart OPMN for all changes to take effect.
opmnctl stopall
opmnctl startall
|
|
12.
|
Launch the Oracle Application Integration Architecture (AIA) Foundation Pack 2 (2.2.0) installer
set JAVA_HOME=c:\Program Files\Java\jdk1.5.0_11
set PATH=%JAVA_HOME%\bin;%PATH%
unzip V13786-01.zip
cd Disk1\install
setup.exe
|
|
13.
|
Install Oracle Application Integration Architecture (AIA) Foundation Pack 2 (2.2.0)
Choose the following options during installation:
a. Choose Application Integration Architecture 2.2.0.0.0.
b. On Specify Home Details, enter E:\oracle\product\2.2.0\AIAFP2.
b. On Details of the Local SOA Suite Installation, specify the OC4J instance name (can be found at <soa_home/bpel/utilities/ant-orabpel.properties) and request ports (can be found at opmn.xml).
c. On Oracle Database Server Details, enter sys as the username.
d. On Oracle Service Registry Details, for Username (administrator) and Instance Name, values must be what was specified during installation of Oracle Service Registry 10g installation (e.g., admin, OC4J_REGISTRY).
e. On Oracle Service Registry Details (continued), enter E:\oracle\product\10.1.3\registry_1 for OSR Registry Home.
|
|
14.
|
Install Oracle AIA Foundation Pack 2 (2.2.0) Demos (optional)
Install the Oracle AIA Foundation Pack 2 demos:
set ORACLE_HOME=e:\oracle\product\2.2.0\AIAFP2
cd %ORACLE_HOME%\bin
aiaenv.bat
cd %AIA_HOME%\samples\AIADemo\scripts
ant -buildfile DeployDemo.xml
Test the demo:
a. Navigate to http://<servername>:<port>/soademo
b. Enter sking@soademo.org and welcome1 as the username and password.
|