<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
<!--ArborText, Inc., 1988-1999, v.4002-->
<!ENTITY metainfo SYSTEM "metainfo.sgm">
<!ENTITY options-common SYSTEM "options-common.sgm">
<!ENTITY synopsis-common SYSTEM "synopsis-common.sgm">
<!ENTITY % commonents SYSTEM "smancommon.ent">
%commonents;
<!ENTITY % booktitles SYSTEM "booktitles.ent">
%booktitles;
<!ENTITY Dash "&ndash;">
]>
<?Pub UDT _bookmark _target>
<?Pub Inc>
<refentry id="list-javamail-resources-1">
<refmeta><refentrytitle>list-javamail-resources</refentrytitle><manvolnum>
1</manvolnum>&metainfo;
</refmeta>
<refnamediv><indexterm><primary sortas="list-javamail-resources ">list-javamail-resources &mdash;
lists the existing JavaMail session resources</primary></indexterm><indexterm>
<primary sortas="gets all the Javamail resources from the named instance">
lists the existing JavaMail session resources &mdash; list-javamail-resources
</primary></indexterm><refname>list-javamail-resources</refname><refpurpose>
lists the existing JavaMail session resources</refpurpose></refnamediv>
<refsynopsisdiv><title>&synp-tt;</title>
<cmdsynopsis><command>list-javamail-resources</command>&synopsis-common;
<arg><replaceable>target</replaceable></arg>
</cmdsynopsis></refsynopsisdiv>
<refsect1><title>&desc-tt;</title>
<para>The command lists the existing JavaMail session resources. This command
is supported in remote mode only.</para>
</refsect1>
<refsect1><title>&opts-tt;</title>
<variablelist termlength="medium">&options-common;
</variablelist></refsect1>
<refsect1><title>&oper-tt;</title>
<variablelist termlength="medium">
<varlistentry><term><replaceable>target</replaceable></term><listitem><para>
This operand specifies the target for which the JavaMail session resources
are to be listed. Valid values are:<itemizedlist>
<listitem><para><literal>server</literal>, which lists the resources for the
default server instance. This is the default value.</para>
</listitem>
<listitem><para><literal>domain</literal>, which lists the resources for the
domain</para>
</listitem>
<listitem><para><replaceable>cluster_name</replaceable>, which lists the resources
for the specified cluster</para>
</listitem>
<listitem><para><replaceable>instance_name</replaceable>, which lists the
resources for a particular server instance</para>
</listitem>
</itemizedlist>&se-ee-only;</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&exam-tt;</title>
<example>
<title>Using the list-javamail-resources command</title>
<para>The following command lists the JavaMail session resources for the server
instance:</para>
<screen>asadmin> <userinput>list-javamail-resources --user admin1 
--passwordfile passwords.txt --host pigeon --port 5001</userinput>
mail/MyMailSession
Command list-javamail-resources executed successfuly.</screen>
</example>
</refsect1>
<refsect1><title>&exit-tt;</title>
<variablelist termlength="medium"><?Pub Caret>
<varlistentry><term>0</term><listitem><para>command executed successfully
</para>
</listitem></varlistentry>
<varlistentry><term>1</term><listitem><para>error in executing the command
</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&also-tt;</title>
<para><link linkend="create-javamail-resource-1"><citerefentry><refentrytitle>
create-javamail-resource</refentrytitle><manvolnum>1</manvolnum></citerefentry></link>, <link
linkend="delete-javamail-resource-1"><citerefentry><refentrytitle>delete-javamail-resource
</refentrytitle><manvolnum>1</manvolnum></citerefentry></link></para>
</refsect1>
</refentry>
<?Pub *0000003632>
