2.18.5 list-custom-resources
Gets all the custom resources.
Synopsis
asadmin [asadmin-options] list-custom-resources [--help] [target]
Storage location
Application Server installation directory/javaee/glassfish/bin
Function
The list-custom-resources subcommand lists the custom resources. This subcommand is supported in remote mode only.
Precondition
Domain Administration Server (DAS) is running.
Arguments
- --help | -?
-
Displays the help text for the subcommand.
- target
-
Specifies the location of the custom resources.
Type: String
The following values can be specified:
-
server
Lists the resources on the default server instance. This is the default value.
-
domain
Lists the resources in the domain.
-
cluster_name
Lists the resources for every server instance in the cluster.
-
instance_name
Lists the resources for a particular server instance.
Default value: server
-
Examples
This example lists the current custom resources.
asadmin list-custom-resources
Exit Status
Exit Status |
Explanation |
---|---|
0 |
subcommand executed successfully. |
1 |
error in executing the subcommand. |