Sun GlassFish Enterprise Server 2.1 Administration Guide

Version Commands

The version commands return the version string, display a list of all the asadmin commands, and allow you to install the license file.

Table C–5 Version Commands




Displays the version information. If the command cannot communicate with the administration server with the given user/password and host/port, then the command will retrieve the version locally and display a warning message. 


Displays a list of all the asadmin utility commands. Specify the command to display the usage information for that command


Prevents unauthorized use of the Application Server. Allows you to install the license file. 


Gracefully brings down the administration server and all the running instances. You must manually start the administration server to bring it up again.