2.8.7 list-application-refs
Lists the existing application references.
Synopsis
asadmin [asadmin-options] list-application-refs [--help] [--long={false|true}] [target]
Storage location
Application Server installation directory/javaee/glassfish/bin
Function
The list-application-refs subcommand lists all the application references in a cluster or an unclustered server instance. This effectively lists all the modules deployed on the specified target. If multiple versions of a module or application are deployed, this subcommand lists all the versions. This subcommand is supported in remote mode only.
The target instance or instances making up the cluster need not be running or available for this subcommand to succeed.
Precondition
Domain Administration Server (DAS) is running.
Arguments
- --help | -?
-
Displays the help text for the subcommand.
- --long={false|true}
-
Displays whether each module or application listed is enabled, if this value is set to true.
Type: Boolean
The following values can be specified:
-
true
-
false
Default value: false
-
- target
-
Specifies the target for which you are listing the application references.
Type: String
The following values can be specified:
-
server
Specifies the default server instance as the target. Server is the name of the default server instance. This is the default value.
-
cluster_name
Specifies a certain cluster as the target.
-
instance_name
Specifies a certain server instance as the target.
Default value: server
-
Examples
The following example lists the application references for the unclustered server instance NewServer.
asadmin list-application-refs NewServer
Exit Status
Exit Status |
Explanation |
---|---|
0 |
subcommand executed successfully. |
1 |
error in executing the subcommand. |