This is my last shot ! your solr webapp doesn't know where to locate solr home, solr home must have at least this two folders: conf/ solrconfig.xml schema.xml data/ (after indexing) index/ spellchecker/
try to ping your solr using http://localhost:../solr/admin/ping. As your solr webapp run without error as you mentioned before, it's most likely you are having a miss configured solr home. On 4/21/10, Jan Kammer <jan.kam...@mni.fh-giessen.de> wrote: > > Is also correct..... > > Abdelhamid ABID schrieb: > > Well, check your solr config file if the folder "Data" is correctly >> defined, >> you may set it like this: <dataDir>${solr.data.dir:}</dataDir> >> >> On 4/21/10, Jan Kammer <jan.kam...@mni.fh-giessen.de> wrote: >> >> >>> Exactly that i got in the file.... but it doesn't work :-( >>> >>> Abdelhamid ABID schrieb: >>> >>> The path paramater defines your context path, "/solr" for example, what >>> >>> >>>> you >>>> are missing, I think, is the environment variable 'solr/home' which >>>> points >>>> to solr home (again) and not the solr web-app. solr/home may be set in >>>> your >>>> xml-file like this >>>> <Context docBase="...." debug="0" crossContext="true"> >>>> <Environment name="solr/home" type="java.lang.String" >>>> value="PATH_TO_SOLR_HOME" override="false"/> >>>> </Context> >>>> >>>> PATH_TO_SOLR_HOME must contains "conf" and "data" folders >>>> >>>> On 4/21/10, Jan Kammer <jan.kam...@mni.fh-giessen.de> wrote: >>>> >>>> >>>> >>>> >>>>> hi, >>>>> thanks for your answer. >>>>> I defined the path in an xml-file in Tomcat/conf/Catalina/localhost/ I >>>>> read >>>>> that this must be the right place. Could there be anywhere an other >>>>> mistake? >>>>> >>>>> greetz, Jan >>>>> >>>>> Abdelhamid ABID schrieb: >>>>> >>>>> You are missing the "solr/home" context paramater , which points to >>>>> the >>>>> >>>>> >>>>> >>>>> >>>>>> folder (solr) holding "data" and "conf" >>>>>> >>>>>> On 4/21/10, Jan Kammer <jan.kam...@mni.fh-giessen.de> wrote: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>> Hi there, >>>>>>> >>>>>>> i got a problem with the combination solr + tomcat under mac osx >>>>>>> server >>>>>>> (snow leopard). >>>>>>> Versions: tomcat 6.0 and newest solr. >>>>>>> >>>>>>> Solr works fine with jetty. But with the same solr i get the error >>>>>>> "HTTP >>>>>>> Status 404 - missing core name in path". I see the first site, but >>>>>>> when >>>>>>> i >>>>>>> click on "Solr Admin", the described error appears. >>>>>>> I asked google, but didn't find the right answer to solve my >>>>>>> problem. >>>>>>> >>>>>>> thanks in advance. >>>>>>> >>>>>>> Greetz, Jan >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>> >>>> >>>> >>>> >>> >>> >> >> >> >> > > -- Abdelhamid ABID Software Engineer- J2EE / WEB