list-javamail-resources
Lists the existing JavaMail session resources.
Description
The list-javamail-resources
subcommand lists the existing JavaMail session resources.
This subcommand is supported in remote mode only.
Options
- asadmin-options
-
Options for the
asadmin
utility. For information about these options, see theasadmin
help page. --help
-?
-
Displays the help text for the subcommand.
Operands
- target
-
This operand specifies the target for which the JavaMail session resources are to be listed. Valid values are:
server
-
Lists the resources for the default server instance. This is the default value.
domain
-
Lists the resources for the domain.
- cluster_name
-
Lists the resources for the specified cluster.
- instance_name
-
Lists the resources for a particular server instance.
Examples
Example 1 Listing JavaMail Resources
This example lists the JavaMail session resources for the server instance.
asadmin> list-javamail-resources
mail/MyMailSession
Command list-javamail-resources executed successfuly.