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


NAME

 list-components - Lists deployed J2EE components

SYNOPSIS

 list-components --user admin_user[ --password admin_password ][ --host localhost ] [ --port 4848 ][ --passwordfile filename ][ --secure|-s ][ --type application|ejb|web|connector ] instance_name

DESCRIPTION

Use the list-components command to list your deployed J2EE components to the specified instance. If the --type option is not specified, all the components are listed.

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 component to be listed; defaults to all.

OPERANDS

instance_name

name of the instance.

EXAMPLES

Example 1. Using list-components to list all components
asadmin> list-components --user admin --passwordfile passwords.txt --port 4848 --host localhost server1
fortune application
simple web
There are no standalone EJB modules
There are no connector modules

Where: all the component that were deployed to the server1 instance are listed.

Example 2. Using list-components to list a web component
asadmin> list-components --user admin --passwordfile passwords.txt --port 4848 --host localhost --type web server1
simple web

Where: all the web component that was deployed to the server1 instance is listed.

Example 3. Using list-components to list an application component
asadmin> list-components --user admin --passwordfile passwords.txt --port 4848 --host localhost --type application server1
fortune application

Where: all the application component that was deployed to the server1 instance is listed.

EXIT STATUS

0

command executed successfully

1

error in executing the command

INTERFACE EQUIVALENT

Applications folder, Module interface

SEE ALSO

list-sub-components(1), show-component-status(1)


Sun Java System Application ServerGo To TopLast Changed 24 Dec 2003