add shutdown script for tomcat roling upgrade