I have a script that needs to run after tomcat has finished starting up and is ready to start deploying applications. I’m using $TOMCAT_HOME/bin/startup.sh which returns immediately. How can I wait until tomcat has finished starting up?
I have a script that needs to run after tomcat has finished starting up
Share
There are probably several ways to do this. The trick we use is:
Hope this helps!