<!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 ERROR-CODES "ERROR CODES">
<!ENTITY Date "22 Dec 2004">
<!ENTITY SectDesc "User Commands">
<!ENTITY Software "J2EE SDK 1.4">
<!ENTITY arch "generic">
<!ENTITY copyright "Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved">
<!ENTITY exam-tt "EXAMPLES">
<!ENTITY options-common SYSTEM "options-common.sgm">
<!ENTITY synopsis-common SYSTEM "synopsis-common.sgm">
<!ENTITY sjsas "Sun Java System Application Server">
<!ENTITY attr-tt "ATTRIBUTES">
<!ENTITY opts-tt "OPTIONS">
<!ENTITY % commonents SYSTEM "smancommon.ent">
%commonents;
<!ENTITY % booktitles SYSTEM "booktitles.ent">
%booktitles;
<!ENTITY Dash "&ndash;">
]>
<?Pub UDT _bookmark _target>
<?Pub Inc>
<refentry id="delete-admin-object-1">
<refmeta><refentrytitle>delete-admin-object-1</refentrytitle><manvolnum>1
</manvolnum>&metainfo;
</refmeta>
<refnamediv><indexterm><primary sortas="delete&mdash;admin&mdash;object">
delete-admin-object &mdash; removes the administered object with the specified
JNDI name</primary></indexterm><indexterm><primary sortas="removes the administered object with the specified JNDI name">
removes the administered object with the specified JNDI name &mdash; delete-admin-object
</primary></indexterm><refname>delete-admin-object</refname><refpurpose>removes
the administered object with the specified JNDI name.</refpurpose></refnamediv>
<refsynopsisdiv><title>&synp-tt;</title>
<cmdsynopsis><command><command>delete-admin-object</command></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>This command removes the administered object with the specified JNDI
name. </para>
</refsect1>
<refsect1><title>OPTIONS</title>
<variablelist termlength="medium">&options-common;
<varlistentry><term>&Dash;&Dash;<replaceable>target</replaceable></term><listitem>
<para>This is the name of the targets for which the administered object is
to be deleted. The valid targets for this command are instance, cluster, domain,
and server. Server is the default option.<?Pub Caret> Valid values are:<itemizedlist>
<listitem><para><literal>server</literal>, which deletes the administered
object for the default server instance <literal>server</literal> and is the
default value</para>
</listitem>
<listitem><para><replaceable>configuration_name</replaceable>, which deletes
the administered object for the specified configuration</para>
</listitem>
<listitem><para><replaceable>cluster_name</replaceable>, which deletes the
administered object for the specified cluster</para>
</listitem>
<listitem><para><replaceable>instance_name</replaceable>, which deletes the
administered object for a particular server instance</para>
</listitem>
</itemizedlist></para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>OPERANDS</title>
<variablelist termlength="medium">
<varlistentry><term><replaceable>jndi_name</replaceable></term><listitem>
<para>JNDI name of the administered object to be deleted.</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&exam-tt;</title>
<example>
<title>Using the delete-admin-object command</title>
<screen>asadmin> <userinput>delete-admin-object --user admin --passwordfile passwods.txt jms/samplequeue
</userinput>
Command delete-admin-object executed successfully</screen>
</example>
</refsect1>
<refsect1><title>EXIT STATUS</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-admin-object-1"><citerefentry><refentrytitle>
create-admin-object</refentrytitle><manvolnum>1</manvolnum></citerefentry></link>, <link
linkend="list-admin-objects-1"><citerefentry><refentrytitle>list-admin-objects
</refentrytitle><manvolnum>1</manvolnum></citerefentry></link></para>
</refsect1>
</refentry>
<?Pub *0000004346>
