Sun Java logo     Previous      Contents      Index      Next     

Sun logo
Sun Java Enterprise System 5 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 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 Components

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

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

Release 5 Product Components

Release 5 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 Product Components 

Product Component

Abbreviation

Version

Type

Access Manager

AM

7.1

System service component

Application Server

AS

8.2

System service component

Directory Proxy Server

DPS

6.0

Service quality: access component

Directory Server

DS

6.0

System service component

High Availability Session Store

HADB

4.4.3

Service quality: availability component

Java DB

JavaDB

10.2

System service component

Message Queue

MQ

3.7 UR1

System service component

Monitoring Console

MC

1.0

Service quality: administrative component

Portal Server

PS

7.1

System service component

Portal Server Secure Remote Access

PSRA

7.1

Service quality: access component

Service Registry

SR

3.1

System service component

Sun Cluster

SC

3.1 8/05

Service quality: availability component

Sun Cluster Geographic Edition

SCG

2006Q4

Service quality: availability component

Web Proxy Server

WPS

4.0.4

Service quality: access component

Web Server

WS

7.0

System service component

Release 5 Shared Components

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

Table 1-2  Java ES 5 Shared Components 

Shared Component

Version

Abbreviation

Apache Commons Logging

1.0.3

ACL

Jakarta ANT Java/XML-based build tool

1.6.5

ANT

Berkeley Database

4.2.52

BDB

Common Agent Container

1.1 and 2.0

CAC

FastInfoSet

1.0.2

FIS

International Components for Unicode

3.2

ICU

Instant Messenger SDK

6.2.8

IM-SDK

Java Platform, Standard Edition

5.0 Update 7

Java SE

JavaBeans™ Activation Framework

1.0.3

JAF

Java Studio Web Application Framework

2.1.5

JATO

JavaHelp™ runtime

2.0

JavaHelp

JavaMail™ runtime

1.3.2

JavaMail

Java Architecture for XML Binding runtime

2.0.3

JAXB

Java API for XML Processing

1.3.1

JAXP

Java API for XML Registries runtime

1.0.8

JAXR

Java API for XML-based Remote Procedure Call runtime

1.1.3_01

JAX-RPC

Java API for Web Services runtime

2.0

JAXWS

Java Calendar API

1.2

JCAPI

Java Dynamic Management™ Kit runtime

5.1.2

JDMK

Java Security Services (Network Security Services for Java)

4.2.4 and 3.1.11

JSS and
JSS3

JavaServer Pages™ Standard Tag Library

1.0.6

JSTL

KT Search Engine

1.3.4

KTSE

LDAP C SDK

6.0

LDAP C SDK

LDAP Java SDK

4.19

LDAP J SDK

Mobile Access Core

6.2

MA Core

Netscape Portable Runtime

4.6.4

NSPR

Network Security Services

3.11.4

NSS

SOAP Runtime with Attachments API for Java

1.3

SAAJ

Simple Authentication and Security Layer

2.19

SASL

Sun Explorer Data Collector (Solaris only)

4.3.1

SEDC

Sun Java Monitoring Framework

2.0

MFWK

Sun Java Web Console

3.0.2

SJWC

Web Services Common Library

2.0

WSCL

XML Web Services Security

2.0

XWSS


Java ES Upgrade Technologies

No single system utility upgrades all Java ES components. In addition, product components and shared component upgrades have different characteristics and upgrade technologies, as described in the sections below.

Product Component Upgrades

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

The upgrade of product components can range from major functional upgrades, which might not be compatible with the previous version of the component, to bug-fix upgrades, which are fully compatible with the previous version. Because of the dependencies between Java ES components, the nature of one upgrade can impact whether other components need to be upgraded as well.

Java ES product component upgrades 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.

Product Component Upgrade Approaches

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 5 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 5 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 Release 2 Application Server Upgrade).

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 5 in the same path, or install Release 5 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 5. 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, upgrade is performed by manually patching existing software packages. 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 upgrade procedures.

Upgrade Approach Used for Each Product Component

The upgrade approach used to upgrade each product component to Release 5 is shown in the following table:

Table 1-3  Java ES Product Component 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

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

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 version. An operating system instance means a single computer running the Solaris 9, Solaris 10, or Red Hat Enterprise 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 upgrade Java ES shared components one by one, but need to upgrade shared components to their Release 5 versions at the same time.

The synchronization of shared components to Release 5 is achieved using the Java ES installer. The installer synchronizes shared components when performing an 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.


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


Upgrade Plan Considerations

In an upgrade plan you specify the Java ES components you will upgrade to Release 5 and the sequence by which you will upgrade those components on the different computers or operating system instances in your Java ES deployment.

Your plan will depend on your upgrade objectives and priorities, as well as the scope and complexity of your 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 interdependent 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 the greater the number of computers in your deployment architecture, the more complex your upgrade plan will be.

However, your upgrade plan will depend on a number of considerations other than the scope and complexity of your deployment architecture. These considerations include the following factors:

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.

Supported Upgrade Paths and Strategies

Your upgrade plan depends on the Java ES release you wish to upgrade to Release 5.

While it is possible to upgrade all previous releases of Java ES software to Java ES 5 (Release 5), the only supported upgrades are from 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 5, 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 product component are divided into sections: each representing a different upgrade path.

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

Product Version

Java ES Release

System Characteristics

Upgrade Strategies

2005Q4

Release 4

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

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

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

2005Q1

Release 3

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

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

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

2004Q2

Release 2

Contrasts with the Release 4 and Release 3 upgrade paths, above. Java ES 5 (Release 5) does not support a mixture of Release 2 and Release 5 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 5 components is not certified (has not been tested).

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

2003Q4
and prior versions

Release 1 and pre-dating Java ES

Similar to the Release 2 upgrade path, above. Java ES 5 (Release 5) does not support a mixture of Release 2 and Release 5 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 5 components is not certified (has not been tested).

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

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 5. 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 5 can be performed in the same way as the upgrade from Release 2 or Release 3 to Release 5, 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 5. 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.


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 and Release 4 to Release 5 on a single computer. Selective upgrade from Release 2 to Release 5 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-6  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 5.

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 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 as a whole before performing upgrades of specific product components.

Dual Upgrades: Java ES and Operating System Softwared

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

 

2005Q5 (Release 4)

X

X

X

X

X

 

5 (Release 5)

 

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-8  Dual Upgrade Support for Java ES 5 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 5. 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 Upgrade and Solaris 10 Zones.


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-9 shows the dependencies of Java ES 5 (Release 5) product components on Java ES shared components. The abbreviations for product components in the column headings of Table 1-9 are taken from Table 1-1. The abbreviations for shared components are listed in Table 1-2.

Within the matrix of Table 1-9 hard upgrade dependencies for Release 3 and Release 4 to Release 5 upgrades are marked “H,” and soft upgrade dependencies are marked “S.” For Release 2 to Release 5 upgrades, all shared component dependencies are, by definition, hard upgrade dependencies; all shared components must be upgraded from Release 2 to Release 5.

Table 1-9  Shared Component Dependencies of Java ES 5 (Release 5) 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

H

H

H

 

 

 

S

S

 

S1

S1

 

 

 

FIS

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ICU

 

S

H

H

 

 

 

 

 

S

 

 

 

 

S

S

IM-SDK

 

 

 

 

 

 

 

 

 

S

 

 

 

 

 

 

Java SE

S

S

H

H

H

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

H

H

H

 

 

 

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

 

 

H

 

 

 

 

H

 

 

 

 

 

 

 

NSPR

S

S

H

H

 

 

 

H

S

S

S

S

S

 

S

H

NSS

S

S

 

H

 

 

 

H

S

S

S

S

S

 

S

H

SAAJ

S

S

 

 

 

 

 

 

 

S

S

 

 

H

 

 

SASL

 

 

 

H

 

 

 

 

 

 

 

 

 

 

S

S

SEDC

 

 

 

 

 

 

 

 

 

 

 

S

S

 

 

 

SJWC

S

S

 

 

H

 

 

 

H

 

 

S

S

 

 

 

WSCL

S

S

 

 

 

 

 

 

 

 

 

 

 

H

 

S

XWSS

 

 

 

 

 

 

 

 

 

 

 

 

 

H

 

 

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

The dependencies shown in Table 1-9 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-1 illustrates interdependencies among shared components.

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

However, because shared components must be synchronized (see Shared Component Upgrades), you cannot upgrade 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 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 5.

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

Figure 1-1  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 5 product components, the second column shows other Java ES components upon which a Release 5 component has a dependency relationship, the third column provides the Java ES release versions that support the Release 5 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 5 has a dependency on Release 5 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 5.

Table 1-10  Java ES Product Component Dependencies 

Release 5
Product Component

Dependency1

Java ES Release

Nature of Dependency

Characteristics

Access Manager

Directory Server

2-5

Mandatory: Stores configuration data and enables lookup of user data

 

J2EE web container:

- Application Server

- Web Server

 

4-5

4-5

Mandatory: Provides web container runtime services

Local only

Also supported;
- Weblogic2
- WebSphere3

    Access Manager
    SDK

Access Manager

3-5

Mandatory: Provides Access Manager services

 

    Access Manager
    Distr. Authentication

Access Manager

4-5

Mandatory: Provides Access Manager services

 

J2EE web container:

- Application Server

- Web Server

 

4-5

4-5

Mandatory: Provides web container runtime services

Local only

Also supported;
- Weblogic2
- WebSphere3

    Access Manager
    Session Failover

Access Manager

5

Mandatory: Provides Access Manager services

 

Message Queue

4-5

Mandatory: Provides reliable asynchronous messaging

 

Application Server

Message Queue

3-5

Mandatory: Provides reliable asynchronous messaging

Local only

High Availability Session Store (HADB)

5

Mandatory: Stores session state needed to support failover between instances

Local only

Java DB

5

Mandatory: Provides default developer database and other persistent storage.

Local only

Web Server

3-5

Optional: Provides load balancing between instances

Local only

Directory Proxy Server

Directory Server

1-5

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

 

Directory Server

Directory Proxy Server

1-5

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

Optional: Stores administered objects and user data

 

J2EE web container:

- Application Server

- Web Server

 

2-5

2-5

Optional: Supports HTTP transport between client and Message Queue broker

 

Java DB

5

Optional: Stores persistent messages.

Local only

Sun Cluster

2-5

Optional: Supports high availability

 

Monitoring Cosole

None

 

 

 

Portal Server

Directory Server

4-5

Mandatory: Stores and enables lookup of user profiles

 

J2EE web container:

- Application Server

- Web Server

 

4-5

4-5

Mandatory: Provides web container runtime services

Local only

 

Access Manager or
Access Manager SDK

4-5

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

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

 

Service Registry Client

5

Mandatory: Provides libraries needed for compilation

 

Java DB

5

Mandatory: Provides support for several portlet applications

 

Portal Server Secure Remote Access
    Gateway

Portal Server

5

Mandatory: Supports Gateway functionality

 

Access Manager or
Access Manager SDK

4-5

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

Mandatory: Stores and enables lookup of user data

 

    Rewriter Proxy

Portal Server

5

Mandatory: Supports Rewriter Proxy functionality

 

    Netlet Proxy

Portal Server

5

Mandatory: Supports Netlet Proxy functionality

 

Service Registry
    Deployment

 

Application Server

5

Mandatory: Provides container runtime services

Local only

Java DB

5

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

Local only

Service Registry Client

5

Mandatory: Provides required client libraries

Local only

   Client

None

 

 

 

Sun Cluster

None

 

 

 

   Sun Cluster Agents

Sun Cluster

4-5

Mandatory: Provides access to Sun Cluster services

Local only

Sun Cluster Geographic Edition

Sun Cluster

4-5

Mandatory: Supports Sun Cluster Geographic Edition functionality.

Local only

Web Proxy Server

Directory Server

2-5

Optional: Provides LDAP-based authentication

 

Web Server

2-5

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

Optional: Provides LDAP-based authentication

 

Web Proxy Server

1-5

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

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

  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 upgrading 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 upgrading 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 upgrading 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. Web Proxy Server is a new Java ES Release 5 component that can be upgraded from its previous non-Java ES release.

  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.


Special Cases

There are a few special cases to be aware of when planning the upgrade of Java ES components to Release 5. 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 on a computer that is running Release 3 or Release 4 Application Server (8.1), and you are not upgrading Application Server to Release 5, there are situations that must be addressed for Application Server to continue functioning properly:

Upgrade of Portal Server Interim Feature Release (IFR) 7.0 to Java ES 5

If you are upgrading Portal Server in a Web Server environment from the Interim Feature Release (IFR) 7.0 2005Q4 to Release 5, please consult Upgrading Portal Server from the Interim Feature Release 7.0 for exceptions to the guidelines in Upgrade Sequencing Guidelines.


Java ES 5 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 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 5 to meet situations in which all shared components must be synchronized to their Release 5 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 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: 819-6553-11
June 2007.   Copyright 2007 Sun Microsystems, Inc. All rights reserved.