Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

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 Commandslist-sub-components(1)


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 ServerGo To TopLast Changed 29 Dec 2003