It should be java -versionI think.

Paul Stewart <[EMAIL PROTECTED]> wrote:  Thanks for the reply... I apologize as 
I'm very new to the Java
world...:)

I am running the following:

Fedora Core 4
Apache Tomcat 5.5.16 (binary download from Tomcat site installed to
/usr/local/tomcat5)
jre1.5.0_06 (binary download from Sun site to /usr/java/jre1.5.0_06)

Weird though - when I try to do a java -v I get this now:

[EMAIL PROTECTED] jre1.5.0_06]# export JAVA_HOME=/usr/java/jre1.5.0_06/
[EMAIL PROTECTED] jre1.5.0_06]# /usr/java/jre1.5.0_06/bin/java -v
Unrecognized option: -v
Could not create the Java virtual machine.

Is this my actual problem possibly? Or is this the wrong Java version
to be running? When I downloaded 1.4.x tomcat told me it didn't support
anything but 1.5.x 

Thanks again for your patience...
Paul


-----Original Message-----
From: TDLN [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 06, 2006 7:16 AM
To: [email protected]
Subject: Re: Nutch 500 Error

What version are you on? If you trace the NullPointerException back to
the code, the NutchBean.init method is where it expects to find the
index and segments, so either they're missing (did you follow the
tutorial and merge your segment indexes?) or it is looking in the wrong
place. That's what I think.

Rgrds, Thomas



On 4/6/06, Paul Stewart 
wrote:
> Thanks.. Tried that ... Same error....
>
> 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.handleJspException(JspServ
> le
> tWrapper.java:510)
>
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
> ja
> va:393)
>
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:31
> 4)
>
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
>
> root cause
>
> java.lang.NullPointerException
> org.apache.nutch.searcher.NutchBean.init(NutchBean.java:96)
> org.apache.nutch.searcher.NutchBean.(NutchBean.java:82)
> org.apache.nutch.searcher.NutchBean.(NutchBean.java:72)
> org.apache.nutch.searcher.NutchBean.get(NutchBean.java:64)
> org.apache.jsp.search_jsp._jspService(search_jsp.java:112)
>
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
> ja
> va:332)
>
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:31
> 4)
>
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> -----Original Message-----
> From: TDLN [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 06, 2006 3:30 AM
> To: [email protected]
> Subject: Re: Nutch 500 Error
>
> My guess is you have to override the searcher.dir property in 
> nutch-site.xml and have it point to your crawl dir.
>
> Rgrds, Thomas
>
>
>
>



  Sudhi Seshachala
  http://sudhilogs.blogspot.com/
   


                        
---------------------------------
Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.

Reply via email to