Installing UDDI (Oracle Service Registry)

Introduction

Yet another component of Fusion Middle Ware is UDDI (Universal Description, Discovery and Integratio). UDDI is provide as a part of OSR (Oracle Service Registry).

For installing UDDI you have to install OSR (Oracle Service Registry)

For more information on UDDI – http://www.oracle.com/technology/tech/soa/uddi/index.html

Software Download

You can download Oracle Service Registry from http://www.oracle.com/technology/tech/soa/uddi/index.html

We will be installing this in UNIX. The downloaded software can be installed on any platform.

Installation Pre-Reqs

Extract the zip file you get from the download location and you will see a jar file. The name of jar file will depend on the version you are trying to install. I am going to install version 10.3.0, so the jar file name in my software is oracle-service-registry-10.3.jar

Before you start installation, make sure that your java is atleast 1.5. You can check the same using following step

-bash-3.00$ which java
/usr/bin/java
-bash-3.00$ java -version
java version “1.4.2”
gcj (GCC) 3.4.6 20060404 (Red Hat 3.4.6-8.0.1)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

So in my case the java version is 1.4.2. I need to install and include the path for java 1.5 or higher in my PATH variable. Since I have java 1.6 already installed, I will use the same

-bash-3.00$ export PATH=/local/java/jdk1.6.0/bin:$PATH
-bash-3.00$ which java
/local/java/jdk1.6.0/bin/java
-bash-3.00$ java -version
java version “1.6.0_07”
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Server VM (build 10.0-b23, mixed mode)

Next important thing to do, before starting the OSR installation is to create a schema that will be used for creating repository for UDDI.

SQL> create user uddiuser identified by welcome1;

User created.

SQL> grant connect, resource to uddiuser;

Grant succeeded.

Last thing is to have a OC4J instance in order to deploy the application. We can use the basic SOA installation which gives Webserver and OC4J container.

You can check the SOA installation using my previous post Installing SOA 10g (10.1.3.4) – Fusion Middleware

The only change required in that installation is on the screen 3)

Screen 3) select “J2EE Server, Web Server and SOA Suite” for complete installation.

Instead of selecting “J2EE Server, Web Server and SOA Suite”, please select “J2EE Server and Web Server” as we want only the basic install.

Once this is done we are ready to start the installation process.

Installing Oracle Service Registry (UDDI)

Run the following command to start the installation

java -jar oracle-service-registry-10.3.jar

First screen will be welcome screen. Click on Next.

14

Screen 2) Select the Installation type. Select Standalone installation and click on next.

22

Screen 3) Select the installation directory. Click on Next

32

Screen 4) Enter SMTP Configuration. SMTP host will be the host on which you are installing OSR.

43

Screen 5) Administrator Account Configuration details. Do not change the Administrator Username, keep is admin. Else the installation might fail.

52

Screen 6) For Database Setup. Select “Create Schema” as we have already created the schema. We dont have to create a separate database. Once central database with multiple schemas for different installation will do.

62

Screen 7) Select the database type. In my case I am using Oracle database.

72

Screen 8) Database details for Oracle Database. You need to enter host, port and database name as well as new schema that we have created in pre-installation section.

82

Screen 9) This screen ask for data source details. This data source will be create in the SOA installation that we did in pre-installation section. Just enter any name for data source and click on next.

92

Screen 10) You need to provide the JDBC driver details in this screen. All the drivers classes are stored in classes12_g.jar file present under SOA HOME. This path for this jar file is

SOA_HOME/jdbc/lib/classes12_g.jar

Just provide the complete path for this jar file and click on next.

Screen 11) In this screen just select “Database” for authentication provide.

103

Screen 12) Select the version of Application server you are using. If you are using SOA as mentioned in pre-installatin section then choose Oracle 10g 10.1.3. If you are going for AS10g R2 (Which will also do), then choose Oracle 10g 10.1.2

111

Screen 13) Enter the Application Server details. Here you have to enter the HTTP port, hostname on which SOA is installed and the context to be used when deploying UDDI application.

121

Screen 14) Here you have to enter further details for SOA instance.

Oracle home is the location for SOA home.

OPMN host is the hostname where SOA is installed

OPMN port is the request port in SOA_HOME/opmn/conf/opmn.xml

instance name is the OC4J instance name where the application will be deployed. We can keep it home as well.

Oracle Administrator : oc4jadmin

Password : password for oc4jadmin

131

Screen 15) Finally it will show you the summary and clicking on Next will start the installation.

Once the installation is finished, click on Next and it will give all the URLs as shown below

141

This completes the installation of Oracle Service Registry which contains UDDI.

Hope this helps !!

Installing SOA 10g (10.1.3.4) – Fusion Middleware

Introduction:

This is my first post under Fusion Middleware technology. In this post we will see how to install SOA and carry out the basic validation (sanity check) for the installed components.

Pre-Installation Steps

You can download SOA software from OTN. This software version available for download is 10.1.3.1. Once we install SOA 10.1.3.1, we will upgrade the same to 10.1.3.4 using patchset. SOA 10.1.3.4 patch set can be downloaded from metalink. The patchset checkin number is 7272722.

Before starting the SOA installation we need to do some pre-installation task. Every SOA suite installation needs a database (Oracle). Also we need to create 3 schemas in that database before we proceed with runInstaller of SOA suite.

Please carry out a installation of Oracle database server software and create a simple database. Also you need to have database version 10g R2 (10.2.0.2) for SOA installation.

Once the database is created you need to run irca.sh shell script. This script will be present in the software dump downloaded from OTN.

After unzipping the software in a directory, you can navigate to the following location

base_dir/install/soa_schemas/irca

Here you will find irca.sh.Before running this script, make sure that you set ORACLE_HOME and ORACLE_SID of the database you have installed. If the database is not installed on the same host, then you need to login to the server where database is installed and then run this script.

Run this script as shown below. You need to provide hostname, port # and database SID of the database you have installed.

-bash-3.00$ sh irca.sh
Integration Repository Creation Assistant (IRCA) 10.1.3.1.0
(c) Copyright 2006 Oracle Corporation. All rights reserved.

Enter database “host port serviceName” [localhost 1521 orcl]: rws60066rems 1618  obieebam
Enter sys password:
Enter sys password: Running IRCA for all product(s):
connection=”rws60066rems 1618  obieebam”, , orabpelUser=ORABPEL, esbUser=ORAESB, orawsmUser=ORAWSM

Validating database …
Validating database character set …
WARNING: The target database character set is WE8ISO8859P1
For multi-byte support, the AL32UTF8 character set is recommended.

Running prerequisite checks for ORABPEL …
Enter password for ORABPEL:
Loading ORABPEL schema (this may take a few minutes) …

Running prerequisite checks for ORAESB …
Enter password for ORAESB:
Enter password for ORAESB: Loading ORAESB schema (this may take a few minutes) …

Running prerequisite checks for ORAWSM …
Enter password for ORAWSM:
Loading ORAWSM schema (this may take a few minutes) …

INFO: ORABPEL schema contains 225 valid objects.

INFO: ORAESB schema contains 180 valid objects.

INFO: ORAWSM schema contains 90 valid objects.

IRCA completed.
Please check for any ERROR message above and also check the log file
/tmp/irca2008-12-31_01-54-01AM.log for any error or other information.

Also while running the script you need to provide password for sys, orabpel, oraesb and orawsm. It will set the password for orabpel, oraesb and orawsm.

Once this is down, you can start with the installation task of installing SOA.

Installation Step

From the SOA software dump, start the runInstaller using following command.

-bash-3.00$ ./runInstaller -invPtrLoc $HOME/oraInst.loc

1

Screen 1) Advanced Installation (For more option and flexibility go for Advanced installation)

2

Screen 2) Provide the path for inventory location

3

Screen 3) select “J2EE Server, Web Server and SOA Suite” for complete installation.

4

Screen 4) Verifying the system requirements

5

Screen 5) Database connection Information – You need to provide the connection information for the database you have installed before starting the SOA installation

6

Screen 6) Database Schema Passwords – Provide the database schema passwords for ORABPEL, ORAESB and ORAWSM. These will be same as what provided while running irca.sh script in  pre-installation step.

7

Screen 7) You can provide the file staticports.ini for custom ports, or you can accept the default ports.

8

Screen 8) Administration Settings – Provide the name for AS Instance and OC4J instance. You also need to set the password for administrator.

9

Screen 9) Cluster Topology Configuration – This is requrired for advanced installation in case if we have to configure a standby or a load balancing site. For this installation we are ignoring this step.

10

Screen 10) This screen will show the installation summary. You can click on Install.

11

At the end of installation it will ask you to run root.sh as a root user. After you run root.sh, you can click on OK on that dialog box. Configuration assistants will start, which will install all the components.

SOA gets installed in $HOME/product/10.1.3.1/OracleAS_1 direcory

Following are the different URLs that will be available

Enterprise Service Bus : http://rws60076rems.us.oracle.com:7777/esb

Enterprise Manger : http://rws60076rems.us.oracle.com:7777/em

BPEL Console : http://rws60076rems.us.oracle.com:7777/BPELConsole

Worklist Application : http://rws60076rems.us.oracle.com:7777/integration/worklistapp/Login

OWSM Control : http://rws60076rems.us.oracle.com:7777/ccore

Where 7777 is your HTTP port.

This version for SOA is 10.1.3.1 Now we need to upgrade the same to 10.1.3.4. Following are the steps for the same.

Upgrading the SOA to 10.1.3.4

Download and unzip the patch 7272722. After unziping you will get Disk1 and Disk2.

Before running runInstaller you need to carryout some pre-installation task.

Pre-Installation Step

Step 1) From the base directory where the patch was unziped, navigate to following directory

cd /base_dir/Disk1/install/soa_schema_upgrade/bpel/scripts

and run script upgrade_10131_10134_oracle.sql by connecting to SOA database as orabpel user

Step 2) From the base directory where the patch was unziped, navigate to following directory

cd /base_dir/Disk1/install/soa_schema_upgrade/esb/sql/oracle

and run script upgrade_10133_10134_oracle.sql by connecting to SOA database as oraesb user

Installation Task

Go to Disk1 and start the runInstaller.

./runInstaller  -invPtrLoc $HOME/oraInst.loc

12

Screen 1) Make sure you select the correct ORACLE_HOME here. This should be your SOA 10.1.3.1 Oracle Home.

131

Screen 2) Provide the oc4jadmin password you selected during SOA 10.1.3.1 installation

14

Installer will shutdown the SOA services. Click on OK and wait for some time.

15

Screen 3) After shutting down all services, you will see the summary screen. Click on Install.

At the end of installation it will ask you to run root.sh as a root user. Once that is done, it will start with configuration assistants.

17

After the installation you can bring up all the services. This completed SOA 10.1.3.4 installation.

Hope this helps !!