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

Advertisement

7 thoughts on “Installing UDDI (Oracle Service Registry)

  1. We installed Service Registry in my server.
    Installation hangs at 86%

    Status was : Configuring Registry…

    What will be the problem??

  2. Please check your application admin username and password. it should be ias_admin and password ( which you given when you install application). and install OSR on existing oc4j instance, might be home is the istance name.

  3. Hi,

    I have completed the OSR10.3 install. Iam able to access the home page of OSR using the link I get after the install. But when I try to login to the OSR it fails “Internet explorer cannot display the webpage” this is what comes up on the screen.

    The url also changes, I get
    https://hostname:4443/registry/uddi/web

    Why is it taking this port?

    I made sure during the installation that in the screen for Deployment to Application Server the box for Use SSL is unchecked.

    Can you please provide me with the information about what I need to do to fix this issue.

    Thanks

  4. hi,
    i have already instaled the osr , but how to run the service , the links never actived,and pls tell me how to do that my OSB could configration a uddi to this OSR.
    you can mail me : 41254127@qq.com
    thanks a lot .

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s