 |
|
|
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 |
|
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.
|
|
- --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.
|
|
-
instance_name
- name of the instance.
|
| 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.
|
|
|
- 0
- command executed successfully
- 1
- error in executing the command
|
Company Info
|
Contact
|
Copyright 2003 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
|