You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Chris Hostetter <ho...@fucit.org> on 2011/04/02 02:51:13 UTC

Re: [Solr Wiki] Update of "Troubleshooting HTTP Status 404 - missing core name in path" by Gabriele Kahlout

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