Installing UDDI (Oracle Service Registry)


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 –

Software Download

You can download Oracle Service Registry from

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
-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

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
-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 ( – 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.


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


Screen 3) Select the installation directory. Click on Next


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


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


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.


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


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.


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.


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


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

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


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


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.


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


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


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

Hope this helps !!


Installing SOA 10g ( – Fusion Middleware


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 Once we install SOA, we will upgrade the same to using patchset. SOA 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 ( for SOA installation.

Once the database is created you need to run 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


Here you will find 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
Integration Repository Creation Assistant (IRCA)
(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


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


Screen 2) Provide the path for inventory location


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


Screen 4) Verifying the system requirements


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


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


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


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


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.


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


At the end of installation it will ask you to run as a root user. After you run, 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/ direcory

Following are the different URLs that will be available

Enterprise Service Bus :

Enterprise Manger :

BPEL Console :

Worklist Application :

OWSM Control :

Where 7777 is your HTTP port.

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

Upgrading the SOA to

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


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


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


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


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 as a root user. Once that is done, it will start with configuration assistants.


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

Hope this helps !!