Added log4j config in web.xml.