 |
|
|
NAME
show-component-status - displays
the status of the deployed component
SYNOPSIS
show-component-status--user admin_user[ --password admin_password ][ --host localhost ]
[ --port 4848 ][ --passwordfile filename ][ --secure|-s ][ --instance instance_name ]
component_name
Use the show-component-status command to get the
status of the status of the deployed component. The status is a string representation
returned by the server. The possible status strings include: enabled or disabled.
- --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 to communicate with the administrative instance.
- --instance
-
name
of the instance.
-
component_name
-
name of the component to be listed.
Example 1. Using show-component-status to show an application
asadmin> show-component-status --user admin --passwordfile passwords.txt --host bluestar --port 4848 fortune
Status of application fortune is enabled
Where: the status of the fortune application is
shown.
Example 2. Using show-component-status to show a WAR module
asadmin> show-component-status --user admin --passwordfile passwords.txt --host bluestar --port 4848 simple
Status of WAR module simple is enabled
Where: the status of the simple WAR module is shown.
- 0
-
command executed successfully
- 1
-
error in executing the command
Web, EJB, Connector, and Lifecycle modules
list-components(1), list-sub-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.
|