Use the list-jndi-entries subcommand in remote mode to browse and list the entries in the JNDI tree. You can either list all entries, or you can specify the JNDI context or subcontext to list specific entries.
Ensure that the server is running.
Remote subcommands require a running server.
List the JNDI entries for a configuration by using the list-jndi-entries(1) subcommand.
This example lists all the JNDI entries for the naming service.
asadmin> list-jndi-entries jndi_entry03 jndi_entry72 jndi_entry76 Command list-jndi-resources executed successfully
You can also view the full syntax and options of the subcommand by typing asadmin help list-jndi-entries at the command line.