4.2.11. status

Description

Shows the status of a deployed bundle.

Usage

bw status PATH (or NAME status)

  • PATH points to a deployed bundle (not needed when action is called using the deployed bundle's NAME)

Ant Usage

<bw.status path="${path}" />

Examples

# Check the status of the current tomcat
tomcat status
# Check the status of a specific deployment of the helloserver bundle
bw status /local/dev/helloserver

Notes

  • This executes the 'status' bundle hook. This hook must be present inside a bundle for this command to work.
  • In addition to displaying a message, the 'status' hook should exit with error codes to help monitoring software determine status. The codes are 0 for OK, 1 for WARNING, and 2 for ERROR.