<!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="list-sub-components-1">
<refmeta><refentrytitle>list-sub-components</refentrytitle><manvolnum>1</manvolnum>&metainfo;
</refmeta>
<refnamediv><indexterm><primary sortas="list-sub-components">list-sub-components &mdash; lists EJBs or Servlets in deployed module or module of deployed application</primary></indexterm><indexterm><primary sortas="lists EJBs or Servlets in deployed module or module of deployed application">lists EJBs
or Servlets in deployed module or module of deployed application &mdash; list-sub-components</primary></indexterm><refname>list-sub-components</refname><refpurpose>lists EJBs or Servlets in deployed module or module of deployed application</refpurpose></refnamediv>
<refsynopsisdiv><title>&synp-tt;</title>
<cmdsynopsis><command><command>list-sub-components</command></command>&synopsis-common;
<arg choice="opt">&Dash;&Dash;type <replaceable>ejbs|servlets</replaceable></arg><arg choice="opt">&Dash;&Dash;appname <replaceable>appname</replaceable></arg><arg choice="plain"><replaceable>modulename</replaceable></arg>
</cmdsynopsis></refsynopsisdiv>
<refsect1><title>&desc-tt;</title>
<para>This command lists EJBs or Servlets in a deployed module or in a module of the deployed application. If a module is not identified, all modules are listed. The&Dash;&Dash; <option role="nodash">appname</option> option functions only when the given module is standalone. To display a specific module
in an application, you must specify the module name and the &Dash;&Dash; <option role="nodash">appname</option> option. This command is supported in remote mode only.</para>
</refsect1>
<refsect1><title>OPTIONS</title>
<variablelist termlength="narrow">&options-common;
<varlistentry><term><option role="nodash">&Dash;&Dash;type</option></term><listitem><para>This is the type of component to be listed. The options are ejbs and servlets. If nothing is specified, then all of the components are listed.</para>
</listitem></varlistentry>
<varlistentry><term><option role="nodash">&Dash;&Dash;appname</option></term><listitem><para>Identifies the name of the application. This option is required when the desired output is the sub-components of an embedded module of a deployed application.</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>OPERANDS</title>
<variablelist termlength="narrow">
<varlistentry><term><option role="nodash">modulename</option></term><listitem><para>This is the name of the module containing the sub-component.</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&exam-tt;</title>
<example>
<title>Using <command>list-sub-components</command></title>
<screen>asadmin> <userinput>list-sub-components --user admin --appname MEjbApp mejb.jar</userinput>
Please enter admin password>
MEJBBean &lt;StatelessSessionBean>
Command list-sub-components executed successfully.</screen><?Pub Caret>
</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>, <link linkend="disable-1"><citerefentry><refentrytitle>disable</refentrytitle><manvolnum>1
</manvolnum></citerefentry></link>, <link linkend="list-components.1"><citerefentry><refentrytitle>list-components</refentrytitle><manvolnum>1</manvolnum></citerefentry></link></para>
</refsect1>
</refentry>
<?Pub *0000004583>
