Version Commands

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–5Version 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–6Message 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.

 

 

240

Sun GlassFish Enterprise Server 2.1 Administration Guide • December 2008

Page 240
Image 240
Sun Microsystems 820433510 manual Message Queue Administration Commands, Table C-5Version Commands