See in jira, I sent a patch to solve this problem.

Aled Jones wrotte:

Further to this, although most cached pages work, I sometimes get errors
from Tomcat similar to:
type Status report

message /cgi-bin/pcrdir2.asp

description The requested resource (/cgi-bin/pcrdir2.asp) is not
available.



And I've also seen:

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


root cause
java.lang.NullPointerException
        org.apache.jsp.cached_jsp._jspService(cached_jsp.java:88)
        
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:324)
        
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)


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

Catalina logs has:
2005-11-29 10:46:38 StandardWrapperValve[jsp]: Servlet.service() for
servlet jsp threw exception
java.lang.NullPointerException
        at org.apache.jsp.cached_jsp._jspService(cached_jsp.java:88)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:324)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
        at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:237)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:214)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
        at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon
textValve.java:198)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:152)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:137)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:118)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
        at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:79
9)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:705)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57
7)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683)
        at java.lang.Thread.run(Thread.java:534)

Any ideas?
-----Neges Wreiddiol-----/-----Original Message-----
Oddi wrth/From: Aled Jones Anfonwyd/Sent: 29 November 2005 10:32
At/To: nutch-user@lucene.apache.org
Pwnc/Subject: ATB: Crawled cached pages do not show images

Thanks. Fixed the issue. That line was commented out in the release chached.jsp for some reason?
-----Neges Wreiddiol-----/-----Original Message----- Oddi
wrth/From:
YourSoft [mailto:[EMAIL PROTECTED]
Anfonwyd/Sent: 29 November 2005 09:37
At/To: nutch-user@lucene.apache.org
Pwnc/Subject: Re: Crawled cached pages do not show images

I think you rewrite the cached.jsp.
There is missing the following from your file:
<base href="<%=details.getValue("url")%>">

Aled Jones wrotte:

Hi again,

I've just noticed that when clicking on the cached page link, the resulting page doesn't contain any images. Are there any plans to correct this or is it an error in
my setup or
crawl results?

Thanks
Aled.
*************************************************************
**********
* This e-mail and any attachments are strictly confidential and intended solely for the addressee. They may contain
information which is covered by legal, professional or other privilege. If you are not the intended addressee, you must not copy the e-mail or the attachments, or use them for any purpose
or disclose
their contents to any other person. To do so may be
unlawful. If you
have received this transmission in error, please notify us
as soon as
possible and delete the message and attachments from all places in your computer where they are stored.
Although we have scanned this e-mail and any attachments for
viruses, it is your responsibility to ensure that they are actually virus free.



**************************************************************
**********
This e-mail and any attachments are strictly confidential and intended solely for the addressee. They may contain information which is covered by legal, professional or other privilege. If you are not the intended addressee, you must not copy the e-mail or the attachments, or use them for any purpose or disclose their contents to any other person. To do so may be unlawful. If you have received this transmission in error, please notify us as soon as possible and delete the message and attachments from all places in your computer where they are stored. Although we have scanned this e-mail and any attachments for viruses, it is your responsibility to ensure that they are actually virus free.




************************************************************************
This e-mail and any attachments are strictly confidential and intended solely for the addressee. They may contain information which is covered by legal, professional or other privilege. If you are not the intended addressee, you must not copy the e-mail or the attachments, or use them for any purpose or disclose their contents to any other person. To do so may be unlawful. If you have received this transmission in error, please notify us as soon as possible and delete the message and attachments from all places in your computer where they are stored.
Although we have scanned this e-mail and any attachments for viruses, it is 
your responsibility to ensure that they are actually virus free.




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Nutch-general mailing list
Nutch-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nutch-general



Reply via email to