fixes to get the application to start in Tomcat