sun.com | docs.sun.com |  | How To Buy | My Sun | Worldwide Sites |

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

User Commands | list-sub-components(1)

- NAME
- SYNOPSIS
- DESCRIPTION
- OPTIONS
- OPERANDS
- EXAMPLES
- EXIT STATUS
- INTERFACE EQUIVALENT
- SEE ALSO

## NAME

> list-sub-components - Lists one or more EJBs or Servlets in a deployed module or in a module of a deployed application

## SYNOPSIS

> ``list-sub-components` --user admin_user [ --password admin_password ][ --host localhost ] [ --port 4848 ][ --passwordfile filename ][ --secure|-s ][ --type ejbs|servlets ] [ --instance instance_name ][ --appname app_name ]module_name`

## DESCRIPTION

> Use the `list-sub-components` to list your 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 component type defaults to EJBs.

## OPTIONS

> --user

>   administrative user associated for the instance.

> --password

>   administrative password corresponding to the administrative user.

> --host

>   host name of the machine hosting the administrative instance.

> --port

>   administrative port number associated with the administrative host.

> --passwordfile

>   file containing passwords appropriate for the command (e.g., administrative instance).

> --secure

>   if true, uses SSL/TLS tocommunicate with the administrative instance.

> --type

>   identifies the type of sub-component to be listed.

> --instance

>   name of the instance.

> --appname

>   name of the application.

## OPERANDS

> module_name

>   name of the module containing the sub-components.

## EXAMPLES

> Example 1. Using `list-sub-components`

> > >     asadmin> list-sub-components --user admin --passwordfile passwords.txt --port 4848 --host localhost --instance server1 --type servlets --appname fortune fortune
> > >     FortuneServlet Servlets

## EXIT STATUS

> 0

>   command executed successfully

> 1

>   error in executing the command

## INTERFACE EQUIVALENT

> Applications folder, Module interface

## SEE ALSO

> `deploy`(1), `deploydir`(1), `undeploy`(1), `enable`(1), `disable`(1), `list-components`(1)

Sun Java System Application Server | Go To Top | Last Changed 29 Dec 2003

Company Info | Contact | Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.