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
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.