<!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="disable-1">
<refmeta><refentrytitle>disable</refentrytitle><manvolnum>1</manvolnum>&metainfo;
</refmeta>
<refnamediv><indexterm><primary sortas="disable">disable &mdash; disables
the component</primary></indexterm><indexterm><primary sortas=" stops the specified component">
 disables the component &mdash; disable</primary></indexterm><refname>disable
</refname><refpurpose>disables the component</refpurpose></refnamediv>
<refsynopsisdiv><title>&synp-tt;</title>
<cmdsynopsis><command>disable</command>&synopsis-common;
<arg>&Dash;&Dash;target <replaceable>target_name</replaceable></arg><arg choice="plain"><replaceable>
component_name</replaceable></arg>
</cmdsynopsis></refsynopsisdiv>
<refsect1><title>&desc-tt;</title>
<para>The <command>disable</command> command immediately disables the named
component. The component must have been deployed. If the component has not
been deployed, an error message is returned.</para>
</refsect1>
<refsect1><title>OPTIONS</title>
<variablelist termlength="medium">&options-common;
<?Pub Caret>
<varlistentry><term><option role="nodash">&Dash;&Dash;target</option></term>
<listitem><para>This option specifies the target on which you are disabling
the component. Valid values are<itemizedlist>
<listitem><para><literal>server</literal>, which is disabled for the default
server instance <literal>server</literal> and is the default value</para>
</listitem>
<listitem><para><replaceable>domain_name</replaceable>, which disables the
named domain</para>
</listitem>
<listitem><para><replaceable>cluster_name</replaceable>, which is disabled
for every server instance in the cluster</para>
</listitem>
<listitem><para><replaceable>instance_name</replaceable>, which is disabled
for a particular server instance</para>
</listitem>
</itemizedlist></para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>OPERANDS</title>
<variablelist termlength="medium">
<varlistentry><term><replaceable>component_name</replaceable></term><listitem>
<para>name of the component to be disabled.</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&exam-tt;</title>
<example>
<title>Using <command>disable</command> command</title>
<screen>asadmin> <userinput>disable  --user admin1 --passwordfile password.txt sampleApp
</userinput>
Command disable executed successfully</screen>
</example>
</refsect1>
<refsect1><title>EXIT STATUS</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><title>&also-tt;</title>
<para><link linkend="deploy-1"><citerefentry><refentrytitle>deploy</refentrytitle>
<manvolnum>1</manvolnum></citerefentry></link>, <link linkend="deploydir-1"><citerefentry>
<refentrytitle>deploydir</refentrytitle><manvolnum>1</manvolnum></citerefentry></link>, <link
linkend="undeploy-1"><citerefentry><refentrytitle>undeploy</refentrytitle>
<manvolnum>1</manvolnum></citerefentry></link>, <link linkend="enable-1"><citerefentry>
<refentrytitle>enable</refentrytitle><manvolnum>1</manvolnum></citerefentry></link></para>
</refsect1>
</refentry>
<?Pub *0000003782>
