I have downloaded Solr 3.5.0. After unzipping I cd into solr\example and then run java -jar start.jar. The following message comes up:
Logging to STDERR via org.mortbay.log.StdErrLog jetty-6.1-SNAPSHOT Started [email protected]:8983
If I then go to http://localhost:8983/ in my browser I get an error:
Error 404 - Not Found. No context on this server matched or handled this request. Contexts known to this server are:
With nothing under the contexts.
If I go to http://localhost:8983/solr/admin I then get
HTTP ERROR: 404
Problem accessing /solr/admin. Reason:
NOT_FOUND
Powered by Jetty://
I am on a Windows7 machine if that helps. What am I doing wrong?
The first error is normal, you should go to http://localhost:8983/solr/
instead of http://localhost:8983
. In fact the only web application running within jetty is contained in the solr.war
, so you need to add the solr
context to access it.
Then you should see the Solr welcome page where you can click on the Solr Admin
link, which perhaps should point to the location you already tried: http://localhost:8983/solr/admin
.
Anyway, when you try to access to http://localhost:8983/ Jetty should list the available contexts, but don't have any context on your list, while I have /solr ---> org.mortbay.jetty.webapp.WebAppContext etc.
. This means the solr webapp is not starting correctly.