On 4/18/06, Ken Krugler <[EMAIL PROTECTED]> wrote: > 2. Cloned/edited the resin.conf file to include a mapping for Solr, by adding: > > <web-app id='/solr/'> > <document-directory>webapps/solr-nightly</document-directory> > </web-app>
I normally just copy the war to solr.war, so I don't need the mapping... > 3. Started up Resin. > > It created the <resin root>/webapps/solr-nightly directory, as > expected, but then when I tried to use the Solr servlet it complained > about not finding solrconfig.xml (see stack trace at end of email). By default, Solr looks in the current-working-directory/solr/conf for solrconfig.xml and schema.xml, and creates the index under current-working-directory/solr/data One way you can direct Solr to a different home location is setting the solr.solr.home property... ./startup -Dsolr.solr.home=/foo/bar/solr > 4. I realized that there was no solrconf folder included by default > in the .war, so I added it inside of the <resin > root>/webapps/solr-nightly directory. Same result. Tried moving it to > inside of WEB-INF, same thing. > > 5. I uncommented out the lines in the web.xml file that Yonik > indicated were necessary to get Resin to work properly with Solr, but > that didn't change anything. That part will come into play parsing solrconfig.xml and schema.xml -Yonik