Hello everyone,

I have installed nutch 0.8.1 on Windows XP SP2, together with Apache Tomcat 
6.0 and the Java SE Runtime environment (java version 1.6.0).

Installation went fine. I managed to index (through the command line, as 
indicated in the tutorial) a few intranet pages and to do a successful 
search through the bin/nutch command.

However, when I attempted the same search through Tomcat (which correctly 
shows the nutch home page), it returned 0 hits (and no error messages).

The logs show:

2007-02-23 12:44:50,593 INFO  NutchBean - creating new bean
2007-02-23 12:44:50,609 INFO  NutchBean - opening indexes in crawl/indexes
2007-02-23 12:44:50,671 INFO  Configuration - found resource 
common-terms.utf8 at 
file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/nutch/WEB-INF/classes/common-terms.utf8
2007-02-23 12:44:50,687 INFO  NutchBean - opening segments in crawl/segments
2007-02-23 12:44:50,703 INFO  SummarizerFactory - Using the first summarizer 
extension found: Basic Summarizer
2007-02-23 12:44:50,703 INFO  NutchBean - opening linkdb in crawl/linkdb
2007-02-23 12:44:50,718 INFO  NutchBean - query request from 127.0.0.1
2007-02-23 12:44:50,734 INFO  NutchBean - query: ircam
2007-02-23 12:44:50,734 INFO  NutchBean - lang: fr
2007-02-23 12:44:50,750 INFO  NutchBean - searching for 20 raw hits
2007-02-23 12:44:50,812 INFO  NutchBean - total hits: 0
2007-02-23 12:45:17,109 INFO  NutchBean - query request from 127.0.0.1
2007-02-23 12:45:17,109 INFO  NutchBean - query: ircam
2007-02-23 12:45:17,109 INFO  NutchBean - lang: fr
2007-02-23 12:45:17,109 INFO  NutchBean - searching for 20 raw hits
2007-02-23 12:45:17,109 INFO  NutchBean - total hits: 0

Any idea why this works only from the command line and not with Tomcat?

Thanks!

MF 


-------------------------------------------------------------------------
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

Reply via email to