Sun GlassFish Enterprise Server v3 Administration Guide

ProcedureTo List External JNDI Resources

Use the list-jndi-resources subcommand in remote mode to list all existing JNDI resources.

  1. Ensure that the server is running.

    Remote subcommands require a running server.

  2. List the existing JNDI resources by using thelist-jndi-resources(1) subcommand.


Example 20–6 Listing JNDI Resources

This example lists the JNDI resources.


asadmin> list-jndi-resources
jndi_resource1
jndi_resource2
jndi_resource3
Command list-jndi-resources executed successfully

See Also

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