Sun GlassFish Web Space Server 10.0 Update Series Release Notes

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