
Version Commands
The version commands return the version string, display a list of all the asadmin commands,
and allow you to install the license le.
TABLE C–5 Version Commands
Command Denition
version 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.
help Displays a list of all the asadmin utility commands. Specify the command to
display the usage information for that command
install-license Prevents unauthorized use of the Application Server. Allows you to install the
license le.
shutdown Gracefully brings down the administration server and all the running
instances. You must manually start the administration server to bring it up
again.
Message Queue Administration Commands
The Message Queue administration commands allow you to manage the JMS destinations.
TABLE C–6 Message Queue Commands
Command Denition
create-jmsdest Creates a JMS physical destination. Along with the physical destination, you
use the create-jms-resource command to create a JMS destination resource
that has a Name property that species the physical destination.
delete-jmsdest Removes the specied JMS destination.
flush-jmsdest Purges the messages from a physical destination in the specied target's JMS
Service conguration.
list-jmsdest Lists the JMS physical destinations.
jms-ping Checks if the JMS service (also known as the JMS provider) is up and running.
When you start the Application Server, the JMS service starts by default.
Additionally, it pings only the default JMS host within the JMS service. It
displays an error message when it is unable to ping a built-in JMS service.
Version Commands
Sun GlassFish Enterprise Server 2.1 Administration Guide • December 2008240
Kommentare zu diesen Handbüchern