![background image](http://html1.mh-extra.com/html/sun-microsystems/sun-glassfish-enterprise-server-2-1/sun-glassfish-enterprise-server-2-1_administration-manual_1392934240.webp)
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
Command
Definition
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 file.
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
Definition
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 specifies the physical destination.
delete-jmsdest
Removes the specified JMS destination.
flush-jmsdest
Purges the messages from a physical destination in the specified target's JMS
Service configuration.
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 2008
240
Summary of Contents for Sun GlassFish Enterprise Server 2.1
Page 12: ...12 ...
Page 13: ...Figures FIGURE 1 1 Enterprise Server Instance 29 FIGURE 9 1 RoleMapping 105 13 ...
Page 14: ...14 ...
Page 18: ...18 ...
Page 38: ...38 ...
Page 62: ...62 ...
Page 96: ...96 ...
Page 126: ...126 ...
Page 160: ...160 ...
Page 214: ...214 ...
Page 218: ...218 ...
Page 230: ...230 ...