<!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-http-listener-1">
<refmeta><refentrytitle>delete-http-listener</refentrytitle><manvolnum>1</manvolnum>&metainfo;
</refmeta>
<refnamediv><indexterm><primary sortas="delete-http-listener">delete-http-listener &mdash;
removes an HTTP listener</primary></indexterm><indexterm><primary sortas="removes the HTTP listener">
removes an HTTP listener &mdash; delete-http-listener</primary></indexterm>
<refname>delete-http-listener</refname><refpurpose>removes an HTTP listener
</refpurpose></refnamediv>
<refsynopsisdiv><title>&synp-tt;</title>
<cmdsynopsis><command>delete-http-listener</command>&synopsis-common;
<arg>&Dash;&Dash;target <replaceable>server</replaceable></arg><arg choice="plain"><replaceable>
listener_id</replaceable></arg>
</cmdsynopsis></refsynopsisdiv>
<refsect1><title>&desc-tt;</title>
<para>The <command>delete-http-listener</command> command removes the specified
HTTP listener. 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>&se-ee-only; Specifies the target from which you are deleting
the HTTP listener. Valid values are<itemizedlist>
<listitem><para><literal>server</literal>, which deletes the listener from
the default server instance <literal>server</literal> and is the default value
</para>
</listitem>
<listitem><para><replaceable>configuration_name</replaceable>, which deletes
the listener from the named configuration</para>
</listitem>
<listitem><para><replaceable>cluster_name</replaceable>, which deletes the
listener from every server instance in the cluster</para>
</listitem>
<listitem><para><replaceable>instance_name</replaceable>, which deletes the
listener from a particular server instance</para>
</listitem>
</itemizedlist></para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&oper-tt;</title>
<variablelist termlength="medium">
<varlistentry><term><replaceable>listener_id</replaceable></term><listitem>
<para>The unique identifier for the HTTP listener to be deleted.</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&exam-tt;</title>
<example>
<title>Using the delete-http-listener command</title>
<para>The following command deletes the HTTP listener named <literal>sampleListener
</literal>:</para>
<screen>asadmin> <userinput>delete-http-listener --user admin1 
--passwordfile passwords.txt --host host1<?Pub Caret> --port 5001 sampleListener
</userinput>
Command delete-http-listener 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-http-listener-1"><citerefentry><refentrytitle>
create-http-listener</refentrytitle><manvolnum>1</manvolnum></citerefentry></link>, <link
linkend="list-http-listeners-1"><citerefentry><refentrytitle>list-http-listeners
</refentrytitle><manvolnum>1</manvolnum></citerefentry></link></para>
</refsect1>
</refentry>
<?Pub *0000004216>
