<!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 Inc>
<refentry id="delete-custom-resource-1">
<refmeta><refentrytitle>delete-custom-resource</refentrytitle><manvolnum>
1</manvolnum>&metainfo;
</refmeta>
<refnamediv><indexterm><primary sortas="delete-custom-resource">delete-custom-resource&mdash;removes
a custom resource</primary></indexterm><indexterm><primary sortas="removes a custom resource">
r<?Pub Caret1>emoves a custom resource &mdash; delete-custom-resource</primary>
</indexterm><refname>delete-custom-resource</refname><refpurpose>removes a
custom resource</refpurpose></refnamediv>
<refsynopsisdiv><title>&synp-tt;</title>
<cmdsynopsis><command>delete-custom-resource</command>&synopsis-common;
<arg>&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-custom-resource</command> command removes a custom
resource. This command is supported in remote mode only.</para>
</refsect1>
<refsect1><title>&opts-tt;</title>
<variablelist termlength="medium">&options-common;
<varlistentry><term>&Dash;&Dash;target</term><listitem><para>This option helps
specify the location of the custom resources that you are deleting. Valid
targets are server, domain, cluster, and instance. The default is server.<itemizedlist>
<listitem><para><literal>server</literal>, which deletes the resource for
the default server instance. This is the default value</para>
</listitem>
<listitem><para><literal>domain</literal>, which deletes the resource for
the domain</para>
</listitem>
<listitem><para><replaceable>cluster_name</replaceable>, which deletes the
resource for every server instance in the cluster</para>
</listitem>
<listitem><para><replaceable>instance_name</replaceable>, which deletes the
resource for a particular 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 resource.</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&exam-tt;</title>
<example>
<title>Using the delete-custom-resource command</title>
<screen>asadmin> <userinput>delete-custom-resource --user admin --passwordfile passwords.txt sample_custom_resource
</userinput>
Command delete-custom-resource 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-custom-resource-1"><citerefentry><refentrytitle>
create-custom-resource</refentrytitle><manvolnum>1</manvolnum></citerefentry></link>, <link
linkend="list-custom-resources-1"><citerefentry><refentrytitle>list-custom-resources
</refentrytitle><manvolnum>1</manvolnum></citerefentry></link></para>
</refsect1>
</refentry>
<?Pub *0000003720>
