<!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-jms-resource-1">
<refmeta><refentrytitle>delete-jms-resource</refentrytitle><manvolnum>1</manvolnum>&metainfo;
</refmeta>
<refnamediv><indexterm><primary sortas="delete-jms-resource ">delete-jms-resource &mdash;
removes a JMS resource</primary></indexterm><indexterm><primary sortas="removes the JMS resource from the named instance">
removes a JMS resource &mdash; delete-jms-resource</primary></indexterm><refname>
delete-jms-resource</refname><refpurpose>removes a JMS resource</refpurpose>
</refnamediv>
<refsynopsisdiv><title>&synp-tt;</title>
<cmdsynopsis><command>delete-jms-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-jms-resource</command> command removes the specified
JMS resource. On Standard and Enterprise Editions, make sure to remove all
references to this resource before executing this command. 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;target</option></term>
<listitem><para>This option helps specify the target from which you are deleting
the JMS resource. Valid values are:<itemizedlist>
<listitem><para><literal>server</literal>, which deletes the resource from
the default server instance. This is the default value</para>
</listitem>
<listitem><para><literal>domain</literal>, which deletes the resource from
the domain</para>
</listitem>
<listitem><para><replaceable>cluster_name</replaceable>, which deletes the
resource from every server instance in the cluster</para>
</listitem>
<listitem><para><replaceable>instance_name</replaceable>, which deletes the
resource from 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 the JMS resource to be deleted.</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&exam-tt;</title>
<example>
<title>Using the delete-jms-resource command</title>
<para>The following command deletes the JMS resource named <filename>jms/Queue
</filename>:</para>
<screen>asadmin> <userinput>delete-jms-resource --user admin1 
--passwordfile passwords.txt --host pigeon --port 5001 jms/Queue</userinput>
Command delete-jms-resource executed successfully.</screen>
</example>
</refsect1>
<refsect1><title>&exit-tt;</title>
<variablelist termlength="medium"><?Pub Caret>
<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-jms-resource-1"><citerefentry><refentrytitle>
create-jms-resource</refentrytitle><manvolnum>1</manvolnum></citerefentry></link>, <link
linkend="list-jms-resources-1"><citerefentry><refentrytitle>list-jms-resources
</refentrytitle><manvolnum>1</manvolnum></citerefentry></link></para>
</refsect1>
</refentry>
<?Pub *0000004066>
