This procedure explains how to install an Update 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, see To Install the Update Components Using the GUI-Based Update Tool.
Note the following before you begin the Update installation:
Web Space Server 10.0 software must be installed and running, as described in Installing Web Space Server Software.
Installation of the 10.0 Update components cannot be rolled back.
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 will not yet be installed, and you are prompted to allow installation to proceed.
Type y when prompted to install Update Tool.
The installer downloads and installs the full Update Tool product and then exits.
Change to the ws-install-dir/pkg/bin directory.
Use the pkg command to download the Update components.
If you are using Web Space Server Update 6, enter the following command:
pkg set-publisher -O http://pkg.sun.com/webspace/10/_support_ webspace.sun.com |
If you are using Web Space Server Update 5 or earlier, enter the following command:
pkg set-authority -P --enable -O http://pkg.sun.com/webspace/10/_support_ support.sun.com |
Enter the following command to install the Update components:
pkg image-update |
Restart the application server.
For example, if running GlassFish Enterprise Server, use the following commands:
cd gf-install-dir/bin ./asadmin stop-domain domain_name ./asadmin start-domain domain_name |
Change to the ws-install-dir/webspace/application directory.
Run the Ant install.xml script to regenerate and redeploy the Web Space Server WAR files.
ant -f install.xml |
Restart the application server.
For example, if running GlassFish Enterprise Server:
cd gf-install-dir/bin ./asadmin start-domain domain_name |