- lists all existing JNDI resources
list-jndi-resources [--help] [target]
The list-jndi-resources subcommand identifies all existing JNDI resources.
This subcommand is supported in remote mode only.
Displays the help text for the subcommand.
The target for which the JNDI resources are to be listed. Valid values are as follows:
Lists the JNDI resources on the default server instance. This is the default value.
Lists the JNDI resources for the specified configuration.
Lists the JNDI resources on all server instances in the specified cluster.
Lists the JNDI resources on a specified server instance.
Example 1 Listing JNDI Resources
This example lists the JNDI resources on the default server instance.
asadmin> list-jndi-resources jndi_resource1 jndi_resource2 jndi_resource3 Command list-jndi-resources executed successfully
subcommand executed successfully
error in executing the subcommand