configured as tomcat web application