Sun GlassFish Web Space Server 10.0 Update Series Release Notes

Installing the Web Space Server 10.0 Update 6 Components

After installing the core Web Space Server 10.0 software, installation of the Update 6 components can be performed entirely through the Update Tool that is bundled with Web Space Server 10.0.


Note –

The version of Update Tool included with some versions of GlassFish Enterprise Server is not compatible with the Web Space Server update repositories. You must use the version of Update Tool that comes with Web Space Server 10.0 software rather than the version that is bundled with GlassFish .


Update Tool also includes a command-line (CLI) Image Packaging System (IPS) utility, called pkg, that provides the same core functionality as its GUI-based counterpart. This IPS tool is started with the ws_install_dir/bin/pkg command. See the Update Center wiki for complete information about Update Tool and the pkg command.

You can install the Web Space Server 10.0 Update 6 components through either the Update Tool GUI or with the pkg CLI utility.

ProcedureTo Install the Update 6 Components Using the GUI-Based Update Tool

This procedure explains how to install the Update 6 patch on top of an existing Web Space Server 10.0 installation using the GUI-based Update Tool. If you prefer to use the pkg command line tool, see To Install the Update 6 Components Using the CLI-Based pkg Tool.

Before You Begin

Note the following before you begin the Update 6 installation:

  1. In a command shell for your operating system, change to the ws_install_dir/bin directory and run the updatetool command.

    If this is the first time you have launched updatetool, the full Update Tool product is yet be installed, and you are prompted to allow installation to proceed.

    1. Type y when prompted to install Update Tool.

      The installer downloads and installs the full Update Tool product and then exits.

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

    The Update Tool main window is displayed, with Available Updates highlighted.

  2. (Optional) Specify proxy server settings, if necessary.

    This step is only required if you are using Update Tool from behind a firewall that implements a proxy server.

    1. Click Preferences in the Update Tool main window to display the proxy server settings dialog.

    2. Type your proxy settings, and then close the dialog to return to the Update Tool main screen.

  3. Click the Web Space node in the Application Images pane on the left in Update Tool.

    Details about the currently selected software repositories are displayed. To get the Web Space Server updates, the update support repository must be added to this list.

  4. Click Edit Properties on the right side of the Image Details pane.

    The Image Properties window is displayed.

    Note that the repository named support.sun.com is not enabled.

  5. Select the checkbox next to the support.sun.com repository, and then click Edit.

    The Repository Properties window is displayed.

  6. Ask your SunSolve service representative for the correct URL to use, type the URL here, and then click OK.

  7. Verify that the support.sun.com repository is now enabled and selected as preferred, and then click OK.

  8. Back in the Update Tool main window, choose the Available Updates node in the Application Images pane to display the list of available Updates.

    The available updates and their associated WAR files are displayed. The following Web Space Server updates are available:

    • Web Space Server 10.0 Service Pack 1: 10.0–1.14

    • Web Space Server 10.0 Update 2: 10.0.2-1.15

    • Web Space Server 10.0 Update 3: 10.0.3-1.16

    • Web Space Server 10.0 Update 3 patch: 10.0.3-1.17

    • Web Space Server 10.0 Update 4: identified by both 10.0.3-1.17 and 10.0.4-1.18

    • Web Space Server 10.0 Update 5: 10.0.5-1.19

    • Web Space Server 10.0 Update 6: 10.0.6-1.20

  9. Select available Web Space Server packages, and click Install to install updates.

    For example, to install the Update 6 components, select the Web Space Server 10.0.6-1.20 entry.

  10. Restart GlassFish Enterprise Server.


    cd as_install_dir/bin
    ./asadmin stop-domain domain_name
    ./asadmin start-domain domain_name
    
  11. Change to the ws_install_dir/webspace/application directory.

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


    ant -f install-gfv2.xml
    
  13. Restart GlassFish Enterprise Server.


    cd as_install_dir/bin
    ./asadmin start-domain domain_name
    

ProcedureTo Install the Update 6 Components Using the CLI-Based pkg Tool

This procedure explains how to install the Update 6 patch on top of an existing Web Space Server 10.0 installation using the CLI-based pkg utility. If you prefer to use the GUI-based Update Tool, To Install the Update 6 Components Using the GUI-Based Update Tool.

Before You Begin

Note the following before you begin the Update 6 installation:

  1. In a command shell for your operating system, change to the ws_install_dir/bin directory and run the updatetool command.

    If this is the first time you have launched updatetool, the full Update Tool product is yet be installed, and you are prompted to allow installation to proceed.

  2. Type y when prompted to install Update Tool.

    The installer downloads and installs the full Update Tool product and then exits.

  3. Change to the ws_install_dir/pkg/bin directory.

  4. Type the following command to download the Update 6 components:


    pkg set-authority -P --enable -O http://pkg.sun.com/webspace/10/repository_name
    

    Ask your SunSolve service representative for the correct repository name to use.

  5. Type the following command to install the Update 6 components:


    pkg image-update
    
  6. Restart GlassFish Enterprise Server.


    cd as_install_dir/bin
    ./asadmin stop-domain domain_name
    ./asadmin start-domain domain_name
    
  7. Change to the ws_install_dir/webspace/application directory.

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


    ant -f install-gfv2.xml
    
  9. Restart GlassFish Enterprise Server.


    cd as_install_dir/bin
    ./asadmin start-domain domain_name