Hitachi

Hitachi Application Server V10 Command Reference Guide (For UNIX® Systems)


2.8.18 show-component-status

Displays the status of the deployed component.

Synopsis

asadmin [asadmin-options] show-component-status [--help]
    [--target target] component-name

Storage location

Application Server installation directory/javaee/glassfish/bin

Function

The show-component-status subcommand of asadmin gets the status (either enabled or disabled) of the deployed component. This subcommand is supported in remote mode only.

Precondition

Domain Administration Server (DAS) is running.

Arguments

--help | -?

Displays the help text for the subcommand.

--target target

Specifies the target where you show the component status.

Type: String

The following values can be specified:

  • server

    Shows the component status for the default server instance server and is the default value.

  • domain

    Shows the component status for the domain.

  • cluster_name

    Shows the component status for the cluster.

  • instance_name

    Shows the component status for a clustered or stand-alone server instance.

Default value: server

component-name

Specifies the name of the component whose status is to be listed.

The name can include an optional version identifier, which follows the name and is separated from the name by a colon (:). The version identifier must begin with a letter or number. It can contain alphanumeric characters plus underscore (_), dash (-), and period (.) characters. To list multiple versions, you can use an asterisk (*) as a wildcard character.

Type: String

The following values can be specified:

  • Name of the component

Default value: N/A

Examples

The following example gets the status of the MEjbApp component on the server instance instance1.

asadmin show-component-status --target instance1 MEjbApp

Exit Status

Exit Status

Explanation

0

subcommand executed successfully.

1

error in executing the subcommand.