tomcat-check script