Sun GlassFish Enterprise Server 2.1 High Availability Administration Guide

Java Enterprise System on Windows

To start the management agent as a Windows service, use this command: HADB_install_dir\bin\ma -i [config-file ]

The optional argument config-file specifies the management agent configuration file. Use a configuration file only if you want to change the default management agent configuration. For more information, see Customizing Management Agent Configuration

To stop the management agent and remove (deregister) it as a service, use the command: HADB_install_dir\bin\ma -r [config-file ]

To perform administration, choose Administrative Tools | Services, which enables you to start and stop the service, disable automatic startup, and so on.