title: Wait until tomcat finishes starting up
body: <p>I have a script that needs to run after tomcat has finished starting up and is ready to start deploying applications. I'm using <code>$TOMCAT_HOME/bin/startup.sh</code> which returns immediately. How can I wait until tomcat has finished starting up?</p>