Hitachi

Hitachi Application Server V10 User's Guide (For Windows® Systems)


8.3.3 Checking the operating status of an application with a command

To check the operating status of a application on a server instance with a command, execute the list-applications subcommand of the asadmin utility command.

Prerequisites

Intended users

Procedure

  1. To display a list of server instances, run the list-instances subcommand of the asadmin utility command with the --long option specified.

    asadmin list-instances --long=true

    When this command is run, the result is displayed as follows. Ensure that the statuses of the server instances are running.

    server_instance_name host_name port_number process_ID cluster_name running
    Command list-instances executed successfully.
    
    • cluster_name is displayed only for cluster configurations that contain multiple Java EE servers.

  2. To display a list of applications on the server instance, run the list-applications subcommand of the asadmin utility command with the --long option specified.

    asadmin list-applications --long=true server_instance_name_or_cluster_name
    • In a configuration where only one Java EE server is deployed, specify the server instance name.

    • In a cluster configuration where more than one Java EE server is deployed, specify the cluster name.

    When this command is run, the result is displayed as follows. Check STATUS for the operating status of the application. If the application is enabled, the operating status is displayed enabled, and if it is disabled, the operating status is displayed as disabled.

    NAME                    TYPE        STATUS
    application_name  <ear, web>  enabled
    application_name  <web>       enabled
    Command list-applications executed successfully.