2.11.7 list-configs
Lists the named configurations in the configuration of the Domain Administration Server (DAS).
Synopsis
asadmin [asadmin-options] list-configs [--help] [target]
Storage location
Application Server installation directory/javaee/glassfish/bin
Function
The list-configs subcommand lists named configurations in the configuration of the Domain Administration Server (DAS). The list can be filtered by cluster, instance, or named configuration.
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
-
Filters the list of configurations.
Type: String
The following values can be specified:
-
domain
Lists all named configurations in the current domain.
-
configuration-name
Lists the specified named configuration. Use this option to determine whether a named configuration exits.
-
cluster-name
Lists the named configuration that defines the configuration of instances in the specified cluster.
-
instance-name
Lists the named configuration that defines the configuration of the specified instance.
Default value: domain
-
Examples
The following example lists all named configurations in the current domain.
asadmin list-configs
Exit Status
Exit Status |
Explanation |
---|---|
0 |
subcommand executed successfully. |
1 |
error in executing the subcommand. |