<!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="list-http-listeners-1">
<refmeta><refentrytitle>list-http-listeners</refentrytitle><manvolnum>1</manvolnum>&metainfo;
</refmeta>
<refnamediv><indexterm><primary sortas="list-http-listeners">list-http-listeners &mdash;
lists the existing HTTP listeners</primary></indexterm><indexterm><primary
sortas="gets the HTTP listeners">lists the existing HTTP listeners &mdash;
list-http-listeners</primary></indexterm><refname>list-http-listeners</refname>
<refpurpose>lists the existing HTTP listeners</refpurpose></refnamediv>
<refsynopsisdiv><title>&synp-tt;</title>
<cmdsynopsis><command>list-http-listeners</command>&synopsis-common;
<arg><replaceable>target</replaceable></arg>
</cmdsynopsis></refsynopsisdiv>
<refsect1><title>&desc-tt;</title>
<para>The <command>list-http-listeners</command> command lists the existing
HTTP listeners. This command is supported in remote mode only.</para>
</refsect1>
<refsect1><title>&opts-tt;</title>
<variablelist termlength="medium">&options-common;
</variablelist></refsect1>
<refsect1><title>&oper-tt;</title>
<variablelist termlength="medium">
<varlistentry><term><replaceable>target</replaceable></term><listitem><para>&se-ee-only;This
operand specifies the target for which the HTTP listeners are to be listed.
Valid values are:<itemizedlist>
<listitem><para><literal>server</literal>, which lists the listeners for the
default server instance <literal>server</literal> and is the default value
</para>
</listitem>
<listitem><para><replaceable>configuration_name</replaceable>, which lists
the listeners for the specified configuration</para>
</listitem>
<listitem><para><replaceable>cluster_name</replaceable>, which lists the listeners
for the specified cluster</para>
</listitem>
<listitem><para><replaceable>instance_name</replaceable>, which lists the
listeners for a particular server instance</para>
</listitem>
</itemizedlist></para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&exam-tt;</title>
<example>
<title>Using the list-http-listeners command</title>
<para>The following command lists all the HTTP listeners for the server instance:
</para>
<screen>asadmin> <userinput>list-http-listeners --user admin1 
--passwordfile passwords.txt --host host1<?Pub Caret> --port 5001</userinput>
http-listener-1
http-listener-2
admin-listener
Command list-http-listeners 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="delete-http-listener-1"><citerefentry><refentrytitle>delete-http-listener
</refentrytitle><manvolnum>1</manvolnum></citerefentry></link></para>
</refsect1>
</refentry>
<?Pub *0000004138>
