Replacing the web.xml file and setting up the correct directory for solr home