Sun GlassFish Enterprise Server v3 Administration Guide

ProcedureTo List JavaMail Resources

Use the list-javamail-resources subcommand in remote mode to list the existing JavaMail session resources.

  1. Ensure that the server is running.

    Remote subcommands require a running server.

  2. List the JavaMail resources by using the list-javamail-resources(1) subcommand.

Example 18–2 Listing JavaMail Resources

This example lists the JavaMail resources on localhost.

asadmin> list-javamail-resources 
Command list-javamail-resources executed successfuly.

See Also

You can also view the full syntax and options of the subcommands by typing asadmin help list-javamail-resources at the command line.