Hi Folks,

I am following the Nutch tutorial
http://lucene.apache.org/nutch/tutorial.html and trying to install
Nutch-0.7.2 on Ubuntu. I have also seen the wiki entry for getting
Nutch running on Ubuntu and followed all the steps.

The search works fine if I give the command:
bin/nutch org.apache.nutch.searcher.NutchBean query

If I access it via the browser I get the following error when I
search. The below error is for opensearch, but the searching using
search.jsp also gives a similar error.

I have edited the nutch-site.xml properly to point searcher.dir to the
right place.

Please help.

====ERROR====

HTTP Status 500 -

type Exception report

message

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

exception

javax.servlet.ServletException
        org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:290)
        
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
        
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:114)
        
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
        org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
        
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
        
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
        
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
        
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        java.lang.Thread.run(Thread.java:595)

root cause

java.lang.NoClassDefFoundError
        
org.apache.nutch.searcher.OpenSearchServlet.init(OpenSearchServlet.java:61)
        sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        java.lang.reflect.Method.invoke(Method.java:585)
        org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
        java.security.AccessController.doPrivileged(Native Method)
        javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
        org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
        
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
        
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:114)
        
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
        org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
        
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
        
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
        
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
        
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        java.lang.Thread.run(Thread.java:595)

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




-- 
www.jkg.in | http://www.jkg.in/contact-me/
Jayant Kr. Gandhi

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