<!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="enable-1">
<refmeta><refentrytitle>enable</refentrytitle><manvolnum>1</manvolnum>&metainfo;
</refmeta>
<refnamediv><indexterm><primary sortas="enable">enable &mdash; enables the
component</primary></indexterm><indexterm><primary sortas=" runs the specified component">
 enables the component &mdash; enable</primary></indexterm><refname>enable
</refname><refpurpose>enables the component</refpurpose></refnamediv>
<refsynopsisdiv><title>&synp-tt;</title>
<cmdsynopsis><command>enable</command>&synopsis-common;
<arg>&Dash;&Dash;target <replaceable>target_name</replaceable></arg><arg><replaceable>
component_name</replaceable></arg>
</cmdsynopsis></refsynopsisdiv>
<refsect1><title>&desc-tt;</title>
<para>The <command>enable</command> command enables the specified component.
If the component is already enabled, then it is re-enabled. The component
must have been deployed in order to be enabled. If it has not been deployed,
then an error message is returned. This command is supported in remote mode
only.</para>
</refsect1>
<refsect1><title>OPTIONS</title>
<variablelist termlength="medium">&options-common;
<varlistentry><term><option role="nodash">&Dash;&Dash;target</option></term>
<listitem><para>This option specifies the target on which you are enabling
the component. Valid values are:<itemizedlist>
<listitem><para><literal>server</literal>, which enables the default server
instance <literal>server</literal> and is the default value</para>
</listitem>
<listitem><para><replaceable>domain_name</replaceable>, which enables the
named domain</para>
</listitem>
<listitem><para><replaceable>cluster_name</replaceable>, which enables every
server instance in the cluster</para>
</listitem>
<listitem><para><replaceable>instance_name</replaceable>, which enables a
particular server instance</para>
</listitem>
</itemizedlist></para>
</listitem><?Pub Caret1></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 enabled.</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&exam-tt;</title>
<example>
<title>Using <command>enable</command> command</title>
<screen>asadmin> <userinput>enable --user admin1 --passwordfile password.txt sampleApp
</userinput>
Command enable 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="disable-1"><citerefentry>
<refentrytitle>disable</refentrytitle><manvolnum>1</manvolnum></citerefentry></link></para>
</refsect1>
</refentry>
<?Pub *0000003842>
