|Oracle GlassFish Server Reference Manual
Part Number E24938-01
gets all custom resources
list-custom-resources [--help] [target]
list-custom-resources subcommand lists the custom resources.
This subcommand is supported in remote mode only.
Displays the help text for the subcommand.
This operand specifies the location of the custom resources. Valid targets are:
Lists the resources on the default server instance. This is the default value
Lists the resources in the domain.
Lists the resources for every server instance in the cluster.
Lists the resources for a particular server instance.
This example lists the current custom resources.
asadmin> list-custom-resources sample_custom_resource01 sample_custom_resource02 Command list-custom-resources executed successfully.
The following example displays the usage of this command.
asadmin> list-custom-resources --user admin --passwordfile passwords.txt --host plum --port 4848 target6 sample_custom_resource03 sample_custom_resource04 Command list-custom-resources executed successfully.
subcommand executed successfully
error in executing the subcommand