Added a web.xml and SystemPropertiesHelper.java to set the system properties properly.