Oracle GlassFish Server Reference Manual Release 3.1.2 Part Number E24938-01 |
|
|
View PDF |
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.
--help
-?
Displays the help text for the subcommand.
The target for which the JNDI resources are to be listed. Valid values are as follows:
server
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.
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