prevent tomcat restart