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." > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nutch-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nutch-general
