Sun Java Enterprise System 5 Upgrade Guide for Microsoft Windows

Chapter 7 Service Registry

This chapter describes how to upgrade Service Registry to Java ES 5 (Release 5): Service Registry 3.1.

This chapter covers the following topics


Note –

File locations in this chapter are specified with respect to directory paths referred to as ServiceRegistryR4-base and RegistryDomainR4-base (Java ES Release 4 Service Registry), and ServiceRegistryR5-base and RegistryDomainR5-base (Java ES Release 5 Service Registry). At least part of these paths might have been specified as installation directories when Service Registry was installed. If not, the Java ES installer assigned a default value. The default values of these directory paths are:

ServiceRegistryR4-base

C:\Sun\ServiceRegistry

DomainRegistryR4-base

C:\Sun\ServiceRegistry

ServiceRegistryR5-base

C:\Program Files\Sun\JavaES5\srvc-registry

DomainRegistryR5-base

C:\Program Files\Sun\JavaES5\srvc-registry


Overview of Service Registry Upgrade

The following sections describe general aspects of Service Registry that affect upgrading to Java ES 5:

About Java ES 5 Service Registry

Release 5 Service Registry represents a minor release with respect to Java ES 2005Q4 (Release 4) Service Registry. It includes some improved functionality, updated interfaces, and selected bug fixes.

Service Registry Upgrade Roadmap

The following table shows the supported Service Registry upgrade paths to Java ES Release 5.

Table 7–1 Upgrade Paths to Java ES 5: Sun Java System Service Registry 3.1

Java ES Release  

Service Registry Release  

General Approach 

Reconfiguration 

Release 4 

Sun Java System Service Registry 3.0 2005Q4  

Direct upgrade: Replace Release 4 with a fresh install and transfer registry data to Release 5. 

None 

Service Registry Data

The following table shows the type of data that could be impacted by an upgrade of Service Registry software.

Table 7–2 Service Registry Data Usage

Type of Data 

Location  

Usage 

Installation Parameters 

ServiceRegistryR4-base\install\install.properties

Configuration of Service Registry  

Trusted certificates  

ServiceRegistryR4-base\install\cacerts

Certificates trusted by Service Registry that are not part of the Application Server installation  

Configuration data  

RegistryDomainR4-base\domains\registry\applications\j2ee-modules\soar\WEB-INF\classes\*.properties

Configuration of Service Registry instance 

Registry/repository data 

RegistryDomainR4-base\3.0\data

Database and user certificates  

Web interface configuration  

RegistryDomainR4-base\3.0\jaxr-ebxml

Configuration of web interface 

Service Registry Compatibility Issues

Release 5 Service Registry is backwardly compatible with Release 4 Service Registry.

Service Registry Dependencies

Service Registry dependencies on other Java ES components can affect the procedure for upgrading and reconfiguring Service Registry software. Changes in Service Registry interfaces or functions, for example, could require upgraded version of components upon which Service Registry depends. The need to upgrade such components depends upon the specific upgrade path.

Service Registry has dependencies on the following Java ES components:

Upgrading Service Registry from Java ES Release 4

This section includes information about upgrading Service Registry from Release 4 to Release 5. The section covers the following topics:

Introduction to Upgrading Service Registry

When upgrading Release 4 Service Registry to Release 5, consider the following aspects of the upgrade process:

Release 4 Service Registry Upgrade

This section describes how to perform a Java ES 4 Service Registry upgrade to Java ES 5. The section covers the following topics:

Pre-Upgrade Tasks

Before you upgrade Service Registry, perform the following procedures:

Backing Up Service Registry Data

The Service Registry upgrade from Release 4 to Release 5 does not modify configuration data or the registry and repository database. You do not have to back up current data.

Upgrading Service Registry Dependencies

All Java ES components on a computer system and in a computing environment should be upgraded to Java ES Release 5. Service Registry has hard upgrade dependencies on a number of shared components and on Application Server.

When upgrading Service Registry dependencies, you should do so in the order below, before you upgrade Service Registry. Upgrade of shared components is normally achieved automatically by the Java ES installer.

  1. Shared Components.Release 5 installer automatically installs all required shared components in the parallel path.

  2. Application Server. Instructions for upgrading Application Server to Release 5 are provided in Chapter 6, Application Server

ProcedureTo Upgrade the Service Registry

Before You Begin
  1. Log in as administrator.

  2. Stop the Release 4 Service Registry (Application Server) domain.

    cd ServiceRegistryR4-base\install

    ant -f build-install.xml appserver.domain.stop

  3. Install Release 5 Service Registry.

    Use the Configure Manually After Installation option to install Java ES 5 Service Registry. For Service Registry installation instructions, see the Sun Java Enterprise System 5 Installation Guide for Microsoft Windows.

  4. Update the Release 5 install.properties file.

    1. Set the jes.data.home property property in the install.properties file to point to the Release 4 install location.

    2. Set the soar.data.home property in the install.properties file to point to ServiceRegistryR4-base.

  5. Perform post-install upgrade and configuration of the Release 5 Service Registry.

    cd ServiceRegistryR5-base\install

    ant -f build-install.xml upgrade

    The upgrade utility creates a new Application Server domain for Service Registry, starts the Service Registry domain and deploys the Service Registry. Each Service Registry is associated with its own Application Server domain.

  6. Stop the Release 5 Service Registry (Application Server) domain.

    cd ServiceRegistryR5-base\install

    ant -f build-install.xml appserver.domain.stop

  7. Update the Release 5 configuration data files with changes made to the Release 4 configuration data files.

  8. Start the Release 5 Service Registry (Application Server) domain.

    cd ServiceRegistryR5-base\install

    ant -f build-install.xml appserver.domain.start

ProcedureTo Roll Back the Upgrade

  1. Log in as administrator.

  2. Stop and delete the Release 5 Service Registry (Application Server) domain.

    cd ServiceRegistryR5-base\install

    ant -f build-install.xml appserver.domain.stop appserver.domain.delete

  3. Run the Release 5 uninstaller to uninstall Release 5 Service Registry.

  4. Start the Release 4 Service Registry (Application Server) domain.

    cd ServiceRegistryR4-base\install

    ant -f build-install.xml appserver.domain.start