Sun GlassFish Web Space Server 10.0 Administration Guide

ProcedureTo Download the Updates Using Update Tool

  1. Start Update Tool by changing to the webspace-dir/bin directory and typing updatetool.

    • If the Update Tool main window appears, proceed to Step 2.

    • If a prompt appears asking whether to allow the installation of Update Tool to proceed:

      1. Type y to proceed.

        The installer downloads and installs Update Tool and then exits. This process takes approximately 10 ‐ 15 minutes.

      2. Type the updatetool command again to start Update Tool.

        The Update Tool main window appears.

  2. Expand Web Space under the Application Images pane, and click Available Updates.

    Figure 2–1 Update Tool

    Update Tool

  3. Click the Edit Properties button.

    The Image Properties window is displayed.

  4. Select the option support.sun.com repository, and choose Preferred.

    The Repository Properties window appears.

  5. Provide the appropriate repository URL provided by Sun support, and click OK.

    The support.sun.com repository is highlighted.

    Figure 2–2 Selecting the support.sun.com repository

    Selecting a repository

  6. Click OK again to enable the support.sun.com repository.

    The Update Tool main window is displayed.

  7. Expand Web Space under the Application Images pane, and select Available Add-ons.

  8. Select the Web Space for GlassFish V2 component, and click install.

  9. Restart the GlassFish server.

    cd <glassfish_dir>/bin
    ./asadmin stop-domain
    ./asadmin start-domain
  10. Change to the webspace_dir/webspace/application directory.

  11. Run the ant install-gfv2.xml script to regenerate and redeploy the Web Space Server WAR files.

    ant -f install-gfv2.xml
  12. Restart the GlassFish server.

    cd <glassfish_dir>/bin
    ./asadmin start-domain