Sun GlassFish Enterprise Server v3 Administration Guide

ProcedureTo List Custom JNDI Resources

Use the list-custom-resources subcommand in remote mode to list the existing custom resources.

  1. Ensure that the server is running.

    Remote subcommands require a running server.

  2. List the custom resources by using the list-custom-resources(1) subcommand.


Example 20–2 Listing Custom Resources

This example lists the existing custom resources.


asadmin> list-custom-resources
sample_custom_resource01 
sample_custom_resource02 
Command list-custom-resources executed successfully

See Also

You can also view the full syntax and options of the subcommand by typing asadmin help list-custom-resources at the command line.