This procedure installs a runtime patch on the Sun GlassFish Enterprise Server, with the ZIP file name using the format of nnnnnnn-nn–RT.zip.
The -domain option is used to patch a particular domain. If you want to patch only the application server installation directory you must run the patch without the -domain option.
Change directory to JavaCAPS6–INSTALL-DIR/appserver/domains/domain-name/bin.
JavaCAPS6–INSTALL-DIR is the directory where you installed Java CAPS.
From the command line, run ./stopserver.sh or (stopserver.bat) to stop the application server.
Change directory to JavaCAPS6–INSTALL-DIR/caps-patch/util/bin.
At the command line, enter ./caps-patch-install -verbose -domain domain-name -patch any-directory/nnnnnnn-nn-RT.zip.
any-directory is the path to the patch.
Change directory to JavaCAPS6–INSTALL-DIR/appserver/domains/domain-name/bin.
From the command line, run ./startserver.sh (or startserver.bat) to start the application server.