Kyle:

I am not sure if this is the answer to your problem, but I ran into the exact 
same problem when we did our upgrade to DSpace 5.1, and I discovered that the 
problem was in the tomcat server.xml file.

At our site, I had 2 <Host> entries defined.  One was for <Host 
name="localhost"> that was configured to load *everything* under the "webapps" 
subdirectory.  The other was for our development site: <Host 
name="ecommons-test.library.cornell.edu"> which was  configured to load 
"webapps/xmlui" and "webapps/jspui"


This worked fine for DSpace 1.8 through DSpace 4.3, but the minute that I went 
to DSpace 5.1, it caused the problem that you are describing.  I had to change 
my server.xml file so that there is only one host defined, and that fixed my 
problem.

George Kozak
Digital Library Specialist
Cornell University Library Information Technologies (CUL-IT)
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924



From: Kyle Harriss [mailto:kharr...@d.umn.edu]
Sent: Monday, June 01, 2015 2:48 PM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] DSpace 5.1, Mirage2, Requested URL /solr/search/select 
was not found

Hello,

What we've set up and what works
==========================
We upgraded our test server from DSpace 3.1 to DSpace 5.1/Mirage2
I have tomcat running under the username "dspace".  The user "dspace" owns the 
[dspace] directory and all it's subdirectories.
Everything that does not involve a search or an indexed list seems to work.
I can enter the admin module and view stats.
Additional item views and downloads show up in stats report the next day.
I can follow a link to an item record, view the full item record, download the 
document (bitstream).

What doesn't work
================
If I try to browse a collection, I get:
"Expected mime type application/octet-stream but got text/html...404 Not 
Found..The requested URL /solr/search/select was not found on this server..."

If I search for a word that I know should produce a list of results, I get:
"Search produced no search results."

Testing one solution - failed
=====================
I recently tried opening [dspace]/solr and removing the subdirectories "search" 
and "statistics" and then recompiled DSpace 5.1 and rebooted the server.   The 
subdirectories were recreated - but there was no change in behavior.


Trying to connect to solr
======================
I set up an ssh tunnel from port 8080 on my desktop PC to port 8080 on the 
server running dspace.

In a web browser, http://localhost:8080 opens the public home page for the 
repository.

But trying to connect to http://localhost:8080/solr yields the message "Page 
cannot be found".


Could it be..?
==============
Are there some solr config settings I might need to check?
Or is this possibly a firewall problem on the test server?
Any suggestions for what I should check next?


All comments and suggestions are appreciated.  Thank you!


Kyle
--
Kyle Harriss
Kathryn A. Martin Library
University of Minnesota Duluth
kharr...@d.umn.edu<mailto:kharr...@d.umn.edu>
(218) 726-6546
------------------------------------------------------------------------------
_______________________________________________
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

Reply via email to