How to fix Solr - Server is shutting down issue?
I got it fixed by removing a blank line at the top of solr.xml file. But now a different error appear, although Solr seems to be running now.
This helped me to figure out the issue:
http://www.bennadel.com/blog/58-The-Processing-Instruction-Target-Matching-xX-mM-lL-is-Not-Allowed.htm