<!--Arbortext, Inc., 1988-2007, v.4002-->
<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD SolBook 3.5//EN" [
<!ENTITY options-common SYSTEM "options-common.sgm">
<!ENTITY synopsis-common SYSTEM "synopsis-common.sgm">
<!ENTITY % commonents SYSTEM "common.ent">
%commonents;
]>
<refentry id="stop-appserv-1">
<!-- @(#)stop-appserv.1 1.9 07/04/25 SMI; -->
<refmeta><refentrytitle>stop-appserv</refentrytitle><manvolnum>1</manvolnum>
<refmiscinfo class="date">30 Jan 2007</refmiscinfo>
<refmiscinfo class="sectdesc">&man1;</refmiscinfo>
<refmiscinfo class="software">&software;</refmiscinfo>
<refmiscinfo class="arch">generic</refmiscinfo>
<refmiscinfo class="copyright">Copyright (c) 2007, Sun Microsystems, Inc.
All Rights Reserved</refmiscinfo>

</refmeta>
<refnamediv><indexterm><primary>stop-appserv</primary></indexterm>
<indexterm><primary>
stops the domains in the specified domains directory</primary></indexterm><refname>stop-appserv</refname><refpurpose>stops the
domains in the specified domains directory</refpurpose></refnamediv>
<refsynopsisdiv><title></title>
<synopsis><command>stop-appserv</command>  [<option role="double-dash">domaindir</option> <replaceable>install_dir</replaceable>/domains]
 [<option role="double-dash">terse</option>=<replaceable>false</replaceable>] [<option role="double-dash">echo</option>=<replaceable>false</replaceable>]</synopsis></refsynopsisdiv>
<refsect1 role="description"><title></title>
<para>This command is deprecated use the <command>stop-domain</command> command
instead. Use the <command>stop-appserv</command> command to stop the domains
in specified domain directory. If the domain directory is not specified the
domains in the default <filename><replaceable>install_dir</replaceable>/domains
</filename> directory are stopped.</para>
<para>This command is supported in local mode only.</para>
</refsect1>
<refsect1 role="options"><title></title>
<variablelist termlength="medium">
<varlistentry><term><option role="double-dash">domaindir</option></term>
<listitem><para>The directory where the domains are to be stopped. If specified,
path must be accessible in the filesystem. If not specified, the domains are
stopped in the default <filename><replaceable>install_dir</replaceable>/domains
</filename> directory.</para>
</listitem></varlistentry>
<varlistentry><term><option>t</option> <option role="double-dash">terse
</option></term><listitem><para>Indicates that any output data must be very
concise, typically avoiding human-friendly sentences and favoring well-formatted
data for consumption by a script. Default is false.</para>
</listitem></varlistentry>
<varlistentry><term><option>e</option> <option role="double-dash">echo
</option></term><listitem><para>Setting to true will echo the command line
statement on to the standard output. Default is false.</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1 role="examples"><title></title>
<example>
<title>Using the stop&mdash;appserv command</title>
<screen>asadmin> <userinput>stop-appserv</userinput>
Command stop-appserv is deprecated.
Stopping all domains in /opt/SUNWappserver90/domains, please wait.
Domain domain1 stopped.</screen>
<para>Where: <filename>/opt/SUNWappserver90/domains/domain1</filename> is
the domain in the default domains directory that is stopped.</para>
</example>
</refsect1>
<refsect1 role="exit-status"><title></title>
<variablelist termlength="narrow">
<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 role="see-also"><title></title>
<para><olink targetdoc="ASREFMAN" targetptr="create-domain-1">create-domain(1)</olink>, <olink targetdoc="ASREFMAN" targetptr="delete-domain-1">delete-domain(1)</olink>, <olink targetdoc="ASREFMAN" targetptr="start-domain-1">start-domain(1)</olink>, <olink targetdoc="ASREFMAN" targetptr="stop-domain-1">stop-domain(1)</olink>, <olink targetdoc="ASREFMAN" targetptr="list-domains-1">list-domains(1)</olink>, <olink targetdoc="ASREFMAN" targetptr="start-appserv-1">start-appserv(1)</olink></para>
</refsect1>
</refentry>
<?Pub *0000004755>
