Hi,

Looks the permission problem. When crawling the following exception are there in the log file

050617 143628 crawl started in: crawl-20050617143627
050617 143628 rootUrlFile = urls
050617 143628 threads = 10
050617 143628 depth = 3
050617 143628 Created webdb at LocalFS,

java.io.FileNotFoundException: urls (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:103)
at java.io.FileReader.<init>(FileReader.java:55)
at net.nutch.db.WebDBInjector.injectURLFile(WebDBInjector.java:359)
at net.nutch.db.WebDBInjector.main(WebDBInjector.java:510)
at net.nutch.tools.CrawlTool.main(CrawlTool.java:121)
Exception in thread "main"

Thanks & Rgds,
Pradyumna

----- Original Message ----- From: "Howie Wang" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[email protected]>
Sent: Thursday, June 16, 2005 8:53 PM
Subject: Re: Installing Nutch on Windows


It's possibly a permissions problem. I'd probably just run
Filemon (http://www.sysinternals.com/Utilities/Filemon.html),
and see what it's choking on. The code that is failing seems
to be when it's trying to find the segment and index directories
in the crawl directory.

Howie

Hi,

I have done the crawling as per the instructions and also pointed the created directory path in the conf/nutch-default.xml for search.dir
But still getting exception

Thanks & Rgds,
Pradyumna
----- Original Message ----- From: "Howie Wang" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[email protected]>
Sent: Thursday, June 16, 2005 8:17 PM
Subject: RE: Installing Nutch on Windows


Did you do a valid search/crawl, and update the searcher.dir property in your
conf/nutch-default.xml to point to the created directory?

Howie

Hi,

I have installed Nutch and cygwin on windows. I am getting the search index page. But if I try to search I am getting the following exceptions


HTTP Status 500 -

--------------------------------------------------------------------------------

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:346)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

root cause

java.lang.NullPointerException
net.nutch.searcher.NutchBean.init(NutchBean.java:82)
net.nutch.searcher.NutchBean.<init>(NutchBean.java:68)
net.nutch.searcher.NutchBean.<init>(NutchBean.java:58)
net.nutch.searcher.NutchBean.get(NutchBean.java:50)
org.apache.jsp.search_jsp._jspService(search_jsp.java:112)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:298)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

note The full stack trace of the root cause is available in the Apache Tomcat/5.0.25 logs.


--------------------------------------------------------------------------------

Apache Tomcat/5.0.25

Thanks and Regards,

Pradyumna








Reply via email to