Thanks raj, Actually, the nutch-site.xml file I changed is under the tomcat/ROOT/WEB-INF/classes folder, and I add the searcher.dir property after the tomcat server untar the ROOT.war file.
But, still not working.. Guanyu On 4/14/07, rubdabadub <[EMAIL PROTECTED]> wrote:
hi Under tomcat/ROOT/WEB-INF/classes (ROOT being the nutch-xx.war that you copied during setup) you will find another copy of nutch-site.xml. This one is used by tomcat so make sure you have the correct searcher.dir property ... I am guessing you have made the changes (nutch-site.xml) after you have done "ant tar" . This is why the old nutch-site.xml is coppied as a part of you nutch-xxx.war and it doesn't reflect the new searcher.dir location. you can either edit the nutch-site.xml under tomcat or rebuild - redeploy. both will work! IMHO the easiest solution would be to always edit the nutch-site.xml under tomcat for testing etc. And make a symbolic link to the nutch-site.xml under nutch-src/conf. hope this helps raj On 4/13/07, Guanyu Chu <[EMAIL PROTECTED]> wrote: > I have set the property searcher.dir in nutch-site.xml configured in > my nutch webapp in tomcat according the tutorial, but it didn't work. > I have to start the tomcat where the crawl folder is at in order to > make the site work. Am I doing something wrong? > > Thanks, > > <?xml version="1.0"?> > <?xml-stylesheet type="text/xsl" href="nutch-conf.xsl"?> > > <!-- Put site-specific property overrides in this file. --> > > <nutch-conf> > <property> > <name>searcher.dir</name> > <value>/opt/nutch/crawl</value> > </property> > </nutch-conf> > > > Guanyu > > -- > > "Simplicity is the key to brilliance." >
-- "Simplicity is the key to brilliance."
