Command names are case-sensitive.
Commands that are supplied in Enterprise Server distributions typically create, delete, and list objects of a particular type. For consistency with the names of commands that are supplied in Enterprise Server distributions, follow these conventions when specifying the name of a command:
For commands that create an object of a particular type, use the name create-object.
For commands that delete an object of a particular type, use the name delete-object.
For commands that list all objects of a particular type, use the name list-objects.
For example, Enterprise Server provides the following commands for creating, deleting, and listing HTTP listeners:
You must also ensure that the name of your command is unique. To obtain a complete list of the names of all asadmin commands that are installed, use the list-commands(1) command. For a complete list of asadmin commands that are supplied in Enterprise Server distributions, see Sun GlassFish Enterprise Server v3 Prelude Reference Manual.