Random Project

works swell.

fyi: afaik for tomcat7 you must grant your authorized tomcat user the “manager-script” role and then modify the script to add the /text/ to the url.

wget -o /dev/null -O – http://$USER:$PASSWORD@$HOST:$PORT/manager/list | grep -q “^/$APP:running”

wget -o /dev/null -O – http://$USER:$PASSWORD@$HOST:$PORT/manager/text/list | grep -q “^/$APP:running”