I have installed DSpace 5.1 on a Windows 2012 Server but the search facility fails. When I click on a search of any kind I get this message: Expected mime type application/octet-stream but got text/html. <!DOCTYPE html><html><head><title>Apache Tomcat/8.0.20 - Error report</title> </head><body> HTTP Status 404 - /solr/search/select <div class="line"></div><p>type Status report</p><p>message <u>/solr/search/select</u></p><p>description <u>The requested resource is not available.</u></p><hr class="line"> Apache Tomcat/8.0.20 </body></html>
(I’ve removed the <style> info that was in the message to make it easier to read). I think this is the start of the corresponding error message in the logs Caused by: org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Expected mime type application/octet-stream but got text/html. There is a huge chain of errors as you would expect, there are numerous like this: 2015-03-30 14:18:50,961 INFO org.apache.cocoon.i18n.XMLResourceBundle - Bundle <file:///C:/Program Files/Apache Software Foundation/Tomcat 8.0/webapps/xmlui/i18n/aspects/SearchArtifacts/messages_en_GB.xml> not loaded: Source URI not found There is NO aspects directory under i18n in my installation, so this looks to be an issue, but I don’t know if it is a symptom or a cause. There were only a couple of leads on Google, which led me to try editing xmlui.xconf and commenting out <aspect name="Discovery" path="resource://aspects/Discovery/" /> And commenting in <aspect name="Searching Artifacts" path="resource://aspects/SearchArtifacts/" /> But it made no difference. I also tried C:\dspace\bin>dspace index-discovery (adapted from https://wiki.duraspace.org/display/DSPACE/Solr) but it gave the same error Exception: Expected mime type application/octet-stream but got text/html. If I try this URL when on the DSpace server http://localhost:8080/solr/search/ I get HTTP Status 404 - /solr/search/admin So it looks like solr isn’t operational, but I have no idea what to try next. This is DSpace out-of-the-box on Windows, all I have done is create one community and one collection – I didn’t try the search facilities before doing so for obvious reasons. -- View this message in context: http://dspace.2283337.n4.nabble.com/DSpace-search-appears-to-fail-out-of-the-box-on-Windows-2012-Server-tp4677253.html Sent from the DSpace - Tech mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette