cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Volker Renneberg <volker.renneb...@UniBw-Muenchen.de>
Subject Resource Reader, broken pipe, large files
Date Thu, 01 Aug 2002 09:42:38 GMT
Hi!

I've a problem with cocoon 2.0.3 (cataline 4.0.1). The resource reader (or 
catalina?!) seems not to be able to cope with large files. In my current case 
it stops downloading after 2105344 Bytes. I had this problem earlier but 
there around 16 MB.

The log mentions a broken pipe-problem(long but complete, see below). Is there 
any solution to this problem or does anybody now why this happens?

ciao
Volker

-------------------------> Log
FATAL_E (2002-08-01) 10:35.37:728   [core.xslt-processor] 
(/cocoon/pfiles/Shared/madonna/Madonna_-_What_It_Feels_Like_For_A_Girl.mp3) 
HttpProcessor[8080][1]/TraxErrorHandler: Error in TraxTransformer: 
javax.xml.transform.TransformerException: java.io.IOException: Broken pipe
javax.xml.transform.TransformerException: java.io.IOException: Broken pipe
        at 
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:725)
        at 
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:422)
        at 
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:226)
        at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2243)
        at 
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2069)
        at 
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1171)
        at 
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3196)
        at java.lang.Thread.run(Thread.java:484)
---------
java.io.IOException: Broken pipe
        at 
org.apache.xalan.serialize.SerializerToXML.outputLineSep(SerializerToXML.java:199)
        at 
org.apache.xalan.serialize.SerializerToXML.indent(SerializerToXML.java:2387)
        at 
org.apache.xalan.serialize.SerializerToHTML.endElement(SerializerToHTML.java:731)
        at 
org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1047)
        at 
org.apache.cocoon.xml.AbstractXMLPipe.endElement(AbstractXMLPipe.java:147)
        at 
org.apache.cocoon.serialization.AbstractTextSerializer$NamespaceAsAttributes.endElement(AbstractTextSerializer.java:488)
        at 
org.apache.cocoon.xml.AbstractXMLPipe.endElement(AbstractXMLPipe.java:147)
        at 
org.apache.xalan.transformer.ResultTreeHandler.endElement(ResultTreeHandler.java:307)
        at 
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:716)
        at 
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:422)
        at 
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:226)
        at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2243)
        at 
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2069)
        at 
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1171)
        at 
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3196)
        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.http.HttpResponseStream.write(HttpResponseStream.java:175)
        at 
java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:72)
        at java.io.BufferedOutputStream.write(BufferedOutputStream.java:85)
        at 
org.apache.xalan.serialize.WriterToUTF8.write(WriterToUTF8.java:138)
        at 
org.apache.xalan.serialize.SerializerToXML.outputLineSep(SerializerToXML.java:195)
        at 
org.apache.xalan.serialize.SerializerToXML.indent(SerializerToXML.java:2387)
        at 
org.apache.xalan.serialize.SerializerToHTML.endElement(SerializerToHTML.java:731)
        at 
org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1047)
        at 
org.apache.cocoon.xml.AbstractXMLPipe.endElement(AbstractXMLPipe.java:147)
        at 
org.apache.cocoon.serialization.AbstractTextSerializer$NamespaceAsAttributes.endElement(AbstractTextSerializer.java:488)
        at 
org.apache.cocoon.xml.AbstractXMLPipe.endElement(AbstractXMLPipe.java:147)
        at 
org.apache.xalan.transformer.ResultTreeHandler.endElement(ResultTreeHandler.java:307)
        at 
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:716)
        at 
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:422)
        at 
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:226)
        at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2243)
        at 
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2069)
        at 
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1171)
        at 
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3196)
        at java.lang.Thread.run(Thread.java:484)
ERROR   (2002-08-01) 10:35.37:749   [access] (Unknown-URI) 
Unknown-thread/CocoonServlet: Cocoon servlet threw an Exception while trying 
to close stream.
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.ResponseFacade.flushBuffer(ResponseFacade.java:212)
        at 
org.apache.catalina.connector.ResponseStream.flush(ResponseStream.java:244)
        at 
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1126)
        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.valves.CertificatesValve.invoke(CertificatesValve.java:246)
        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.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.http.HttpProcessor.process(HttpProcessor.java:1011)
        at 
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
        at java.lang.Thread.run(Thread.java:484)
FATAL_E (2002-08-01) 11:14.51:069   [core.xslt-processor] 
(/cocoon/pfiles/Shared/madonna/Massive_Attack_&_Madonna_-_I_Want_You.mp3) 
HttpProcessor[8080][2]/TraxErrorHandler: Error in TraxTransformer: 
javax.xml.transform.TransformerException: java.io.IOException: Broken pipe
javax.xml.transform.TransformerException: java.io.IOException: Broken pipe
        at 
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:725)
        at 
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:422)
        at 
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:226)
        at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2243)
        at 
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2069)
        at 
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1171)
        at 
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3196)
        at java.lang.Thread.run(Thread.java:484)
---------
java.io.IOException: Broken pipe
        at 
org.apache.xalan.serialize.SerializerToXML.outputLineSep(SerializerToXML.java:199)
        at 
org.apache.xalan.serialize.SerializerToXML.indent(SerializerToXML.java:2387)
        at 
org.apache.xalan.serialize.SerializerToHTML.endElement(SerializerToHTML.java:731)
        at 
org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1047)
        at 
org.apache.cocoon.xml.AbstractXMLPipe.endElement(AbstractXMLPipe.java:147)
        at 
org.apache.cocoon.serialization.AbstractTextSerializer$NamespaceAsAttributes.endElement(AbstractTextSerializer.java:488)
        at 
org.apache.cocoon.xml.AbstractXMLPipe.endElement(AbstractXMLPipe.java:147)
        at 
org.apache.xalan.transformer.ResultTreeHandler.endElement(ResultTreeHandler.java:307)
        at 
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:716)
        at 
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:422)
        at 
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:226)
        at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2243)
        at 
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2069)
        at 
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1171)
        at 
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3196)
        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.http.HttpResponseStream.write(HttpResponseStream.java:175)
        at 
java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:72)
        at java.io.BufferedOutputStream.write(BufferedOutputStream.java:85)
        at 
org.apache.xalan.serialize.WriterToUTF8.write(WriterToUTF8.java:138)
        at 
org.apache.xalan.serialize.SerializerToXML.outputLineSep(SerializerToXML.java:195)
        at 
org.apache.xalan.serialize.SerializerToXML.indent(SerializerToXML.java:2387)
        at 
org.apache.xalan.serialize.SerializerToHTML.endElement(SerializerToHTML.java:731)
        at 
org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1047)
        at 
org.apache.cocoon.xml.AbstractXMLPipe.endElement(AbstractXMLPipe.java:147)
        at 
org.apache.cocoon.serialization.AbstractTextSerializer$NamespaceAsAttributes.endElement(AbstractTextSerializer.java:488)
        at 
org.apache.cocoon.xml.AbstractXMLPipe.endElement(AbstractXMLPipe.java:147)
        at 
org.apache.xalan.transformer.ResultTreeHandler.endElement(ResultTreeHandler.java:307)
        at 
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:716)
        at 
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:422)
        at 
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:226)
        at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2243)
        at 
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2069)
        at 
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1171)
        at 
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3196)
        at java.lang.Thread.run(Thread.java:484)
ERROR   (2002-08-01) 11:14.51:113   [access] (Unknown-URI) 
Unknown-thread/CocoonServlet: Cocoon servlet threw an Exception while trying 
to close stream.
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.ResponseFacade.flushBuffer(ResponseFacade.java:212)
        at 
org.apache.catalina.connector.ResponseStream.flush(ResponseStream.java:244)
        at 
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1126)
        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.valves.CertificatesValve.invoke(CertificatesValve.java:246)
        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.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.http.HttpProcessor.process(HttpProcessor.java:1011)
        at 
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
        at java.lang.Thread.run(Thread.java:484)

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message