That seems to have been the problem. Starting Tomcat
while in the Nutch root directory solves the problem. That
would probably be a good candidate for an FAQ item. ;-)

        Ryan

--
Ryan Ordway                           
Unix Systems Administrator            E-mail:
[EMAIL PROTECTED]
Oregon State University Libraries
[EMAIL PROTECTED]
121 The Valley Library
Corvallis, OR 97331                   Desk: 541.737.8972 

> -----Original Message-----
> From: Earl Cahill [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, September 14, 2005 5:42 PM
> To: [email protected]
> Subject: Re: NULL pointer exception
> 
> Did you start in the directory where the index
> resides?  Like literally cd to where the index is and
> then start from there?  Seems like I might have been
> getting at least a similar error and that helped me. 
> I would also suggest trying just straight up tomcat if
> possible, just to see if you can get it going at all
> first.
> 
> Good luck!
> Earl
> 
> --- "Ordway, Ryan" <[EMAIL PROTECTED]>
> wrote:
> 
> > 
> >     When attempting to do a search through the webapp,
> > I'm getting a NULL pointer exception. I'm not
> > talking
> > to Tomcat directly, I'm using mod_jk to connect
> > Apache to
> > Tomcat. I noticed that Nutch is trying to reference
> > /search.jsp,
> > but I've got the webapp JkMount'ed as /nutch/, so
> > the URL
> > should be /nutch/search.jsp. The jsp's seem to
> > reference things
> > in different ways, in some cases they will reference
> > /search.jsp
> > and sometimes ../search.jsp. Is this how it's
> > supposed to be?
> > Could this be the source of my NULL pointer
> > exceptions?
> > 
> >     Here is my exception:
> > 
> > org.apache.jasper.JasperException
> >     
> >
> org.apache.jasper.servlet.JspServletWrapper.service(JspServlet
> Wrapper.ja
> > va:372)
> >     
> >
> 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:802)
> > 
> >     FYI, I've got Apache rewriting the /*.jsp URLs to
> > /nutch/*.jsp,
> > so that may be causing a problem too...
> > 
> >     Thanks,
> > 
> >     Ryan
> > 
> > --
> > Ryan Ordway                           
> > Unix Systems Administrator            E-mail:
> > [EMAIL PROTECTED]
> > Oregon State University Libraries
> > [EMAIL PROTECTED]
> > 121 The Valley Library
> > Corvallis, OR 97331                   Desk:
> > 541.737.8972 
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 

Reply via email to