Decompress the nutch-xxx.war.
In the WEB-INF/classes folder you will find a nutch-default.xml, there you can setup the path to your index folder. However the exception you get is strange since it mentioned you do not have all required classes in the classpath.

Am 28.01.2006 um 16:25 schrieb Lawrence W Thorne:

I hope I am emailing the correct address, if not, I apologize.

I am installing on Windows Server 2000 SP4 and am willing to produce a
detailed (with installation notes) installation/setup document for windows
(PDF even) in exchange for your help with this issue.

Windows Nutch testing server (do search to see error): the lang/ docs all
work fine.

http://66.65.133.195/

I probably have my Nutch unpackaged in the wrong place I'm sure. No problems
running Nutch from command line, the Db and Segment builds go fine -
importing DMOZ XML feed -3000 - indexing seems fine as well - no errors.

I'm going step by step through your tutorial, no errors using cygwin, but
when I attempt to search from above link I get 500 server error.

See error at end of email

I am new to Java but have worked extensively with VB, VB.NET PHP/ MySQL and
Perl - and am really excited about getting nutch up and running.

Back to CYGWIN session for bin/nutch commands in tutorial - to perhaps shed
some light. (see session below)

[EMAIL PROTECTED] /cygdrive/d/Nutch/nutch-0.7.1 $
/cygdrive/c/Program\ Files/Apache\ Group/Tomcat\ 4.1/bin/ catalina.sh start

Using CATALINA_BASE:   c:\Program Files\Apache Group\Tomcat 4.1

Using CATALINA_HOME:   c:\Program Files\Apache Group\Tomcat 4.1

Using CATALINA_TMPDIR: c:\Program Files\Apache Group\Tomcat 4.1\temp

Using JAVA_HOME:       c:\Program Files\Java\jdk1.5.0_06\



As you can see I have Tomcat installed default on C.

Sun/Nutch are installed/unpackaged to the larger drive at
D:\Sun\AppServer\domains\domain1\ and D:\Nutch\nutch-0.7.1\ respectively.



Do I need to have the nutch db and segments folders indexed inside
D:\Sun\AppServer\domains\domain1\applications\j2ee-modules\APPNAME ??



It is my understanding that as long as I initialize Catalina from the
directory above my segments and db dir, it will use that instance of the
indexed data?



This is the config I see from the Java Web Console:
${com.sun.aas.instanceRoot}/applications/j2ee-modules/nutch-0.7.1 which translates to D:\Sun\AppServer\domains\domain1\ which leads me to believe I
need to run my nutch db and segments indices from inside that folder?

 any help would be much appreciated.

-Lawrence Thorne

[EMAIL PROTECTED]


ERROR

!--BEGIN ERROR
type Exception report

message

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

exception

javax.servlet.ServletException
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
        sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)
        
sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl
.java:25)
        java.lang.reflect.Method.invoke(Method.java:585)
        
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
        java.security.AccessController.doPrivileged(Native Method)
        javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
        
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java: 282)
        
org.apache.catalina.security.SecurityUtil.doAsPrivilege (SecurityUtil.java:16
5)


root cause

java.lang.NoClassDefFoundError
        org.apache.jsp.search_jsp.(search_jsp.java:29)
        sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        
sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAcces
sorImpl.java:39)
        
sun.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingConstruc
torAccessorImpl.java:27)
        java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        java.lang.Class.newInstance0(Class.java:350)
        java.lang.Class.newInstance(Class.java:303)
        
org.apache.jasper.servlet.JspServletWrapper.getServlet (JspServletWrapper.jav
a:143)
        
org.apache.jasper.servlet.JspServletWrapper.service (JspServletWrapper.java:3
19)
        
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java: 301)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:251)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
        sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)
        
sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl
.java:25)
        java.lang.reflect.Method.invoke(Method.java:585)
        
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
        java.security.AccessController.doPrivileged(Native Method)
        javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
        
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java: 282)
        
org.apache.catalina.security.SecurityUtil.doAsPrivilege (SecurityUtil.java:16
5)


note The full stack trace of the root cause is available in the
Sun-Java-System/Application-Server logs.
!--END ERROR



---------------------------------------------------------------
company:        http://www.media-style.com
forum:        http://www.text-mining.org
blog:            http://www.find23.net


Reply via email to