<!--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;
]>
<?Pub UDT _bookmark _target>
<?Pub CX solbook(>
<refentry id="delete-connector-resource-1"><?Pub Tag atict:info tracking="off"
ref="2"><?Pub Tag atict:user user="hl34125" fullname=""><?Pub Tag atict:user
user="pmdavies" fullname=""><?Pub Tag atict:user user="ah95648" fullname="">
<!-- @(#)delete-connector-resource.1 1.10 07/07/13 SMI; -->
<refmeta><refentrytitle>delete-connector-resource</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-connector-resource</primary></indexterm>
<indexterm><primary>removes the connector resource with the specified JNDI
name</primary></indexterm>
<refname>delete-connector-resource</refname><refpurpose>removes the connector
resource with the specified JNDI name</refpurpose></refnamediv>
<refsynopsisdiv><title></title>
<synopsis><command>delete-connector-resource</command> &synopsis-common; [<option
role="double-dash">target</option> <replaceable>target</replaceable>]
 <replaceable>jndi_name</replaceable></synopsis>
</refsynopsisdiv>
<refsect1 role="description"><title></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 role="options"><title></title>
<variablelist termlength="medium">&options-common;
<varlistentry><term><option role="double-dash">target</option></term>
<listitem><para>&se-ee-only;</para>
<para>This option specifies the target from which you want to remove the connector
resource. Valid targets are: </para>
<itemizedlist>
<listitem><para><literal>server</literal>&hyphen; Specifies the default server
instance as the target.  <literal>server</literal> is the name of the default
server instance and is the default value.</para></listitem>
<listitem><para><replaceable>domain_name</replaceable> &hyphen; Specifies
a certain domain as the target.</para></listitem>
<listitem><para><replaceable>cluster_name</replaceable>&hyphen; Specifies
a certain cluster as the target.</para></listitem>
<listitem><para><replaceable>instance_name</replaceable>&hyphen; Specifies
a certain server instance as the target.</para></listitem>
</itemizedlist>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1 role="operands"><title></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 role="examples"><title></title>
<example><title>Using the delete-connector-resource command</title>
<para>This example shows the usage of this command in a domain whose profile
is the &developer-profile-name; profile.</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 a domain whose profile
is the &cluster-profile-name; profile.</para>
<screen>asadmin> <userinput>delete-connector-resource --target<?Pub Caret> 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 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-connector-resource-1">create-connector-resource(1)
</olink>, <olink targetdoc="asrefman" targetptr="list-connector-resources-1">list-connector-resources(1)
</olink></para>
</refsect1>
</refentry>
<?Pub *0000004516 0>
