cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stuart Roebuck <stuart.roeb...@adolos.co.uk>
Subject [C 2.0.2] [Bug] Broken Pipes / Long files / Byte Ranges & ResourceReader
Date Wed, 29 May 2002 16:11:22 GMT
I'm having problems with a live Cocoon 2.0.2 site which appear to be 
related to the way that some browsers choose to download longer files as 
byte ranges.

Currently, if you attempt to download a byte range from Cocoon it 
generates a _very_ long stack dump (see below).

I don't know whether there is any anticipation of Cocoon supporting byte 
ranges, but I also notice comments about the fact that ResourceReader 
currently appears to advertise byte range support.

Does anyone know why this is?

If I can find out the proper syntax for advertising non byte-range 
support I'll try patching that in and see if that helps.

Stuart.

> ERROR   (2002-05-29) 00:57.33:282   [sitemap](/title_subscribe.mp3) 
> HttpProcessor[80][2]/PipelineNode: Error while processing pipeline at 
> file:/usr/local/adolos_updater/cueandreview/site/sitemap.xmap:273:17
> org.apache.cocoon.ProcessingException: Failed to execute pipeline.: 
> java.io.IOException: Broken pipe
> 	at 
> org.apache.cocoon.components.pipeline.CachingStreamPipeline.processReader(
> CachingStreamPipeline.java:278)
> 	at 
> org.apache.cocoon.components.pipeline.AbstractStreamPipeline.process
> (AbstractStreamPipeline.java:168)
> 	at 
> org.apache.cocoon.components.pipeline.CachingStreamPipeline.process
> (CachingStreamPipeline.java:293)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.ReadNode.invoke
> (ReadNode.java:133)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(
> AbstractParentProcessingNode.java:85)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(
> PreparableMatchNode.java:156)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(
> AbstractParentProcessingNode.java:109)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke
> (PipelineNode.java:140)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(
> AbstractParentProcessingNode.java:109)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke
> (PipelinesNode.java:130)
> 	at 
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process
> (TreeProcessor.java:359)
> 	at 
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process
> (TreeProcessor.java:329)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke
> (MountNode.java:131)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(
> AbstractParentProcessingNode.java:85)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke
> (ActTypeNode.java:150)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(
> AbstractParentProcessingNode.java:85)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(
> PreparableMatchNode.java:156)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(
> AbstractParentProcessingNode.java:109)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke
> (PipelineNode.java:140)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(
> AbstractParentProcessingNode.java:109)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke
> (PipelinesNode.java:130)
> 	at 
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process
> (TreeProcessor.java:359)
> 	at 
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process
> (TreeProcessor.java:329)
> 	at org.apache.cocoon.Cocoon.process(Cocoon.java:575)
> 	at 
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:978)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:247)
> 	at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterChain.java:193)
> 	at 
> org.apache.catalina.core.StandardWrapperValve.invoke
> (StandardWrapperValve.java:243)
> 	at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
> 566)
> 	at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> 	at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 	at 
> org.apache.catalina.core.StandardContextValve.invoke
> (StandardContextValve.java:201)
> 	at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
> 566)
> 	at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> 	at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 	at 
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
> 	at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
> 164)
> 	at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
> 566)
> 	at 
> org.apache.catalina.valves.ErrorDispatcherValve.invoke
> (ErrorDispatcherValve.java:170)
> 	at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
> 564)
> 	at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
> 170)
> 	at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
> 564)
> 	at 
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
> 	at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
> 564)
> 	at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> 	at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 	at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
> 163)
> 	at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
> 566)
> 	at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> 	at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 	at 
> org.apache.catalina.connector.http10.HttpProcessor.process
> (HttpProcessor.java:666)
> 	at 
> org.apache.catalina.connector.http10.HttpProcessor.run(HttpProcessor.java:
> 788)
> 	at java.lang.Thread.run(Thread.java:484)
> java.io.IOException: Broken pipe
> 	at java.net.SocketOutputStream.socketWrite(Native Method)
> 	at java.net.SocketOutputStream.write(SocketOutputStream.java:83)
> 	at 
> org.apache.catalina.connector.ResponseBase.flushBuffer(ResponseBase.java:
> 679)
> 	at 
> org.apache.catalina.connector.HttpResponseBase.flushBuffer
> (HttpResponseBase.java:741)
> 	at 
> org.apache.catalina.connector.ResponseBase.write(ResponseBase.java:652)
> 	at 
> org.apache.catalina.connector.ResponseBase.write(ResponseBase.java:657)
> 	at 
> org.apache.catalina.connector.ResponseStream.write(ResponseStream.java:312)
> 	at 
> org.apache.catalina.connector.ResponseStream.write(ResponseStream.java:286)
> 	at 
> org.apache.cocoon.components.pipeline.CachingStreamPipeline.processReader(
> CachingStreamPipeline.java:222)
> 	at 
> org.apache.cocoon.components.pipeline.AbstractStreamPipeline.process
> (AbstractStreamPipeline.java:168)
> 	at 
> org.apache.cocoon.components.pipeline.CachingStreamPipeline.process
> (CachingStreamPipeline.java:293)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.ReadNode.invoke
> (ReadNode.java:133)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(
> AbstractParentProcessingNode.java:85)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(
> PreparableMatchNode.java:156)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(
> AbstractParentProcessingNode.java:109)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke
> (PipelineNode.java:140)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(
> AbstractParentProcessingNode.java:109)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke
> (PipelinesNode.java:130)
> 	at 
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process
> (TreeProcessor.java:359)
> 	at 
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process
> (TreeProcessor.java:329)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke
> (MountNode.java:131)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(
> AbstractParentProcessingNode.java:85)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke
> (ActTypeNode.java:150)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(
> AbstractParentProcessingNode.java:85)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(
> PreparableMatchNode.java:156)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(
> AbstractParentProcessingNode.java:109)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke
> (PipelineNode.java:140)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(
> AbstractParentProcessingNode.java:109)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke
> (PipelinesNode.java:130)
> 	at 
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process
> (TreeProcessor.java:359)
> 	at 
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process
> (TreeProcessor.java:329)
> 	at org.apache.cocoon.Cocoon.process(Cocoon.java:575)
> 	at 
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:978)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:247)
> 	at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterChain.java:193)
> 	at 
> org.apache.catalina.core.StandardWrapperValve.invoke
> (StandardWrapperValve.java:243)
> 	at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
> 566)
> 	at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> 	at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 	at 
> org.apache.catalina.core.StandardContextValve.invoke
> (StandardContextValve.java:201)
> 	at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
> 566)
> 	at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> 	at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 	at 
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
> 	at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
> 164)
> 	at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
> 566)
> 	at 
> org.apache.catalina.valves.ErrorDispatcherValve.invoke
> (ErrorDispatcherValve.java:170)
> 	at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
> 564)
> 	at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
> 170)
> 	at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
> 564)
> 	at 
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
> 	at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
> 564)
> 	at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> 	at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 	at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
> 163)
> 	at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
> 566)
> 	at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> 	at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 	at 
> org.apache.catalina.connector.http10.HttpProcessor.process
> (HttpProcessor.java:666)
> 	at 
> org.apache.catalina.connector.http10.HttpProcessor.run(HttpProcessor.java:
> 788)
> 	at java.lang.Thread.run(Thread.java:484)
> java.io.IOException: Broken pipe
> 	at java.net.SocketOutputStream.socketWrite(Native Method)
> 	at java.net.SocketOutputStream.write(SocketOutputStream.java:83)
> 	at 
> org.apache.catalina.connector.ResponseBase.flushBuffer(ResponseBase.java:
> 679)
> 	at 
> org.apache.catalina.connector.HttpResponseBase.flushBuffer
> (HttpResponseBase.java:741)
> 	at 
> org.apache.catalina.connector.ResponseBase.write(ResponseBase.java:652)
> 	at 
> org.apache.catalina.connector.ResponseBase.write(ResponseBase.java:657)
> 	at 
> org.apache.catalina.connector.ResponseStream.write(ResponseStream.java:312)
> 	at 
> org.apache.catalina.connector.ResponseStream.write(ResponseStream.java:286)
> 	at 
> org.apache.cocoon.components.pipeline.CachingStreamPipeline.processReader(
> CachingStreamPipeline.java:222)
> 	at 
> org.apache.cocoon.components.pipeline.AbstractStreamPipeline.process
> (AbstractStreamPipeline.java:168)
> 	at 
> org.apache.cocoon.components.pipeline.CachingStreamPipeline.process
> (CachingStreamPipeline.java:293)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.ReadNode.invoke
> (ReadNode.java:133)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(
> AbstractParentProcessingNode.java:85)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(
> PreparableMatchNode.java:156)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(
> AbstractParentProcessingNode.java:109)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke
> (PipelineNode.java:140)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(
> AbstractParentProcessingNode.java:109)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke
> (PipelinesNode.java:130)
> 	at 
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process
> (TreeProcessor.java:359)
> 	at 
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process
> (TreeProcessor.java:329)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke
> (MountNode.java:131)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(
> AbstractParentProcessingNode.java:85)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke
> (ActTypeNode.java:150)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(
> AbstractParentProcessingNode.java:85)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(
> PreparableMatchNode.java:156)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(
> AbstractParentProcessingNode.java:109)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke
> (PipelineNode.java:140)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(
> AbstractParentProcessingNode.java:109)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke
> (PipelinesNode.java:130)
> 	at 
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process
> (TreeProcessor.java:359)
> 	at 
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process
> (TreeProcessor.java:329)
> 	at org.apache.cocoon.Cocoon.process(Cocoon.java:575)
> 	at 
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:978)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:247)
> 	at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterChain.java:193)
> 	at 
> org.apache.catalina.core.StandardWrapperValve.invoke
> (StandardWrapperValve.java:243)
> 	at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
> 566)
> 	at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> 	at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 	at 
> org.apache.catalina.core.StandardContextValve.invoke
> (StandardContextValve.java:201)
> 	at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
> 566)
> 	at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> 	at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 	at 
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
> 	at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
> 164)
> 	at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
> 566)
> 	at 
> org.apache.catalina.valves.ErrorDispatcherValve.invoke
> (ErrorDispatcherValve.java:170)
> 	at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
> 564)
> 	at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
> 170)
> 	at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
> 564)
> 	at 
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
> 	at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
> 564)
> 	at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> 	at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 	at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
> 163)
> 	at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
> 566)
> 	at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> 	at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 	at 
> org.apache.catalina.connector.http10.HttpProcessor.process
> (HttpProcessor.java:666)
> 	at 
> org.apache.catalina.connector.http10.HttpProcessor.run(HttpProcessor.java:
> 788)
> 	at java.lang.Thread.run(Thread.java:484)



            Public Key - 1024D/88DD65AF 2001-11-23 Stuart Roebuck (Adolos)
      Key fingerprint = 89D9 E405 F8B1 9B22 0FA2  F2C1 9E57 5AB1 88DD 65AF
-------------------------------------------------------------------------
Stuart Roebuck                                  stuart.roebuck@adolos.com
Systems Architect                             Java, XML, MacOS X, XP, 
etc.
ADOLOS                                           <http://www.adolos.com/>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message