Closest Matching Commands are now in GlassFish v3
By janeyoung on Sep 05, 2008
asadmin's closest matching commands is a popular feature in GlassFish v2 but it wasn't working in v3 for the remote commands. Since GlassFish v3 is based on modularization, commands are now modularized. If a module is installed, the commands for that module are available in asadmin. For example if you have JBI module installed, commands relating to JBI are available in asadmin. Yes, that means commands in asadmin are extensible and pluggable. It also means that it's harder for the users to know which commands are available to use.
There is a list-commands command that lists all the commands in asadmin but it's not easy to find the commands that you want if there are 50 or more commands. With the closest matching commands feature in GlassFish v3, it's easy to search for commands.
To search for "jdbc" commands:
Using regular expression to search for commands that start with "list":
asadmin will also catch typos:
This feature is available in GlassFish v3 promoted b23 build.