lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: [Solr Wiki] Update of "Troubleshooting HTTP Status 404 - missing core name in path" by Gabriele Kahlout
Date Sat, 02 Apr 2011 00:51:13 GMT

Gabriele:

Creating a wiki page really isn't the approprate way to ask for help 
diagnosing a problem -- that's why we have the user mailing list.

Regarding your specific problem, note that this...

: $SOLR_HOME/solr.xml:
: {{{
: <?xml version="1.0" encoding="utf-8"?>
: <Context docBase="/home/gkahlout/SOLR_HOME/solr.war" debug="0" crossContext="true">
:   <Environment name="solr/home" type="java.lang.String" value="/home/gkahlout/SOLR_HOME"
override="true"/>
: </Context>
: }}}

...is not a valid solr.xml file ... that is a context file for tomcat, and 
doesn't belong in the $SOLR_HOME dir, it belongs in the 
$CATALINA_HOME/conf/Catalina/localhost/

(there is an unfortunate naming colision that takes place, because 
"solr.xml" is what a tomcat context file should be named if you want the 
path to be "/solr/" but tomcat context files are not hte same as the 
solr.xml files that are used to tell solr what cores to load)


-Hoss

Mime
View raw message