Oracle Service Registry Part 1 – Installing 11.1.1.6.0 version in Standalone mode:
Oracle Service Registry (OSR) is a fully V3-compliant implementation of UDDI
(Universal Description, Discovery and Integration), and one of the key
components of Oracle SOA Suite 11g.
It allows us to publish and discover services and
service providers, and manage metadata about services (security, transport, or
quality service) using taxonomies. Therefore, it plays an important role when
trying to improve visibility and promote service reuse. It is also important in
the scope of SOA governance.
A service registry is very important for various
reasons. It provides a central place where all service definitions are stored.
A service registry also provides a central place
where developers can search for existing services
This improves service reuse, which is one of the
most important aspects of SOA.
The Oracle Service Registry 11g can be installed on the
following modes.
Standalone Registry:
Installs a standalone registry allowing the creation of a
new registry database. The installed registry will be usable without other
registry installations unlike Discovery, Publication or Intermediate options.
Discovery Registry:
Installs a discovery registry. The discovery registry
contains approved data that have been posted from the publication registry. The
discovery registry is under full control of approvers.
Publication registry:
Installs a publication registry. The publication registry is
used for testing and verification of data. Important! To install the
publication server you must have an installed discovery server because the
discovery registry certificate is needed.
Intermediate Registry:
Installs this instance as an intermediate registry, which
acts as both a Publication Registry and a Discovery Registry. That is, it is
deployed in-between other Registries to support a multi-step approval process.
Note that the final Discovery Registry must be installed prior to installing
the Intermediate registry, since the Discovery Registry's certificate is needed
to complete installation process.
Create the database Schema – OSR:
The database schema will hold all the Service Registry metadata’s
Execute the below sql to create the OSR schema.
CREATE
TABLESPACE OSR_TABLESPACE LOGGING
DATAFILE 'OSR.DBF' SIZE 50M REUSE AUTOEXTEND
ON NEXT 10M MAXSIZE UNLIMITED
DEFAULT STORAGE (
INITIAL 5M
NEXT 5M
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 50);
CREATE USER
OSR
PROFILE DEFAULT
IDENTIFIED BY blogenv
DEFAULT TABLESPACE OSR_TABLESPACE
TEMPORARY TABLESPACE TEMP
ACCOUNT UNLOCK;
GRANT
CONNECT TO OSR;
GRANT
RESOURCE TO OSR;
GRANT
UNLIMITED TABLESPACE TO OSR;
GRANT CREATE
ANY SYNONYM TO OSR;
GRANT DROP
ANY SYNONYM TO OSR;
- Download Oracle Weblogic Server 11g and OSR 11.1.1.6.0
- Install Oracle Weblogic Server.
- Double click on OSR111160_generic_.jar to install the OSR.
- Select the Installation type as Standalone Registry
The registry should be installed in a sub-directory of the
Oracle Middleware Home in the case of domain configuration.
- Click on Next and provide the details as shown below.
- Click next and enter the details as shown below
- Click Next and select Populate Schema
- Click next and select Database Type
- Click next and select the checkbox Use data source in the application server
- Click next and select the database driver path
- Click Next and select Database
- Select next and select Weblogic Server
- Select next and select the Domain Configuration (Manual deployment based on your requirement).
- Click next – Change the port number if required
- Click next
- Click finish.
The OSR installed successfully.
Creating the Weblogic Domain:
Open the weblogic configuration wizard and select Create new
domain option. Select Oracle Service
Registry
- Start the admin and the managed servers (osr_server1)
URLS to access Service Registry:
Registry Console: http://localhost:7005/registry/uddi/web
Business Console: http://localhost:7003/registry/uddi/bsc/web
Hi Albin,
ReplyDeleteOSR11g installation successful on Solaris OS, JDK1.6+,ojdbc6.jar and running Embedded jetty server.
Below exception found from install.log,
[java] [java] ERROR: application_core:com.systinet.uddi.config.CipherHelper - Cannot decrypt value (Input length must be multiple of 8).
[java] [java] EXCEPTION: Input length must be multiple of 8
[java] [java] javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8
[java] [java] at sun.security.pkcs11.P11Cipher.implDoFinal(P11Cipher.java:715)
Please suggest what went wrong.
Thanks.
It is a bug. During installation either input correct values or leave SMTP configuration empty.
ReplyDeleteAlso, as a best practice always install OSR and (SOA + OSB) in their own domains.