added tomcat deploy changes