J
 
 
 
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 Commandsshow-component-status(1)


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

DESCRIPTION

 

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.


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 to communicate with the administrative instance.
--instance
name of the instance.

OPERANDS

 
component_name
name of the component to be listed.

EXAMPLES

 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.


EXIT STATUS

 
0
command executed successfully
1
error in executing the command

SEE ALSO

 

list-components(1), list-sub-components(1)



Go To TopLast Changed April 2004