JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle GlassFish Server 3.1 Upgrade Guide
search filter icon
search icon

Document Information

Preface

1.  GlassFish Server Upgrade Compatibility Issues

2.  Upgrading an Installation of Application Server or GlassFish Server

Upgrade Overview

Upgrade Paths

Upgrade Terminology

Summary of Upgrade Tools and Procedures

Summary of Tools for Performing an Upgrade

Upgrade Tool

Update Tool and the pkg Utility

Software Update Notifier

Summary of Procedure for Upgrading With Upgrade Tool

Summary of Procedure for Upgrading With Update Tool

Summary of Procedure for Upgrading With the Software Update Notifier

Summary of Procedure for Upgrading With the pkg Utility

Supported Releases for Upgrade to GlassFish Server 3.1

Upgrading From Version 8.x or Older Product Releases

Upgrading GlassFish Server Inside a Closed Network

Performing a Side-By-Side Upgrade With Upgrade Tool

Upgrade Tool Summary

Upgrade Tool Functionality

Migration of Deployed Applications

Upgrade of Clusters

Upgrade Verification

To Upgrade From the Command Line Using Upgrade Tool

To Upgrade Using the Upgrade Tool Wizard

Performing an In-Place Upgrade With the Update Center Tools

Update Center Tool Procedures

To Upgrade Using the Update Tool GUI

To Upgrade Using the Software Update Notifier

To Upgrade From the Command Line Using the pkg Utility

Upgrading Installations That Use NSS Cryptographic Tokens

To Prepare for the Upgrade

To Perform Post-Upgrade Configuration

To Upgrade PKCS#11 Hardware Tokens

Upgrading Clusters and Node Agent Configurations

Overview of Cluster and Node Agent Upgrade Procedures

To Correct the Configuration of a Node After an Upgrade

To Re-Create a Cluster

Correcting Potential Upgrade Problems

Cluster Profile Security Setting

Cluster Profile Upgrade on Windows

asupgrade Fails Without Internet Connection

Index

Performing an In-Place Upgrade With the Update Center Tools

This section explains how to use the three Update Center tools to perform an in-place upgrade to GlassFish Server 3.1 from GlassFish Server 3.0.1 or Enterprise Server v3. Specifically, the three tools explained in this section are:


Note - GlassFish Server 3.0.1 and Enterprise Server v3 are the only product releases that can be upgraded to the 3.1 release with the Update Center tools. If you are upgrading from any other product release, you must use Upgrade Tool, as described in Performing a Side-By-Side Upgrade With Upgrade Tool.


The following topics are addressed here:

Update Center Tool Procedures

Unlike when using Upgrade Tool, when you use the Update Tool, the Software Update Notifier, or the pkg utility to perform a GlassFish Server 3.1 upgrade, the older source server directories are overwritten with the new target server directories, and the existing configuration and deployed applications are reused in the updated installation.

To perform the upgrade, the user who runs the upgrade needs to have read and writer permissions for the server installation directories.

You can perform an upgrade using the Update Center tools in the following ways:

To Upgrade Using the Update Tool GUI

This procedure explains how to use the graphical Update Tool to perform an in-place upgrade to GlassFish Server 3.1 from GlassFish Server 3.0.1 or Enterprise Server v3. Note that it is not possible to use this procedure with any other product releases.

  1. Ensure that all domains on the source server from which you are upgrading are stopped before proceeding.
  2. In a command shell for your operating environment, navigate to the as-install-parent/bin directory.
  3. Use the updatetool command to start the Update Tool GUI.

    The Update Tool main window is displayed.

  4. Click on Available Updates.
  5. Select all items in the Available Updates list, and then click the Install button in the toolbar at the top of the Update Tool main window.

    When the upgrade is complete, exit Update Tool.

  6. Upgrade the domain by starting the DAS with the --upgrade option.
    as-install-parent/glassfish/bin/asadmin start-domain --upgrade domain-name

    This upgrades the domain and then shuts down the DAS.

  7. Start the DAS normally.
    as-install-parent/glassfish/bin/asadmin start-domain domain-name

Next Steps

To Upgrade Using the Software Update Notifier

This procedure explains how to use the Software Update Notifier to perform an in-place upgrade to GlassFish Server 3.1 from GlassFish Server 3.0.1 or Enterprise Server v3. Note that it is not possible to use this procedure with any other product releases.

Before You Begin

The Software Update Notifier must be installed and enabled on the GlassFish Server or Enterprise Server release from which you are upgrading. Software Update Notifier installation is typically performed during the initial GlassFish Server or Enterprise Server installation. The Software Update Notifier can also be installed later using Update Tool. For more information about the Update Notifier, refer to the Update Tool online help.

  1. Wait for the Software Update Notifier to pop up a notification balloon informing you that updates are available.
  2. Click the balloon prompt to open the Software Update GUI.
  3. Manually stop all domains and server instances.
  4. Using the Software Update GUI, select the items you want to upgrade and start the installation.

    Ensure that GlassFish Server 3.1 is one of the items you select for upgrade. This upgrades the server and selected components to the latest available versions.

  5. Upgrade the domain by starting the DAS with the --upgrade option.
    as-install-parent/glassfish/bin/asadmin start-domain --upgrade domain-name

    This upgrades the domain and then shuts down the DAS.

  6. Start the DAS normally.
    as-install-parent/glassfish/bin/asadmin start-domain domain-name

Next Steps

To Upgrade From the Command Line Using the pkg Utility

This procedure explains how to use the pkg utility to perform an in-place upgrade to GlassFish Server 3.1 from GlassFish Server 3.0.1 or Enterprise Server v3. Note that it is not possible to use this procedure with any other product releases.

  1. Ensure that all domains on the source server from which you are upgrading are stopped before proceeding.
  2. In a command shell for your operating environment, navigate to the as-install-parent/bin directory.
  3. Use the pkg image-update command to update your entire GlassFish Server 3.0.1 or Enterprise Server v3 installation to GlassFish Server 3.1.
    ./pkg image-update

    This upgrades the server components to the latest available versions.

  4. Upgrade the domain by starting the DAS with the --upgrade option.
    as-install-parent/glassfish/bin/asadmin start-domain --upgrade domain-name

    This upgrades the domain and then shuts down the DAS.

  5. Start the DAS normally.
    as-install-parent/glassfish/bin/asadmin start-domain domain-name

Next Steps