Skip Headers
Oracle GlassFish Server Reference Manual
Release 3.1.2

Part Number E24938-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

list-javamail-resources

lists the existing JavaMail session resources

Synopsis

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

Description

The list-javamail-resources subcommand lists the existing JavaMail session resources.

This subcommand is supported in remote mode only.

Options

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

Exit Status

0

subcommand executed successfully

1

error in executing the subcommand

See Also

create-javamail-resource(1), delete-javamail-resource(1)

asadmin(1M)