Hi,

please check the path of the search.dir in property file located in
webapps/nutch_depoly_directory/WEB-INF/classes, check it is accessable or
not.

if you use absolute path then this will be another problem

Hope it help



John Mendenhall wrote:
> 
> I am running nutch 0.9, with tomcat 6.0.14.
> When I use the NutchBean to search the index,
> it works fine.  I get back results, no errors.
> I have used tomcat before and it has worked
> fine.
> 
> Now I am getting an error searching through
> tomcat.  This is the tomcat error I am seeing
> in the catalina.out log file:
> 
> -----
> 2008-03-15 15:38:38,715 INFO  NutchBean - query request from
> 192.168.245.58
> 2008-03-15 15:38:38,717 INFO  NutchBean - query: penasquitos
> 2008-03-15 15:38:38,717 INFO  NutchBean - lang: en
> Mar 15, 2008 3:38:41 PM org.apache.catalina.core.StandardWrapperValve
> invoke
> SEVERE: Servlet.service() for servlet jsp threw exception
> java.lang.NullPointerException
>         at
> org.apache.nutch.searcher.FetchedSegments.getSummary(FetchedSegments.java:159)
>         at
> org.apache.nutch.searcher.FetchedSegments$SummaryThread.run(FetchedSegments.java:177)
> -----
> 
> When I run a search using the NutchBean, I
> see debug log entries in the hadoop.log.
> When I run the search using Tomcat, I never
> see any hadoop.log entires.
> 
> We have 1.4 million indexed pages, taking
> up 31gb for the nutch/crawl directory.
> 
> The search term doesn't matter.
> 
> My guess is it may be a memory error,
> but I am not seeing it anywhere.
> Is there a place where I can set the memory
> footprint for tomcat to use more memory?
> 
> Or, is there another place I should be looking?
> 
> Thanks in advance for any pointers or assistance.
> 
> JohnM
> 
> -- 
> john mendenhall
> [EMAIL PROTECTED]
> surf utopia
> internet services
> 
> 

-- 
View this message in context: 
http://www.nabble.com/nutch-0.9%2C-tomcat-6.0.14%2C-nutchbean-okay%2C-tomcat-search-error-tp16073740p16075186.html
Sent from the Nutch - User mailing list archive at Nabble.com.

Reply via email to