Preparing conf for tomcat deployment