Oracle GlassFish Server 3.0.1 Administration Guide

ProcedureTo Upgrade to Oracle GlassFish Server by Using Update Tool

The procedure explains how to use Update Tool to obtain and install the add-on component for upgrading GlassFish Server Open Source Edition to Oracle GlassFish Server. For general instructions for using Update Tool, see the Update Tool online help.

Before You Begin

Ensure that GlassFish Server Open Source Edition 3.0.1 is installed on your machine.

  1. Start Update Tool.


    as-install-parent/bin/updatetool
    
  2. From the Application Images list, select GlassFish Server Open Source Edition.

  3. Click Edit Properties.

    The Image Properties window opens.

  4. (Optional) In the Image Properties window, change image title to Oracle GlassFish Server.

  5. Remove the following publishers from the list of software sources for the image:

    • dev.glassfish.org

    • stable.glassfish.org

    • release.javaeesdk.sun.com

    Remove each publisher as follows:

    1. In the Image Properties window, select the publisher that you are removing.

    2. Click Remove.

  6. Add repositories for Oracle GlassFish Server to the application image.

    Add each repository as follows:

    1. In the Image Properties window, click Add.

      The Publisher Properties window opens.

    2. In the Publisher Properties window, specify the properties of the repository that you are adding and click OK.

      The properties to specify for each repository are listed in the following table.

      Publisher Name 

      Repository URL 

      release.glassfish.sun.com

      http://pkg.sun.com/glassfish/v3/release/

      dev.glassfish.sun.com

      http://pkg.sun.com/glassfish/v3/dev/

      For more information about these repositories, see Oracle GlassFish Server Repositories.

      The Publisher Properties window closes. The publisher is added to the Software Sources list in the Image Properties window.

  7. In the Image Properties window, set the Preferred option for the release.glassfish.sun.com publisher and click OK.

    The Image Properties window closes.

  8. Under GlassFish Server Open Source Edition in the Available Images list, select Available Add-ons.

  9. Select the add-on component for upgrading the distribution of GlassFish Server Open Source Edition that is installed:

    • If the Web Profile distribution is installed, select the Oracle GlassFish Server Web Profile add-on component.

    • If the Full Platform distribution is installed, install the Oracle GlassFish Server Full Platform add-on component.

  10. Click Install.

  11. To apply your changes, restart GlassFish Server.

    See To Restart a Domain.