How to avoid restartin Tomcat Server