<!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="delete-jdbc-connection-pool-1">
<refmeta><refentrytitle>delete-jdbc-connection-pool</refentrytitle><manvolnum>
1</manvolnum>&metainfo;
</refmeta>
<refnamediv><indexterm><primary sortas="delete-jdbc-connection-pool">delete-jdbc-connection-pool &mdash;
removes the specified JDBC connection pool</primary></indexterm><indexterm>
<primary sortas="removes the specified JDBC connection pool"><?Pub Caret>
removes the specified JDBC connection pool &mdash;delete-jdbc-connection-pool
</primary></indexterm><refname>delete-jdbc-connection-pool</refname><refpurpose>
removes the specified JDBC connection pool</refpurpose></refnamediv>
<refsynopsisdiv><title>&synp-tt;</title>
<cmdsynopsis><command>delete-jdbc-connection-pool</command>&synopsis-common;
<arg choice="opt">&Dash;&Dash;cascade=false</arg><arg choice="plain"><replaceable>
connectionpoolid</replaceable></arg>
</cmdsynopsis></refsynopsisdiv>
<refsect1><title>&desc-tt;</title>
<para>The <command>delete-jdbc-connection-pool</command> command deletes a
JDBC connection pool. The operand identifies the JDBC connection pool to be
deleted. </para>
<para>On Enterprise Edition, ensure that all associations to this resource
are removed before executing the <command>delete-jdbc-connection-pool</command>
command.</para>
<para>This command is supported in remote mode only. </para>
</refsect1>
<refsect1><title>&opts-tt;</title>
<variablelist termlength="medium">&options-common;
<varlistentry><term><option role="nodash">&Dash;&Dash;cascade</option></term>
<listitem><para>If the option is set to true, all the JDBC resources associated
with the pool, apart from the pool itself, are deleted. When set to false,
the deletion of pool fails if any resources are associated with the pool.
Resources must be deleted explicitly or the option must be set to true. By
default, the option is false.</para>
</listitem></varlistentry>
<varlistentry><term><option role="nodash">&Dash;&Dash;target</option></term>
<listitem><para>This option is deprecated.</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&oper-tt;</title>
<variablelist termlength="medium">
<varlistentry><term><replaceable>connectionpoolid</replaceable></term><listitem>
<para>The name of the JDBC resource to be removed.</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&exam-tt;</title>
<example>
<title>Using the delete-jdbc-connection-pool command</title>
<screen>asadmin <userinput>delete-jdbc-connection-pool --user admin --passwordfile passwords.txt --host localhost --port 7070 --cascade=false sample_derby_pool
</userinput>

Command delete-jdbc-connection-pool executed correctly.</screen>
<para>Where: asadmin is the command prompt and sample_derby_pool is the JDBC
connection pool to be removed.</para>
</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-connection-pool-1"><citerefentry><refentrytitle>
create-jdbc-connection-pool</refentrytitle><manvolnum>1</manvolnum></citerefentry></link>,<link
linkend="list-jdbc-connection-pools-1"><citerefentry><refentrytitle>list-jdbc-connection-pools
</refentrytitle><manvolnum>1</manvolnum></citerefentry></link></para>
</refsect1>
</refentry>
<?Pub *0000004178>
