GlassFish Server provides the following tools for updating software on a deployed server:
Update Tool is a standalone graphical tool bundled with GlassFish Server that can be used to find and install updates and add-ons on a deployed GlassFish Server instance.
For instructions for using Update Tool, see the Update Tool online help.
The pkg command is the command-line equivalent to Update Tool. Most of the tasks that can be performed with the graphical Update Tool can be performed from a command line using the pkg tool.
Most of the procedures in this chapter are based on the pkg command. A set of reference pages that contain details about using the pkg command is included with GlassFish Server in the as-install-parent/pkg/man directory.
The Administration Console enables you to perform the following tasks that are related to extending and updating GlassFish Server:
Installing add-on components
Viewing available updates to installed components
Viewing installed components
For more information, see the Administration Console online help.
Note - The Administration Console does not enable you to update or remove installed components. Instead, you must stop the GlassFish Server domain and use Update Tool or the pkg command.
When the Administration Console starts, it automatically checks the package repositories for updates to installed components. In situations where the GlassFish Server host does not have access to the package repositories, you can disable this automatic check by setting a JVM option:
asadmin> create-jvm-options -Dcom.sun.enterprise.tools.admingui.NO_NETWORK=true
After setting this JVM option, restart the domain.