<!--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-domain-1">
<!-- @(#)stop-domain.1 1.9 07/04/25 SMI; -->
<refmeta><refentrytitle>stop-domain</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-domain</primary></indexterm>
<indexterm><primary>
Domain Administration Server of the specified domain</primary>
</indexterm><refname>stop-domain</refname><refpurpose> Stops the Domain Administration
Server of the specified domain</refpurpose></refnamediv>
<refsynopsisdiv><title></title>
<synopsis><command>stop-domain</command>  [<option role="double-dash">terse</option>=<replaceable>false</replaceable>] [<option role="double-dash">echo</option>=<replaceable>false</replaceable>]
 [<option role="double-dash">domaindir</option> <replaceable>install_dir</replaceable>/domains] <replaceable>domain_name</replaceable></synopsis></refsynopsisdiv>
<refsect1 role="description"><title></title>
<para>Use the <command>stop-domain</command> command to stop the Domain Administration
Server of the specified domain. The <command>stop-domain</command> command
can be run in the local mode only. </para>
</refsect1>
<refsect1 role="options"><title></title>
<variablelist termlength="narrow">
<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>
<varlistentry><term><option role="double-dash">domaindir</option></term>
<listitem><para>The directory where the domain is to be stopped. If specified,
the path must be accessible in the filesystem. If not specified, the domain
in the default <filename><replaceable>install_dir</replaceable>/domains</filename>
directory is stopped.</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1 role="operands"><title></title>
<variablelist termlength="narrow">
<varlistentry><term><replaceable>domain_name</replaceable></term><listitem>
<para>This is the name of the domain to stop.</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1 role="examples"><title></title>
<example>
<title>Using <command>stop-domain</command> command</title>
<screen>asadmin> <userinput>stop-domain sampleDomain</userinput>
Domain sampleDomain stopped</screen>
</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="start-domain-1">start-domain(1)</olink>, <olink targetdoc="ASREFMAN" targetptr="delete-domain-1">delete-domain(1)</olink>, <olink targetdoc="ASREFMAN" targetptr="list-domains-1">list-domains(1)</olink></para>
</refsect1>
</refentry>
<?Pub *0000004121>
