Hitachi

Hitachi Application Server V10 Command Reference Guide (For UNIX® Systems)


2.17.3 list-javamail-resources

Lists the existing JavaMail session resources.

Synopsis

asadmin [asadmin-options] list-javamail-resources [--help]
    [target]

Storage location

Application Server installation directory/javaee/glassfish/bin

Function

The list-javamail-resources subcommand lists the existing JavaMail session 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 the JavaMail session resources are to be listed.

Type: String

The following values can be specified:

  • 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.

Default value: server

Examples

This example lists the JavaMail session resources for the server instance.

asadmin list-javamail-resources

Exit Status

Exit Status

Explanation

0

subcommand executed successfully.

1

error in executing the subcommand.