Start Update Tool by changing to the webspace-dir/bin directory and typing updatetool.
Change to the webspace_dir/pkg/bin directory.
Type the following command to download updates:
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.
Type the following commands to install the Update components.
pkg image-update
Restart the GlassFish server.
cd <glassfish_dir>/bin ./asadmin stop-domain ./asadmin start-domain
Change to the webspace_dir/webspace/application directory.
Run the ant install-gfv2.xml script to regenerate and redeploy the Web Space Server WAR files.
ant -f install-gfv2.xml
Restart the GlassFish server.
cd <glassfish_dir>/bin ./asadmin start-domain