Installing Patches for Java CAPS

ProcedureTo Install a Sun GlassFish Enterprise Server Environment Patch

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.


Note –

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.


  1. Change directory to JavaCAPS6–INSTALL-DIR/appserver/domains/domain-name/bin.


    Note –

    JavaCAPS6–INSTALL-DIR is the directory where you installed Java CAPS.


  2. From the command line, run ./stopserver.sh or (stopserver.bat) to stop the application server.

  3. Change directory to JavaCAPS6–INSTALL-DIR/caps-patch/util/bin.

  4. At the command line, enter ./caps-patch-install -verbose -domain domain-name -patch any-directory/nnnnnnn-nn-RT.zip.


    Note –

    any-directory is the path to the patch.


  5. Change directory to JavaCAPS6–INSTALL-DIR/appserver/domains/domain-name/bin.

  6. From the command line, run ./startserver.sh (or startserver.bat) to start the application server.