fix tomcat stop bug config