Sun Java logo     Previous      Contents      Index      Next     

Sun logo
Sun Java Enterprise System 5 Update 1 Upgrade Guide for UNIX 

Chapter 1
Planning for Upgrades

This chapter provides information used for planning the upgrade of Sun Java™ Enterprise System (Java ES) software to Java ES 5 Update 1 in a Sun Solaris™ Operating System or Red Hat Enterprise Linux (referred to simply as Linux) operating system environment.

It contains the following sections:


Java ES 5 Update 1 Components

As an introduction to planning the upgrade of Java ES software, this section reviews the components included in Java ES 5 Update 1 (Release 5U1). Depending on your upgrade scenario, you might need to upgrade one or more of these components to their Release 5U1 version.

Java ES components are grouped into different types, as described in the Java Enterprise System 5 Update 1 Technical Overview, http://docs.sun.com/doc/820-2969:

Release 5U1 Product Components

Release 5U1 product components are listed alphabetically in the following table, along with abbreviations used in subsequent tables. For the service quality components among them, the table includes the type of service enhancement they provide.

Table 1-1 Java ES 5 Update 1 Product Components 

Product Component

Abbreviation

Version

Type

Access Manager

AM

7.11

System service component

Application Server

AS

8.2 EE
Patch 2

System service component

Directory Proxy Server

DPS

6.2

Service quality: access component

Directory Server

DS

6.2

System service component

High Availability Session Store

HADB

4.4.31

Service quality: availability component

Java DB

JavaDB

10.2.2.1

System service component

Message Queue

MQ

3.7 UR2

System service component

Monitoring Console

MC

1.0 Update 1

Service quality: administrative component

Portal Server

PS

7.1 Update 2

System service component

Portal Server Secure Remote Access

PSRA

7.1 Update 2

Service quality: access component

Service Registry

SR

3.1 Update 1

System service component

Sun Cluster

SC

3.1 8/051

Service quality: availability component

Sun Cluster Geographic Edition

SCG

2006Q41

Service quality: availability component

Web Proxy Server

WPS

4.0.5

Service quality: access component

Web Server

WS

7.0 Update 1

System service component

1This is the same version delivered with Java ES 5.

Release 5U1 Shared Components

Release 5U1 shared components are listed alphabetically in the following table, along with abbreviations used in subsequent tables.

Table 1-2 Java ES 5 Update 1 Shared Components 

Shared Component

Version

Abbreviation

Apache Commons Logging

1.0.31

ACL

Jakarta ANT Java/XML-based build tool

1.6.51

ANT

Berkeley Database

4.2.521

BDB

Common Agent Container

1.1 and 2.1

CAC

FastInfoSet

1.0.21

FIS

International Components for Unicode

3.2 Patch 1

ICU

Instant Messenger SDK

6.2.81

IM-SDK

Java Platform, Standard Edition

5.0 Update 12

Java SE

JavaBeans™ Activation Framework

1.0.31

JAF

Java Studio Web Application Framework

2.1.51

JATO

JavaHelp™ runtime

2.01

JavaHelp

JavaMail™ runtime

1.3.21

JavaMail

Java Architecture for XML Binding runtime

2.0.31

JAXB

Java API for XML Processing

1.3.11

JAXP

Java API for XML Registries runtime

1.0.81

JAXR

Java API for XML-based Remote Procedure Call runtime

1.1.3_011

JAX-RPC

Java API for Web Services runtime

2.01

JAXWS

Java Calendar API

1.21

JCAPI

Java Dynamic Management™ Kit runtime

5.1_03

JDMK

Java Security Services (Network Security Services for Java)

4.2.5 and 3.1.11

JSS and
JSS3

JavaServer Pages™ Standard Tag Library

1.0.61

JSTL

KT Search Engine

1.3.41

KTSE

LDAP C SDK

6.01

LDAP C SDK

LDAP Java SDK

4.191

LDAP J SDK

Mobile Access Core

6.21

MA Core

Netscape Portable Runtime

4.6.7

NSPR

Network Security Services

3.11.7

NSS

SOAP Runtime with Attachments API for Java

1.31

SAAJ

Simple Authentication and Security Layer

2.191

SASL

Sun Explorer Data Collector (Solaris only)

4.3.11

SEDC

Sun Java Monitoring Framework

2.0 Update 1

MFWK

Sun Java Web Console

3.0.3

SJWC

Web Services Common Library

2.01

WSCL

XML Web Services Security

2.01

XWSS

1This is the same version delivered with Java ES 5.


Upgrade Plan Considerations

An upgrade plan is the essential starting point for performing an upgrade to Java ES 5 Update 1 (Release 5U1). In an upgrade plan you specify the Java ES components you will upgrade to Release 5U1 and the sequence by which you will upgrade those components on the different computers or operating system instances in your Java ES deployment.

Your upgrade plan depends on a number of factors, each of which should be given careful consideration in preparing for upgrade to Release 5U1:

Upgrade Objectives and Priorities

An upgrade plan reflects your upgrade objectives and priorities, which often depend on the scope and complexity of your existing deployment architecture.

For example, your Java ES deployment architecture might consist of a single Java ES component running on a single computer, and your upgrade objective is to fix some bug in the previous software release. On the other hand, your Java ES deployment architecture might consist of a number of interoperating Java ES components deployed across a number of different computers, and your upgrade objective is to achieve some new functionality by upgrading the minimum number of components required to achieve that end with minimal downtime.

In general, the greater the number of Java ES components and computers in your deployment architecture, and the more ambitious your upgrade objectives, the more complex will be your upgrade plan.

The Java ES Release Model

A key consideration in planning an upgrade is whether the objective of the upgrade is to achieve major functional enhancements or to apply bug fixes (or minor functional updates) to existing software.

The Java ES release model is a categorization scheme for Java ES releases that clarifies the nature of the releases, their relationships to one another, and the risks and planning required to upgrade from one to another.

Component Release Levels

The Java ES release model is based on a set of release levels that define the characteristics of individual Java ES component releases:

Java ES System Release Types

A Java ES release is a consolidation of individual Java ES component releases that are synchronized and collected in a single distribution that can be used for initial installation and upgrade.

The Java ES release model specifies two general types of Java ES releases: feature releases, which can include all levels of component releases, including major and minor releases, and maintenance releases, which can include only update and point-fix releases.

The two types of Java ES releases have the characteristics described below:

Java ES Release Families

A Java ES release family consists of a feature release and its associated maintenance releases as illustrated in the following figure.

Figure 1-1 Java ES Release Family

Illustration showing the three types of releases within a Java ES release family: feature releases and two kinds of maintenance releases.[D]

A Java ES feature release initiates a release family, and a number of subsequent maintenance releases (called Java ES update releases) provide distributions that periodically consolidate intervening component update and point-fix releases. These individual component maintenance releases are independently collected in a Java ES accumulated patch cluster.

The maintenance aspect of the Java ES release model is represented by both the Java ES update release and the Java ES accumulated patch cluster, described as follows:

The significance of the Java ES release model shown in Figure 1-1, from an upgrade point of view, is that an upgrade from one Java ES release family to another (a feature upgrade) involves significant impact and risk, and requires a more complex upgrade plan, as compared to an upgrade within a release family (a maintenance upgrade). The approaches used to perform feature upgrades and maintenance upgrades are discussed in Java ES Upgrade Technologies.

Release Delivery Formats

The following table shows the delivery formats of the releases within the Java ES release model shown in Figure 1-1.

Table 1-3 Characteristics of Java ES Release Types

Release Type

Delivery Format

Suitable For

Feature Release

Available as a full distribution that contains new component packages that are generally installed using the Java ES installer.

Installation by new Java ES users and feature upgrades from previous release families.

Update Release

Available as a full distribution and also as a corresponding accumulated patch cluster. (The accumulated patch cluster supports in-place maintenance upgrades within the current release family.)

Installation by new Java ES users, feature upgrades from previous release families, and maintenance upgrades from within the current release family.

Accumulated Patch Cluster

Available as a set of individual component patches, each of which accumulates previous sustaining patches. Patches can be applied in-place without requiring reconfiguration or migration of component data.

Maintenance upgrades from a feature release, update release, or previous individual component release within the current release family.

Supported Upgrade Paths and Strategies

Your upgrade plan depends on the Java ES release from which you wish to upgrade to Java ES 5 Update 1 (Release 5U1).

While it is possible to upgrade all previous releases of Java ES software to Release 5U1, the only supported upgrades are from Java ES 5 (Release 5U1), Java ES 2005Q4 (Release 4), Java ES 2005Q1 (Release 3), and Java ES 2004Q2 (Release 2). While this Upgrade Guide provides strategies for upgrading from Java ES 2003Q4 (Release 1) and releases that pre-date Java ES, it does not provide procedures for performing such upgrades.

The following table describes the different upgrade paths to Release 5U1, their characteristics, and the upgrade strategies to be used in performing the upgrade.

Because of the differences between upgrade paths described in the table, and because product component upgrade procedures often depend on which release is being upgraded, the chapters in this Upgrade Guide that describe the upgrade of each Java ES product component are divided into sections: each representing a different upgrade path.

Table 1-4 Upgrade Paths to Java ES 5 Update 1 (Release 5U1) 

Product Version

Java ES Release

System Characteristics

Upgrade Strategies

Java ES 5

Release 5

Java ES 5 Update 1 (Release 5U1) supports a mixture of Release 5 and Release 5U1 product components and shared components on a single computer. Interoperability between Release 5 and Release 5U1 components is guaranteed.

Maintenance upgrade. The coexistence of Release 5 and Release 5U1 components provides for the possibility of selectively upgrading Release 5 components to Release 5U1 on a single computer or within a deployment architecture consisting of multiple computers.

However, if any Release 5U1 product component requires support of a Release 5U1 shared component, it is recommended that all shared components on the computer be synchronized to Release 5U1.

2005Q4

Release 4

Java ES 5 Update 1 (Release 5U1) supports a mixture of Release 4, Release 5, and Release 5U1 product components on a single computer, but requires that shared components be synchronized to the same release. Interoperability between Release 4 and Release 5 family components has been tested, and known interface incompatibilities are noted in the Java Enterprise System 5 Update 1 Release Notes, http://docs.sun.com/doc/819-4893.

Feature upgrade. The coexistence of Release 4 and Release 5U1 product components provides for the possibility of selectively upgrading Release 4 product components to Release 5U1 on a single computer or within a deployment architecture consisting of multiple computers.

If any Release 5U1 product component requires support of a Release 5U1 shared component, all shared components on the computer must be synchronized to Release 5U1.

2005Q1

Release 3

Similar to the Release 4 upgrade path, above. Java ES 5 Update 1 (Release 5U1) supports a mixture of Release 3, Release 4, Release 5, and Release 5U1 product components on a single computer, but requires that shared components be synonymized to the same release. Interoperability between Release 3 and Release 5 family components has been tested, and known interface incompatibilities are noted in the Java Enterprise System 5 Update 1 Release Notes, http://docs.sun.com/doc/819-4893.

Feature upgrade. Similar to the Release 4 upgrade path, above. The coexistence of Release 3, Release 4, Release 5, and Release 5U1 components provides for the possibility of selectively upgrading Release 3 components to Release 5U1 on a single computer or within a deployment architecture consisting of multiple computers.

If any Release 5U1 product component requires support of a Release 5U1 shared component, all shared components on the computer must be synchronized to Release 5U1.

2004Q2

Release 2

Contrasts with the Release 4 and Release 3 upgrade paths, above. Java ES 5 Update 1 (Release 5U1) does not support a mixture of Release 2 and Release 5U1 components, neither product components nor shared components, on a single computer. Known interface incompatibilities exist between the release versions, and interoperability between Release 2 and Release 5U1 components is not certified (has not been tested).

Feature upgrade. When upgrading components from Release 2 to Release 5U1 on a single computer, all Release 2 components must be upgraded to Release 5U1. However, it is sometimes possible to mix Release 2 and Release 5U1 components residing on different computers within a deployment architecture.

Java ES certifies indirect upgrade from Release 2 to Release 5U1 (upgrade from Release 2 to Release 5 followed by upgrade from Release 5 to Release 5U1). While Java ES does not certify (has not tested) direct upgrade from Release 2 to Release 5U1 for all components, procedures for direct upgrade are nevertheless documented in this Upgrade Guide when supported for a particular component.

2003Q4
and prior versions

Release 1 and pre-dating Java ES

Similar to the Release 2 upgrade path, above. Java ES 5 Update 1 (Release 5U1) does not support a mixture of Release 1 and Release 5U1 components, neither product components nor shared components, on a single computer. Known interface incompatibilities exist between the release versions, and interoperability between Release 1 or prior releases and Release 5U1 components is not certified (has not been tested).

Feature upgrade. Java ES does not certify the direct upgrade of Release 1 or prior releases to Release 5U1.

In some cases, however, you can perform an upgrade from Release 1 by upgrading first to Java ES Release 3, as documented in the Release 3 Java Enterprise System Upgrade and Migration Guide, http://docs.sun.com/doc/819-0062, and then upgrading from Release 3 to Release 5U1. In those cases, the upgrade roadmap for that component in this Upgrade Guide notes this possibility.

In other cases the upgrade from Release 1 to Release 5U1 can be performed in the same way as the upgrade from Release 2, Release 3, or Release 4 to Release 5U1, and in those cases, the upgrade roadmap for that component in this Upgrade Guide notes this possibility.


Note

When product components issue an interim feature release (IFR) between official Java ES releases, the upgrade of the IFR is normally performed using the same procedure as for the preceding Java ES release. For example, if an IFR occurs between Release 3 and Release 4, the component would be upgraded using the procedure for upgrading from Release 3 to Release 5U1. When this is not the case (for example, for Portal Server and Portal Server Secure Remote Access), this Upgrade Guide documents the IFR-specific upgrade procedure.


Upgrade Dependencies

One of the main issues in planning the upgrade of a Java ES product component is to understand that component's dependencies on other Java ES components, and whether other components need to be upgraded to support the upgrade of the dependent component.

There are two types of upgrade dependencies:

Upgrading a Java ES product component requires you to upgrade all the components upon which it has hard upgrade dependencies, but, with some exceptions noted in this book, allows you to not upgrade components upon which it has soft upgrade dependencies. When multiple interdependent components are involved in an upgrade, you have to upgrade a component if only one of the Java ES components being upgraded has a hard upgrade dependency on that particular component.

In a few special cases, due to incompatibilities that are introduced, upgrade of a component requires you to also upgrade a component that it supports. These special cases are noted in this book.

Selective Upgrade or Upgrade All

The distinction between hard and soft upgrade dependencies allows for the possibility in your upgrade plan of selectively upgrading Java ES product components within a deployed system. Selective upgrade applies to upgrading from Release 3, Release 4, and Release 5 to Release 5U1 on a single computer. Selective upgrade from Release 2 to Release 5U1 on a single computer is not supported.

In general, you have the choice of performing a selective upgrade or upgrading all Java ES product components on a computer:

The two approaches to performing upgrades are compared in the following table.

Table 1-5 Selective Upgrade Compared to Upgrade All

Upgrade Approach

Advantages

Disadvantages

Selective upgrade

Minimizes number of components to upgrade.

Results in inconsistent versions for all components in your deployed system

Upgrade all

Maintains a consistent version for all components in your deployed system.

Maximizes the number of components to upgrade

Selective upgrade was also supported in Java ES Release 4. It is therefore possible to have both Release 3 product components and Release 4 product components coexisting on a computer, both of which can be selectively upgraded to Release 5U1.

Multi-Instance Upgrades

The sequence of upgrade procedures in an upgrade plan depends on how redundancy is being used in a deployment architecture. Multiple instances of a Java ES component can be used to achieve high availability, scalability, serviceability, or some combination of these service qualities. Three technologies make use of redundant components in Java ES deployment architectures: load balancing (Directory Proxy Server, Web Server, Web Proxy Server, Application Server, Access Manager, and Portal Server), high availability techniques (Sun Cluster and High Availability Session Store), and Directory Server replication.

In most cases where redundancy is involved, upgrades must be performed without incurring significant downtime. These rolling upgrades attempt to successively upgrade redundant instances of a component without compromising the service that they provide.

Redundant instances are usually deployed across multiple computers. For upgrade planning, you might need to isolate the upgrade of replicated components from other component upgrades in order to achieve minimal downtime. You perform all the pre-upgrade tasks for the replicated components on each computer before performing the rolling upgrade.

Each replication technology has configuration or reconfiguration procedures that might affect the overall sequence of Java ES component upgrades. For example, components that run in a Sun Cluster environment can require upgrading Sun Cluster before upgrading the components that are running in the Sun Cluster environment.

The chapters in this Upgrade Guide that describe the upgrade of each product component describe how to perform multi-instance upgrades for their respective components.

Operating System Considerations

A number of operating system considerations can impact your Java ES upgrade plan, as described below.

Required Operating System Patches

Successful upgrade of a Java ES product component can require you to first patch the operating system or otherwise update the operating system to the level required by the Java ES 5 Update 1 product component. However, rather than applying the specific patches or fixes needed in each case, it is preferable to bring the operating system to the level required by Java ES 5 Update 1 as a whole before performing upgrades of specific product components.

Dual Upgrades: Java ES and Operating System Software

Operating system and Java ES software can become misaligned when you attempt to upgrade either Java ES software or operating system software to a non-supported version. The relevant support matrix is shown in the following table.

Table 1-6 Java ES/Operating System Support Matrix

Java ES Release

Solaris

RHEL

8

9

10

2.1

3.0

4.0

2003Q4 (Release 1)

X

X

 

X

 

 

2004Q2 (Release 2)

X

X

 

X

 

 

2005Q1 (Release 3)

X

X

X

X

X

 

2005Q4 (Release 4)

X

X

X

X

X

 

Java ES 5
(Release 5)

 

X

X

 

X

X

Java ES 5 Update 1
(Release 5U1)

 

X

X

 

X

X

If an upgrade of Java ES software or operating system software would result in a non-supported configuration, then you have to perform a dual upgrade: one in which both Java ES and the operating system are upgraded. The following situations can require a dual upgrade:

In general, there are two approaches you can take to performing a dual upgrade:

If dual upgrade is not supported for any Java ES product component, that is, if neither of these approaches work, then you have to re-install and freshly configure that component after performing an operating system install or upgrade.

The following table shows the dual upgrade approach supported by each of the Java ES product components.

Table 1-7 Dual Upgrade Support for Java ES 5 Update 1 Product Components 

Product Component

Fresh Operating System Installation

In-Place Operating System Upgrade

Access Manager

Not supported

Not supported

Application Server

Supported on same computer only

Supported

Directory Proxy Server

Supported

Supported

Directory Server

Supported

Supported

High Availability Session Store

Performed in context of Application Server dual upgrade

Performed in context of Application Server dual upgrade

Java DB

Supported

Supported

Message Queue

Supported

Supported

Portal Server

Not supported

Supported

Portal Server Secure Remote Access

Not supported

Supported

Service Registry

Supported

Supported

Sun Cluster

Not supported

Supported

Sun Cluster Geographic Edition

Not supported

Performed in context of Sun Cluster dual upgrade

Web Proxy Server

Not supported

Supported

Web Server

Not supported

Supported

Operating System Upgrades

In some cases, upgrading the Solaris operating system overwrites existing Java ES shared components with earlier versions. In those cases the correct Java ES versions can be restored by upgrading Message Queue, which is bundled with the Solaris operating system, to Release 5U1. Upgrading Message Queue will force the upgrade of all resident shared components as well.

Solaris 10 Multizone Environments

A number of issues are involved in installing and upgrading Java ES components in a multizone environment. For a description of the benefits and limitations of deploying Java ES in Solaris 10 zones, and recommended practices for upgrading Java ES components in a multizone environment, see Java ES 5 Update 1 Upgrade and Solaris 10 Zones.


The Upgrade Process

The Java ES upgrade process involves a number of phases, which are normally carried out first in a staging environment, before being executed in a production environment. The use of a staging environment allows you to test each phase as well as write scripts to be used by IT personnel for upgrading complex Java ES deployments.

When you have tested the upgrade process in a staging environment, and have confidence that the upgrade is working properly, you can reproduce the process in your production environment.

The process involves the phases shown in the following table and documented in this Upgrade Guide. The phases apply to individual component upgrades as well as to your Java ES deployment as a whole.

Table 1-8 Phases in the Upgrade Process 

Upgrade Phase

Description

Plan

You develop an upgrade plan. In it, you specify the Java ES components to be upgraded and the sequence by which you need to upgrade those components on the different computers or operating system instances in your deployment.

Pre-upgrade preparation

You back up configuration and application data, perform any patching of the operating system, upgrade any required dependencies, and perform other tasks in preparation for upgrading any individual component.

Upgrade

You obtain all the necessary packages, patches, and tools needed for the upgrade. You install upgraded software and reconfigure each component as prescribed, including the migration of data to the upgraded system.

Verification

You verify that the upgrade has been successful using prescribed verification tests, including starting the upgraded software components and testing various usage scenarios.

Post-upgrade procedures

You perform any additional configuration, customization, or other tasks that might be necessary to make the upgraded component operational, for example, to incorporate new functions.

Rollback/restoration

Roll back the upgrade and verify that the rollback is successful. Testing the rollback of the upgrade is important in case you have to restore the production environment to its previous state for some reason.


Java ES Upgrade Technologies

No single system utility upgrades all Java ES components.

In particular, the upgrade of Java ES product components to Release 5U1 is performed component-by-component, computer-by-computer, using component-specific upgrade procedures documented in this Upgrade Guide.

A product component upgrade can be either a feature upgrade or a maintenance upgrade:

Java ES product components and shared component upgrades have different characteristics and employ somewhat different upgrade technologies, as described in the following sections:

Product Component Feature Upgrades

Feature upgrades of Java ES product components to Release 5U1 from previous release families involve two basic operations that mirror the initial installation and configuration of Java ES product components:

In addition, Java ES product component upgrades normally involve pre-upgrade tasks and, in some cases, post-upgrade procedures before the upgrade is operational.

Feature Upgrade Approaches

When performing a feature upgrade to Release 5U1 from a previous release family, the component-specific upgrade procedures used to install upgraded software and perform component reconfiguration include the following upgrade approaches:

Using the Upgrade Capability of the Java ES Installer

The Release 5U1 installer includes an upgrade capability that performs product component upgrade in a few special cases: Application Server, Message Queue, HADB, and Java DB. When the Java ES installer detects the previously installed release versions of these product components, it marks these components as "upgradable."

Before upgrading any of these components, the installer checks for current and previous versions of shared components. If the installer detects that a shared component required by the selected component is of a previous version or is missing, the installer upgrades all shared components currently installed and installs any missing shared components required by the selected component. In some cases (notably Application Server), the installer will also upgrade product components upon which the component being upgraded depends.

The installer removes the previous version packages, installs the Release 5U1 product component packages, and reconfigures, as needed, the product component being upgraded. (In the case of Application Server bundled with Solaris 9 operating system, however, the installer does not remove packages; see the section on upgrading Release 2 Application Server in the Java Enterprise System 5 Update 1 Upgrade Guide for UNIX, http://docs.sun.com/doc/819-6553:.).

If you are using the Solaris 10 operating system zones feature, special considerations apply. See Zone Support in the Java ES Installer.

Performing a Fresh Install of the Product Component

Some product components are upgraded by performing a fresh install of the components using the Java ES installer. First you remove the previous version's packages and then install Release 5U1 in the same path, or install Release 5U1 in a parallel path and leave the previous version intact.

In both cases you reconfigure the product components by migrating the previous version's configuration data to the new installation, by performing a new configuration, or by doing a combination of both. For some product components, a utility is provided for reconfiguring or migrating configuration data for that component.

Running a Component-Specific Upgrade Utility

Some product components provide an upgrade utility or script for automating the upgrade of the component to Release 5U1. The utility generally performs both the upgrade of software packages and any reconfiguration required as part of the upgrade. For those components deployed to a web container, the utility generally redeploys the upgraded component software to the web container.

Patching Existing Component Packages

For some product components, feature upgrades are performed by manually patching existing software packages. In most cases no reconfiguration or migration of component data is required. More information on patching is provided in Product Component Maintenance Upgrades.

Feature Upgrade Approach Used for Each Product Component

The upgrade approach used to perform a feature upgrade of each product component to Release 5U1 is shown in the following table:

Table 1-9 Java ES Product Component Feature Upgrade Approaches 

Product Component

Installation of
Upgraded Software

Reconfiguration

Access Manager

Replace packages: use package removal script + fresh install

Use amconfig and amupgrade scripts to re-configure and re-deploy to web container

Application Server

Replace packages: use upgrade function of Java ES installer

none, except in case of upgrade from Release 2 use postinstall and asupgrade scripts

Directory Proxy Server

Perform fresh install without replacing previous packages.

Manual reconfiguration

Directory Server

Perform fresh install without replacing previous packages.

Use dsmig command to migrate Directory data

High Availability Session Store

Replace packages: use upgrade function of Java ES installer or Parallel fresh install

None

Java DB

Replace packages: use upgrade function of Java ES installer

None

Message Queue

Replace packages: use upgrade function of Java ES installer or mqupgrade script (from Release 2)

None, except in case of upgrade from Release 2 on Linux use mqmigrate script

Monitoring Console

No feature upgrade available

None

Portal Server

Replace packages: use psupgrade script

Use psupgrade script to re-configure and re-deploy to web container

Portal Server Secure Remote Access

Replace packages: use psupgrade script

psupgrade script to re-configure

Service Registry

Perform fresh install without replacing previous packages.

Manually reconfigure plus use ant upgrade script to re-deploy to Application Server domain

Sun Cluster

Replace packages: use scinstall script to replace binaries

Use scinstall script to migrate configuration

Sun Cluster Geo

Replace packages: use uninstall script + fresh Install

None

Web Proxy Server

Patch binaries

None

Web Server

Perform fresh install without replacing previous packages.

Use wadm migrate-server command to migrate server instance configuration

Product Component Maintenance Upgrades

With some exceptions (such as Portal Server), maintenance upgrades of Java ES product components to Release 5U1 from Release 5 involve only the patching of Release 5 packages. Unlike feature upgrades from previous release families, no reconfiguration or migration of component data is required.


Note

Before applying Java ES patches, be sure that your operating system has been updated to the latest required version. See Required Operating System Patches.


Solaris and Linux Patch Technologies

While Solaris and Linux platforms employ similar technologies for managing installed software packages and tracking changes to those packages through a package registry, the differences in patching technologies between platforms impact Java ES upgrade procedures.

Accessing Java ES Patches

Patches required to upgrade Java ES components are available through a number of channels:

When a new patch is released, the various patch access channels are synchronized: the accumulated patch cluster and Sun Connection are updated. The patch access channels are described briefly in the sections that follow.

Individual, Discrete Patches

Patches to both Solaris packages and Linux RPM packages are distributed through the SunSolve web site at: http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/patch-access

In situations where you might want a single patch for a particular component within a particular Java ES release family, you can perform a search of patches on SunSolve. You search SunSolve by looking for keywords indicating the release family, for example, the Java ES 5 release family (java_es-5), and the name of the component (shown in Table 1-1 and Table 1-2).

Accumulated Patch Clusters

Accumulated patch clusters (see Java ES Release Families) contain the latest patches for all Java ES components. They are available on the SunSolve web site at: http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/patch-access

If you are looking for the latest available patches for a specific Java ES release family, you can find them in the current accumulated patch cluster for that family. To acquire a Java ES accumulated patch cluster:

  1. Select the patch cluster beginning with "Java ES 5 Accumulated Patch Cluster" that applies to your operating system version and processor architecture.
  2. View the Readme file and download the selected patch cluster.
Sun Connection (Solaris Platform Only)

Sun Connection is a software update management service by which you are automatically notified of new Java ES point releases. The new patches are automatically downloaded to your computer, where you can apply them at a time of your own choosing. For information, see:

http://www.sun.com/service/sunconnection/index.jsp

Shared Component Upgrades

Java ES shared component upgrades are a necessary part of upgrading the product components that depend on them.

The upgrading of shared components does not require reconfiguration of the components, nor pre- or post-upgrade procedures. In addition, shared component upgrades cannot be rolled back to their previous versions.

The large number (around 30) of Java ES shared components and the complex interactions between shared components and product components requires that all shared components within a single operating system instance be synchronized to the same Java ES release family. An operating system instance means a single computer running the Solaris 9, Solaris 10, or Linux operating system, or any of the virtual operating system environments (zones) on a computer running the Solaris 10 operating system.

Because of the synchronization requirement, you should not perform feature upgrades of Java ES shared components one by one, but rather you need to upgrade all Release 2, Release 3, or Release 4 shared components to their Release 5 or Release 5U1 versions at the same time. When performing a maintenance upgrade, you can selectively upgrade Release 5 shared components to Release 5U1.

The synchronization of shared components to Release 5U1 is achieved using the Java ES installer. The installer synchronizes shared components when performing a feature upgrade of product components (see Using the Upgrade Capability of the Java ES Installer) or when performing a fresh install of product components. The installer also includes a synchronization function that upgrades any existing shared components and installs any missing shared components. For a fuller description of this function, see Synchronize All Shared Components.


Java ES Component Dependencies

One of the most important considerations in an upgrade plan is the dependencies between the various Java ES components in your deployed system. The sequence in which you perform the component upgrades is affected by the nature of the dependencies between them.

This section provides information about Java ES component dependencies that impact your upgrade plan.

Dependencies on Shared Components

Table 1-10 shows the dependencies of Java ES 5 Update 1 (Release 5U1) product components on Java ES shared components. The abbreviations for product components in the column headings of Table 1-10 are taken from Table 1-1. The abbreviations for shared components are listed in Table 1-2.

Within the matrix of Table 1-10 hard upgrade dependencies for Release 3 and Release 4 to Release 5U1 upgrades are marked "H," and soft upgrade dependencies are marked "S." For Release 2 to Release 5U1 upgrades, all shared component dependencies are, by definition, hard upgrade dependencies; all shared components must be upgraded from Release 2 to Release 5U1. For Release 5 to Release 5U1 upgrades, hard upgrade dependencies are indicated with a footnote.

Table 1-10 Shared Component Dependencies of Java ES 5 Update 1 (Release 5U1) Product Components 

Shared Component

AM

AS

DPS

DS

DS Console

HADB

JavaDB

MQ

MC

PS

PSRA

SC

SCG

SR

WPS

WS

ANT

 

S

 

 

 

 

 

 

S

H

H

 

 

H

 

 

ACL

S

 

 

 

 

 

 

 

 

 

 

 

 

H

 

 

BDB

S

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CAC

H

S

H1

H1

H1

 

 

 

S

S

 

S2

S2

 

 

 

FIS

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ICU

 

S

H1

H1

 

 

 

 

 

S

 

 

 

 

S

S

IM-SDK

 

 

 

 

 

 

 

 

 

S

 

 

 

 

 

 

Java SE

S

S

H1

H1

H1

S

H

S

S

S

S

S

S

H

S

S

JAF

S

S

 

 

 

 

 

 

 

S

S

 

 

H

 

 

JATO

S

S

 

 

 

 

 

 

S

S

 

S

S

 

 

 

JavaHelp™

S

S

 

 

 

 

 

S

S

 

 

 

 

 

 

S

JavaMail ™

S

S

 

 

 

 

 

 

 

S

S

 

 

H

 

S

JAXB

S

S

 

 

 

 

 

 

 

 

 

 

 

 

 

S

JAXP

S

S

 

 

 

 

 

 

 

S

S

 

 

H

 

S

JAXR

S

S

 

 

 

 

 

 

 

 

 

 

 

H

 

S

JAX-RPC

S

S

 

 

 

 

 

 

 

 

 

 

 

H

 

S

JAXWS

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S

JCAPI

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

JDMK

H

S

H1

H1

H1

 

 

 

S

 

 

S

S

 

 

S

JSS

S

 

 

 

 

 

 

 

 

S

S

 

 

 

S

S

JSTL

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

KTSE

 

 

 

 

 

 

 

 

 

S

 

 

 

 

S

S

LDAP C SDK

H

 

 

H

 

 

 

 

 

 

 

 

 

 

S

S

LDAP J SDK

S

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MA Core

S

 

 

 

 

 

 

 

 

H

H

 

 

 

 

 

MFWK

H

 

 

H1

 

 

 

 

H1

 

 

 

 

 

 

 

NSPR

S

S

H1

H1

 

 

 

H

S

S

S

S

S

 

S1

H

NSS

S

S

 

H1

 

 

 

H

S

S

S

S

S

 

S1

H

SAAJ

S

S

 

 

 

 

 

 

 

S

S

 

 

H

 

 

SASL

 

 

 

H

 

 

 

 

 

 

 

 

 

 

S

S

SEDC

 

 

 

 

 

 

 

 

 

 

 

S

S

 

 

 

SJWC

S

S

 

 

H1

 

 

 

H1

 

 

S

S

 

 

 

WSCL

S

S

 

 

 

 

 

 

 

 

 

 

 

H

 

S

XWSS

 

 

 

 

 

 

 

 

 

 

 

 

 

H

 

 

1Represents a hard upgrade dependency in upgrading from Release 5.

2This dependency is specifically on Common Agent Container (CAC) version 1.1.

The dependencies shown in Table 1-10 for any product component represent both direct and indirect shared component dependencies: a product component might depend on a specific shared component (direct dependency) that, in turn, depends on one or more other shared components (indirect dependency). Figure 1-2 illustrates interdependencies among shared components.

Table 1-10 shows which shared components must be upgraded when you perform an upgrade of one or more product components on a given computer.

However, because shared components must be synchronized to the same release family (see Shared Component Upgrades), you cannot perform a feature upgrade of Java ES shared components one by one, but must upgrade all shared components on a computer or in an operating system instance to their Release 5 or Release 5U1 versions at the same time.

If no hard upgrade dependencies are involved, you need not upgrade shared components. However, it is a good practice to upgrade your underlying Java ES shared component base to the most current version. In fact, when product components are installed or upgraded by the Java ES installer, all shared components residing on the host computer are automatically synchronized to Release 5U1.

For information on how to manually upgrade shared components, consult Chapter 2, "Upgrading Java ES Shared Components."

Figure 1-2 Shared Component Interdependencies

Diagram showing dependency relationships between shared components. The dependencies fall into two broad families: those related to JAX interdependencies and those used mostly for display or security, most of which have a dependency on J2SE or NSPR.[D]

Dependencies on Product Components

Dependencies on product components fall into two general categories: runtime dependencies and configuration dependencies.

For runtime dependencies, the relationship between product components can be of the following three types:

The following table shows the dependencies and dependency relationships between the Java ES product components listed in Table 1-1. The information can be used to determine the hard upgrade dependencies that impact your upgrade plan.

The first column alphabetically lists Release 5U1 product components, the second column shows other Java ES components upon which a Release 5U1 component has a dependency relationship, the third column provides the Java ES release versions that support the Release 5U1 dependency, the fourth column characterizes the dependency relationship, and the last column indicates special characteristics of the dependency, such as whether the supporting component must be local (as opposed to remote) or whether other third-party products can support the dependency.

If a product component you are upgrading to Release 5U1 has a dependency on only Release 5U1 of a supporting component (as opposed to an earlier release), then the supporting component represents a hard upgrade dependency: the supporting component must also be upgraded to Release 5U1.

Table 1-11 Java ES Product Component Dependencies 

Release 5U1
Product Component

Dependency1

Java ES Release

Nature of Dependency

Characteristics

Access Manager

Directory Server

2-5 & 5U1

Mandatory: Stores configuration data and enables lookup of user data

 

J2EE web container:

- Application Server

- Web Server

 

4-5 & 5U1

4-5 & 5U1

Mandatory: Provides web container runtime services

Local only

Also supported;
- Weblogic2
- WebSphere3

    Access Manager
    SDK

Access Manager

3-5 & 5U1

Mandatory: Provides Access Manager services

 

    Access Manager
    Distr. Authentication

Access Manager

4-5 & 5U1

Mandatory: Provides Access Manager services

 

J2EE web container:

- Application Server

- Web Server

 

4-5 & 5U1

4-5 & 5U1

Mandatory: Provides web container runtime services

Local only

Also supported;
- Weblogic2
- WebSphere3

    Access Manager
    Session Failover

Access Manager

5 & 5U1

Mandatory: Provides Access Manager services

 

Message Queue

4-5 & 5U1

Mandatory: Provides reliable asynchronous messaging

 

Application Server

Message Queue

5 & 5U1

Mandatory: Provides reliable asynchronous messaging

Local only

High Availability Session Store (HADB)

5 & 5U1

Mandatory: Stores session state needed to support failover between instances

Local only

Java DB

5 & 5U1

Mandatory: Provides default developer database and other persistent storage.

Local only

Web Server

3-5 & 5U1

Optional: Provides load balancing between instances

Local only

Directory Proxy Server

Directory Server

1-5 & 5U1

Co-dependency: Results in improved security and performance for directory requests. Supplies data to Directory Proxy Server

 

Directory Server

Directory Proxy Server

1-5 & 5U1

Co-dependency: Results in improved security and performance for directory requests. Distributes load and caches data from Directory Server

 

High Availability Session Store (HADB)

None

 

 

 

Java DB

None

 

 

 

Message Queue

Directory Server

2-5 & 5U1

Optional: Stores administered objects and user data

 

J2EE web container:

- Application Server

- Web Server

 

2-5 & 5U1

2-5 & 5U1

Optional: Supports HTTP transport between client and Message Queue broker

 

Java DB

5 & 5U1

Optional: Stores persistent messages.

Local only

Sun Cluster

2-5 & 5U1

Optional: Supports high availability

 

Monitoring Console

None

 

 

 

Portal Server

Directory Server

4-5 & 5U1

Mandatory: Stores and enables lookup of user profiles

 

J2EE web container:

- Application Server

- Web Server

 

4-5 & 5U1

4-5 & 5U1

Mandatory: Provides web container runtime services

Local only

 

Access Manager or
Access Manager SDK

4-5 & 5U1

Mandatory: Provides authentication and authorization services, single sign-on

Local only
(If Access Manager is remote, Access Manager SDK must be used locally)

Portal Server Secure Remote Access

5 & 5U1

Optional: Provides secure remote access through the Gateway, Rewriter Proxy, and Netlet Proxy components

 

Service Registry Client

5 & 5U1

Mandatory: Provides libraries needed for compilation

 

Java DB

5 & 5U1

Mandatory: Provides support for several portlet applications

 

Portal Server Secure Remote Access
    Gateway

Portal Server

5U1

Mandatory: Supports Gateway functionality

 

Access Manager or
Access Manager SDK

4-5 & 5U1

Mandatory: Provides authentication and authorization services, single sign-on

Local only
(If Access Manager is remote, Access Manager SDK must be used locally)

Directory Server

4-5 & 5U1

Mandatory: Stores and enables lookup of user data

 

    Rewriter Proxy

Portal Server

5U1

Mandatory: Supports Rewriter Proxy functionality

 

    Netlet Proxy

Portal Server

5U1

Mandatory: Supports Netlet Proxy functionality

 

Service Registry
    Deployment

 

Application Server

5 & 5U1

Mandatory: Provides container runtime services

Local only

Java DB

5 & 5U1

Mandatory: Provides default database for storing services and related meta data

Local only

Service Registry Client

5U1

Mandatory: Provides required client libraries

Local only

   Client

None

 

 

 

Sun Cluster

None

 

 

 

   Sun Cluster Agents

Sun Cluster

4-5 & 5U1

Mandatory: Provides access to Sun Cluster services

Local only

Sun Cluster Geographic Edition

Sun Cluster

4-5 & 5U1

Mandatory: Supports Sun Cluster Geographic Edition functionality.

Local only

Web Proxy Server

Directory Server

2-5 & 5U1

Optional: Provides LDAP-based authentication

 

Web Server

2-5 & 5U1

Co-dependency: Results in improved security and performance for HTTP requests. Supplies data to Web Proxy Server

Also supported;
- Weblogic2
- WebSphere3

Web Server

Directory Server

1-5 & 5U1

Optional: Provides LDAP-based authentication

 

Web Proxy Server

1-5 & 5U1

Co-dependency: Results in improved security and performance for HTTP requests. Distributes load and caches data from Web Server

 

1For each product component, dependencies are listed in the order that they would normally be upgraded.

2BEA Weblogic Server

3IBM WebSphere Application Server


Upgrade Sequencing Guidelines

The choice between selective upgrade or upgrade all, the impact of hard upgrade dependencies, and other factors discussed in the previous sections can all affect which Java ES components you plan to upgrade as well as the order in which you need to upgrade them. Nevertheless, a few general sequencing guidelines apply, though not in every case.

The following listing provides the order in which Java ES components can be successfully upgraded on a single computer or in a deployed system. The order is generally more important in feature upgrades (in which dependencies, data formats, and compatibilities might change) than in maintenance upgrades.

When you plan your upgrade, you can omit those components that are not part of your deployment architecture or, if you are performing a selective upgrade, you can omit those components that represent soft upgrade dependencies. If you are performing a maintenance upgrade, you can omit those components for which there is no new maintenance release.

The chapters in this Upgrade Guide are arranged according to the order in which components appear in the following listing.


NoteS

Before upgrading Java ES components, be sure to apply any required update of your operating system (see Required Operating System Patches).

Also check Special Cases to see if any apply to your upgrade scenario.


    Shared components should be upgraded before the components which depend on them. In most feature upgrades of product components, shared component upgrade is handled by the Java ES installer, however in the case of Web Proxy Server and Portal Server you have to explicitly upgrade shared components. In maintenance upgrades of product components, shared component upgrade can be selectively performed through patching.

  1. Sun Cluster software (See Chapter 3, "Sun Cluster Software")
  2. If any components run in a Sun Cluster environment, and the Sun Cluster software needs to be upgraded, it should be upgraded before the components that use Sun Cluster services. Sun Cluster agents, if upgraded, should be upgraded as part of the Sun Cluster upgrade.

  3. Sun Cluster Geographic Edition software (See Chapter 4, "Sun Cluster Geographic Edition")
  4. Sun Cluster Geographic Edition should be upgraded after Sun Cluster software, upon which it depends. It should be upgraded before any components that use Sun Cluster services.

  5. Directory Server (See Chapter 5, "Directory Server")
  6. Many components store user data or configuration data in Directory Server, so upgrades to Directory Server should generally be performed before upgrading the components that have runtime or configuration dependencies on Directory Server.

  7. Directory Proxy Server (See Chapter 6, "Directory Proxy Server")
  8. Directory Proxy Server has a soft upgrade dependency on Directory Server and can be upgraded at any time. Some components might access Directory Server through Directory Proxy Server, however, so if Directory Proxy Server is upgraded, it should be upgraded right after Directory Server.

  9. Web Server (See Chapter 7, "Web Server")
  10. A number of Java ES components require the support of a web container, which, if upgraded, should be upgraded before the components requiring web container services. Normally web container services are provided by Web Server or Application Server, but if your architecture contains both, upgrade Web Server first, before upgrading Application Server.

  11. Java DB (See Chapter 8, "Java DB")
  12. Java DB must be upgraded before Application Server, which requires Java DB as a default database. However, Java DB is automatically upgraded by the Java ES installer when performing a feature upgrade of Application Server.

  13. High Availability Session Store (See Chapter 9, "High Availability Session Store")
  14. High Availability Session Store (HADB) must be upgraded before Application Server, which requires High Availability Session Store for high availability. However, HADB is automatically upgraded by the Java ES installer when performing a feature upgrade Application Server.

  15. Message Queue (See Chapter 10, "Message Queue")
  16. Message Queue must be upgraded before Application Server, which requires Message Queue to be Java Enterprise Edition (Java EE) compliant. However, Message Queue is automatically upgraded by the Java ES installer when performing a feature upgrade Application Server.

  17. Application Server (See Chapter 11, "Application Server")
  18. Application Server depends on Message Queue and High Availability Session Store, and if upgraded, should be upgraded after these components. Application Server can also depend on Web Server for its load balancing plug in, so if you are using that capability, Application Server should be upgraded after Web Server.

  19. Service Registry (See Chapter 12, "Service Registry")
  20. Service Registry can be upgraded anytime after Application Server is upgraded because Service Registry depends upon Application Server for runtime container services.

  21. Web Proxy Server (See Chapter 13, "Web Proxy Server")
  22. Web Proxy Server can be upgraded anytime, though generally it would be upgraded after the Web Server or Application Server component for which it provides a proxy service.

  23. Access Manager (See Chapter 14, "Access Manager"
  24. Access Manager plays a central role in authentication and authorization, including single sign-on, and, if upgraded, should be upgraded before the components that depend on it for those services.

  25. Portal Server (See Chapter 15, "Portal Server")
  26. Portal Server depends on many of the preceding components (Directory Server, a web container, and Access Manager), and if upgraded, should be upgraded after these components.

  27. Portal Server Secure Remote Access (See Chapter 16, "Portal Server Secure Remote Access")
  28. Portal Server Secure Remote Access, must be upgraded when Portal Server is upgraded.

  29. Monitoring Console (See Chapter 17, "Monitoring Console")
  30. Monitoring Console can be upgraded anytime after the upgrade of shared components.


Special Cases

There are a few special cases to be aware of when planning the upgrade of Java ES components to Release 5U1. These are described below.

Selective Upgrade: Application Server Not Upgraded

If you are performing a selective upgrade of any Java ES component to Java ES 5 Update 1 on a computer that is running Release 3 or Release 4 Application Server (8.1), and you are not upgrading Application Server to Release 5U1, there are situations that must be addressed for Application Server to continue functioning properly:

Upgrading Web Server to Release 5U1 Can Require Upgrading Portal Server to Release 5U1

If Portal Server is deployed in a Web Server web container, and if you upgrade Web Server to Release 5U1, you also have to upgrade Portal Server to Release 5U1.

For more information, see the Web Server 7.0 Update 1 Release Notes, http://docs.sun.com/doc/820-1069/6ncp1ddaa?a=view.


Java ES 5 Update 1 Upgrade and Solaris 10 Zones

This section addresses issues involved in upgrading Java ES software in Solaris 10 zones and provides recommended in such an environment. The section supplements information regarding Java ES 5 Update 1 and Solaris 10 zones in the Java Enterprise System 5 Installation Planning Guide, http://docs.sun.com/doc/819-5079.

It includes the following topics:

Zone Support in the Java ES Installer

The Java ES 5 installer provides qualified zones support for upgrade (as well as installation) of Java ES product components and for synchronization of shared components. Policies have been implemented in the installer to help prevent problematic upgrade scenarios.

Upgrade of Product Components

As described in Using the Upgrade Capability of the Java ES Installer, the Java ES installer can be used to upgrade a limited number of product components and their corresponding shared components. The upgrade capability applies to global zones and all non-global zones.

However, there are three zones-related exceptions to this behavior:

Synchronize All Shared Components

A shared component synchronization option is provided in Release 5U1 to meet situations in which all shared components must be synchronized to their Release 5U1 versions. When the All Shared Components option is selected, the installer will upgrade all shared components currently installed and install any missing shared components, whether or not they are needed by any specific product component. This option applies to global zones and whole root zones (but not to sparse root zones).

The All Shared Components option, described in more detail in Synchronize All Shared Components, is needed in the following two zone-based upgrade scenarios:

For a summary of the Java ES installer's zone behavior regarding shared components, see the information regarding Java ES 5 Update 1 and Solaris 10 zones in the Java Enterprise System 5 Installation Planning Guide, http://docs.sun.com/doc/819-5079.

Recommended Upgrade Practices

In formulating an upgrade plan, you should survey any existing multizone deployments of Java ES software, keeping in mind the zones installation and administration strategies outlined in the Java Enterprise System 5 Installation Planning Guide, http://docs.sun.com/doc/819-5079. In some cases you might be required to uninstall components in one or more zones and re-install them in other zones to implement the following recommended practices:

Special Cases or Exceptions

There are a number of special cases, some of which arise from the fact that some Java ES shared components and some Java ES product components are bundled with Solaris 10. By virtue of this bundling, these Java ES components automatically exist in the global zone, and therefore in any non-global zone that is created from the global zone.

Product Component Special Cases

Shared Component Special Cases



Previous      Contents      Index      Next     


Part No: 820-2510-10
November 2007.   Copyright 2004 Sun Microsystems, Inc. All rights reserved.