2.24.9 list-context-services
Lists the context service resources.
Synopsis
asadmin [asadmin-options] list-context-services [--help] [target]
Storage location
Application Server installation directory/javaee/glassfish/bin
Function
The list-context-services subcommand lists context service 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 target for which context service resources are to be listed.
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 for the domain.
-
cluster-name
Lists the resources on all server instances in the specified cluster.
-
instance-name
Lists the resources on a specified server instance.
Default value: server
-
Examples
This example lists context service resources on the default server instance.
asadmin list-context-services
Exit Status
Exit Status |
Explanation |
---|---|
0 |
subcommand executed successfully. |
1 |
error in executing the subcommand. |