Use the list-jndi-resources subcommand in remote mode to list all existing JNDI resources.
Ensure that the server is running.
Remote subcommands require a running server.
List the existing JNDI resources by using thelist-jndi-resources(1) subcommand.
This example lists the JNDI resources.
asadmin> list-jndi-resources jndi_resource1 jndi_resource2 jndi_resource3 Command list-jndi-resources executed successfully |
You can also view the full syntax and options of the subcommand by typing asadmin help list-jndi-resources at the command line.