<!--Arbortext, Inc., 1988-2007, v.4002-->
<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD SolBook 3.5//EN" [
<!ENTITY options-common SYSTEM "options-common.sgm">
<!ENTITY synopsis-common SYSTEM "synopsis-common.sgm">
<!ENTITY % commonents SYSTEM "common.ent">
%commonents;
]>
<!--Arbortext, Inc., 1988-2007, v.4002-->
<?Pub UDT _bookmark _target>
<?Pub EntList bull rArr sect>
<?Pub Inc>
<refentry id="delete-jdbc-connection-pool-1">
<!-- @(#)delete-jdbc-connection-pool.1 1.10 07/07/13 SMI; -->
<refmeta><refentrytitle>delete-jdbc-connection-pool</refentrytitle><manvolnum>1</manvolnum>
<refmiscinfo class="date">30 Jan 2007</refmiscinfo>
<refmiscinfo class="sectdesc">&man1;</refmiscinfo>
<refmiscinfo class="software">&software;</refmiscinfo>
<refmiscinfo class="arch">generic</refmiscinfo>
<refmiscinfo class="copyright">Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved</refmiscinfo>
</refmeta>
<refnamediv><indexterm><primary>delete-jdbc-connection-pool</primary></indexterm><indexterm><primary>removes the specified JDBC connection pool</primary></indexterm>
<refname>delete-jdbc-connection-pool</refname><refpurpose>removes the specified JDBC connection pool</refpurpose></refnamediv>
<refsynopsisdiv><title></title>
<synopsis><command>delete-jdbc-connection-pool</command> &synopsis-common; [<option role="double-dash">cascade</option>=false]
 <replaceable>connectionpoolid</replaceable></synopsis>
</refsynopsisdiv>
<refsect1 role="description"><title></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>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 role="options"><title></title>
<variablelist termlength="medium">&options-common;
<varlistentry><term><option role="double-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="double-dash">target</option></term>
<listitem><para>This option is deprecated.</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1 role="operands"><title></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 role="examples"><title></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 role="exit-status"><title></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 role="see-also"><title></title>
<para><olink targetdoc="asrefman" targetptr="create-jdbc-connection-pool-1">create-jdbc-connection-pool(1)</olink>,<olink targetdoc="asrefman" targetptr="list-jdbc-connection-pools-1">list-jdbc-connection-pools(1)</olink></para>
</refsect1>
</refentry>
<?Pub *0000004090 0>
