I'm writing a bash script that automatically deploys an application to a tomcat server. How can I stop the application from bash / command line?
The easiest method I know of is to install the Tomcat manager webapp, note the URL for stopping an application, and wget
that URL.