sun.com | docs.sun.com |  | How To Buy | My Sun | Worldwide Sites |

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 Commands | show-component-status(1)

- NAME
- SYNOPSIS
- DESCRIPTION
- OPTIONS
- OPERANDS
- EXAMPLES
- EXIT STATUS
- INTERFACE EQUIVALENT
- SEE ALSO

## 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

## INTERFACE EQUIVALENT

> Web, EJB, Connector, and Lifecycle modules

## SEE ALSO

> `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.