<!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-connector-resource-1">
<refmeta><refentrytitle>delete-connector-resource</refentrytitle><manvolnum>
1</manvolnum>&metainfo;
</refmeta>
<refnamediv><indexterm><primary sortas="delete-connector-resource">delete-connector-resource &mdash;removes
the connector resource with the specified JNDI name</primary></indexterm>
<indexterm><primary sortas="removes the connector resource with the specified JNDI name"><?Pub Caret>
removes the connector resource with the specified JNDI name &mdash; delete-connector&mdash;resource
</primary></indexterm><refname>delete-connector-resource</refname><refpurpose>
removes the connector resource with the specified JNDI name</refpurpose></refnamediv>
<refsynopsisdiv><title>&synp-tt;</title>
<cmdsynopsis><command>delete-connector-resource</command>&synopsis-common;
<arg choice="opt">&Dash;&Dash;target <replaceable>target</replaceable></arg>
<arg choice="plain"><replaceable>jndi_name</replaceable></arg>
</cmdsynopsis></refsynopsisdiv>
<refsect1><title>&desc-tt;</title>
<para>The <command>delete-connector-resource</command> command removes the
connector resource with the JNDI name, which is specified by the <replaceable>
jndi_name</replaceable> operand.</para>
</refsect1>
<refsect1><title>&opts-tt;</title>
<variablelist termlength="medium">&options-common;
<varlistentry><term><option role="nodash">&Dash;&Dash;target</option></term>
<listitem><para>This option specifies the target from which you want to remove
the connector resource. Valid targets are: <itemizedlist>
<listitem><para><literal>server</literal>, which deletes the connector resource
from the default server instance. This is the default value.</para>
</listitem>
<listitem><para><literal>domain</literal>, which deletes the connector resource
from the domain.</para>
</listitem>
<listitem><para><replaceable>cluster_name</replaceable>, which deletes the
connector resource from every server instance in the cluster.</para>
</listitem>
<listitem><para><replaceable>instance_name</replaceable>, which deletes the
connector resource from a specified server instance.</para>
</listitem>
</itemizedlist></para>
<para>&se-ee-only;</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&oper-tt;</title>
<variablelist termlength="medium">
<varlistentry><term><replaceable>jndi_name</replaceable></term><listitem>
<para>the JNDI name of this connector resource.</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&exam-tt;</title>
<example>
<title>Using the delete-connector-resource command</title>
<para>This example shows the usage of this command in the Platform Edition.
</para>
<screen>asadmin> <userinput>delete-connector-resource --user admin
 --passwordfile passwords.txt jms/qConnFactory</userinput>
Command delete-connector-resource executed successfully</screen>
<para>Where jms/qConnFactory is the connector resource that is removed.</para>
</example>
<example>
<title>Using the delete-connector-resource command</title>
<para>This example shows the usage of this command in the Enterprise Edition.
</para>
<screen>asadmin> <userinput>delete-connector-resource --target server
--user admin --passwordfile passwords.txt jms/qConnFactory</userinput>
Command delete-connector-resource executed successfully</screen>
<para>Where jms/qConnFactory is the connector resource that is 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-connector-resource-1"><citerefentry><refentrytitle>
create-connector-resource</refentrytitle><manvolnum>1</manvolnum></citerefentry></link>, <link
linkend="list-connector-resources-1"><citerefentry><refentrytitle>list-connector-resources
</refentrytitle><manvolnum>1</manvolnum></citerefentry></link></para>
</refsect1>
</refentry>
<?Pub *0000004754>
