Settings modified, so the application can be deployed on tomcat 7