4.2.7. kill

Description

Kills a deployed bundle (can be used if 'stop' doesn't work).

Usage

bw kill PATH (or NAME kill)

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

Ant Usage

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

Examples

# Kill the current tomcat
tomcat kill
# Kill a specific deployment of the helloserver bundle
bw kill /local/dev/helloserver

Notes

  • This executes the 'kill' bundle hook. This hook must be present inside a bundle for this command to work. On UNIX-based and Linux systems, this will typically issue a KILL (i.e., -9) signal to stop a process.