Deploy tomcat server automatically