|Oracle GlassFish Server Reference Manual
Part Number E24938-01
lists existing resource references
list-resource-refs [--help] [target]
list-resource-refs subcommand lists all resource references in a cluster or an unclustered server instance. This effectively lists all the resources (for example, JDBC resources) available in the JNDI tree of the specified target.
The target instance or instances in the cluster need not be running or available for this subcommand to succeed.
This subcommand is supported in remote mode only.
Displays the help text for the subcommand.
The target for which you are listing the resource references. Valid targets are as follows:
Lists the resource references for the default server instance and is the default target.
Lists the resource references for every server instance in the cluster.
Lists the resource references for the named unclustered server instance.
This example lists resource references for the cluster
asadmin> list-resource-refs cluster1 jms/Topic Command list-resource-refs executed successfully.
subcommand executed successfully
error in executing the subcommand