Ensure that you have the user name and password for your Sun GlassFish Enterprise Server subscription.
Go to the SunSolve program site.
Log in to the SunSolve program site with the user name and password for your Sun GlassFish Enterprise Server subscription.
Search by patch identifier (ID) for patch 142773-01.
A page that contains your search results is opened.
In the page that contains your search results, follow the link to download the ZIP file that contains the patch.
A file that is named 142773-01.zip is downloaded to your machine.
Ensure that the following prerequisites are met:
Patch 142773-01 is downloaded from the SunSolve program site.
Sun GlassFish Enterprise Server v3 is installed on your machine.
Change to the directory to which you downloaded the patch ZIP file.
cd download-dir |
download-dir is the directory where you downloaded the ZIP file.
Unzip the patch ZIP file.
unzip 142773-01.zip |
When you unzip the file, a directory that is named 142773-01 is created within the current directory. This new directory contains a subdirectory that is named lib, which contains the following files:
monitoring-scripting-client-cli.jar
monitoring-scripting-client.jar
monitoring-scripting-client.war
Copy the monitoring-scripting-client.jar file to the Enterprise Server modules directory.
cp 142773-01/lib/monitoring-scripting-client.jar as-install/modules |
as-install is the directory in which Enterprise Server is installed.
Copy the monitoring-scripting-client-cli.jar file to the Enterprise Server lib/asadmin directory.
cp 142773-01/lib/monitoring-scripting-client-cli.jar as-install/lib/asadmin |
as-install is the directory in which Enterprise Server is installed.
Start or restart an administrative domain.
If no administrative domain is running, start a domain.
asadmin start-domain domain |
If an administrative domain is running, restart the domain.
asadmin restart-domain domain |
domain is the name of the administrative domain to start or restart.
Enable Comet support for an HTTP listener of Enterprise Server.
asadmin set configs.config.server-config.network-config. protocols.protocol.listener-name.http.comet-support-enabled=true |
listener-name is the name of the HTTP listener for which to enable Comet support.
For example, to enable Comet support for the HTTP listener http-listener-1, type:
asadmin set configs.config.server-config.network-config. protocols.protocol.http-listener-1.http.comet-support-enabled=true |
Deploy the application in the monitoring-scripting-client.war file.
asadmin deploy 142773-01/lib/monitoring-scripting-client.war |