Support deploying as war file to tomcat