<!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 EntList brvbar bull cross dash diam diams frac12 frac13 frac14 hellip
 laquo lArr loz mdash nabla ndash para pound rArr raquo sect yen ne>
<?Pub Inc>
<refentry id="list-persistence-resources-1">
<refmeta><refentrytitle>list-persistence-resources</refentrytitle><manvolnum>
1</manvolnum>&metainfo;
</refmeta>
<refnamediv><indexterm><primary sortas="list-persistence-resources">list&mdash;persistence&mdash;resources &mdash;
lists all the persistence resources</primary></indexterm><indexterm><primary
sortas="lists all the persistence resources">lists all the persistence resources&mdash;
list-persistence-resources<?Pub Caret></primary></indexterm><refname>list-persistence-resources
</refname><refpurpose>gets all the persistence resources</refpurpose></refnamediv>
<refsynopsisdiv><title>&synp-tt;</title>
<cmdsynopsis><command>list-persistence-resources</command>&synopsis-common;
<arg choice="plain"><replaceable>[target]</replaceable></arg>
</cmdsynopsis></refsynopsisdiv>
<refsect1><title>&desc-tt;</title>
<para>The <command>list-persistence-resources</command> command displays all
the persistence 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>
Specifies the target for which you are listing all persistence resources.
Usage of this operand is optional. Valid targets are: <itemizedlist>
<listitem><para><literal>server</literal>, which lists the persistence resources
deployed in the default server instance. This is the default target.</para>
</listitem>
<listitem><para><literal>domain</literal>, which lists the persistence resources
deployed in the domain.</para>
</listitem>
<listitem><para><replaceable>cluster_name</replaceable>, which lists the persistence
resources deployed in every server instance in the cluster.</para>
</listitem>
<listitem><para><replaceable>instance_name</replaceable>, which lists the
persistence resources deployed in a particular sever instance.</para>
</listitem>
</itemizedlist></para>
<para>&se-ee-only;</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&exam-tt;</title>
<example>
<title>Using list-persistence-resources</title>
<para>This example lists all the persistence resources. </para>
<screen>asadmin> <userinput>list-persistence-resources --user admin 
--passwordfile passwords.txt</userinput>
sample_persistence_resource
testPersistence
Command list-persistence-resources executed successfully</screen>
</example>
</refsect1>
<refsect1><title>&exit-tt;</title>
<variablelist termlength="medium">
<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-persistence-resource-1"><citerefentry><refentrytitle>
create-persistence-resource</refentrytitle><manvolnum>1</manvolnum></citerefentry></link>, <link
linkend="delete-persistence-resource-1"><citerefentry><refentrytitle>delete-persistence-resource
</refentrytitle><manvolnum>1</manvolnum></citerefentry></link></para>
</refsect1>
</refentry>
<?Pub *0000003915>
