<!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-jdbc-resources-1">
<refmeta><refentrytitle>list-jdbc-resources</refentrytitle><manvolnum>1</manvolnum>&metainfo;
</refmeta>
<refnamediv><indexterm><primary sortas="list-jdbc-resources">list-jdbc-resources &mdash;
gets all JDBC resources</primary></indexterm><indexterm><primary sortas="gets all JDBC resources">
gets all JDBC resources &mdash; list-jdbc-resources</primary></indexterm>
<refname>list-jdbc-resources</refname><refpurpose>gets all JDBC resources
</refpurpose></refnamediv>
<refsynopsisdiv><title>&synp-tt;</title>
<cmdsynopsis><command>list-jdbc-resources</command>&synopsis-common;
<arg choice="opt"><replaceable>target</replaceable></arg>
</cmdsynopsis></refsynopsisdiv>
<refsect1><title>&desc-tt;</title>
<para>The <command>list-jdbc-resources</command> command displays a list of
JDBC resources that have been created. 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 which JDBC resources you can list. Usage of this operand
is optional. Valid values are:<itemizedlist>
<listitem><para><literal>server</literal>, which lists the JDBC resources
in the current server and is the default.</para>
</listitem>
<listitem><para><literal>domain</literal>, which lists the JDBC resources
in the current domain.</para>
</listitem>
<listitem><para><replaceable>cluster_name</replaceable>, which lists the JDBC
resources in a cluster.</para>
</listitem>
<listitem><para><replaceable>instance_name</replaceable>, which lists the
JDBC resources for a particular instance.</para>
</listitem>
</itemizedlist></para>
<para>&se-ee-only;</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&exam-tt;</title>
<example>
<title>Using the list-jdbc-resources command</title>
<screen>asadmin> <userinput>list-jdbc-resources --user admin --passwordfile passwords.txt jdbc/DerbyPool
</userinput>
Command list-jdbc-resources<?Pub Caret> 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-jdbc-resource-1"><citerefentry><refentrytitle>
create-jdbc-resource</refentrytitle><manvolnum>1</manvolnum></citerefentry></link>, <link
linkend="delete-jdbc-resource-1"><citerefentry><refentrytitle>delete-jdbc-resource
</refentrytitle><manvolnum>1</manvolnum></citerefentry></link></para>
</refsect1>
</refentry>
<?Pub *0000003562>
