<!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="show-component-status-1">
<refmeta><refentrytitle>show-component-status</refentrytitle><manvolnum>1</manvolnum>&metainfo;
</refmeta>
<refnamediv><indexterm><primary sortas="show-component-status">show-component-status &mdash; displays the status of the deployed component</primary></indexterm><indexterm><primary sortas=" displays the status of the deployed component."> displays the status of the deployed component &mdash; show-component-status
</primary></indexterm><refname>show-component-status</refname><refpurpose>displays the status of the deployed component</refpurpose></refnamediv>
<refsynopsisdiv><title>&synp-tt;</title>
<cmdsynopsis><command>show-component-status </command>&synopsis-common;
<arg choice="opt">&Dash;&Dash;target <replaceable>target (defaultserver)</replaceable></arg><arg choice="plain"><replaceable>component-name</replaceable></arg>
</cmdsynopsis></refsynopsisdiv>
<refsect1><title>&desc-tt;</title>
<para>The <command>show-component-status</command> command gets the status of the deployed component. The status is a string representation returned by the server. The possible status strings include status of <replaceable>app-name</replaceable> is <filename>enabled</filename> or status of <replaceable>
app-name</replaceable> is <filename>disabled</filename>. This command is supported in remote mode only.</para>
</refsect1>
<refsect1><title>OPTIONS</title>
<variablelist termlength="medium">&options-common;
<?Pub Caret>
<varlistentry><term>&Dash;&Dash;<replaceable>target</replaceable></term><listitem><para>This option specifies the target on which you are showing the component status. Valid values are:<itemizedlist>
<listitem><para><literal>server</literal>, which shows the component status for the default server instance <literal>server</literal> and is the default value</para>
</listitem>
<listitem><para><replaceable>domain_name</replaceable>, which shows the component status for the named domain</para>
</listitem>
<listitem><para><replaceable>cluster_name</replaceable>, which shows the component status for every server instance in the cluster</para>
</listitem>
<listitem><para><replaceable>instance_name</replaceable>, which  shows the component status for a particular server instance</para>
</listitem>
</itemizedlist></para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>OPERANDS</title>
<variablelist termlength="medium">
<varlistentry><term><option role="nodash"></option><option role="nodash">component-name</option></term><listitem><para>This is the name of the component to be listed.</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&exam-tt;</title>
<example>
<title>Using<command> show-component-status</command> command</title>
<screen>asadmin> <userinput>show-component-status --user admin MEjbApp

</userinput>Please enter the admin password>
Status of MEjbApp is enabled
Command show-component-status 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="list-components-1"><citerefentry><refentrytitle>list-components</refentrytitle><manvolnum>1</manvolnum></citerefentry></link>, <link linkend="list-sub-components-1"><citerefentry><refentrytitle>list-sub-components</refentrytitle><manvolnum>1</manvolnum></citerefentry></link></para>
</refsect1>
</refentry>
<?Pub *0000004168>
