Sun GlassFish Enterprise Manager Monitoring Scripting Client 3.0 Installation and Quick Start Guide

ProcedureTo Install Monitoring Scripting Client From the SunSolve Program Site

Before You Begin

Ensure that the following prerequisites are met:

  1. 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.

  2. 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

  3. 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.

  4. 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.

  5. 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.

  6. 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
    
  7. Deploy the application in the monitoring-scripting-client.war file.


    asadmin deploy 142773-01/lib/monitoring-scripting-client.war