cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Noels <stev...@outerthought.org>
Subject FW: Malformed stream: Read timed out
Date Wed, 12 Oct 2005 14:18:44 GMT
forwarding this to a more appropriate list

On 08 Oct 2005, at 00:40, g[R]eK wrote:

> Hello!
>
> I have very mysterious error while using forms with  
> @enctype="multipart/form-data". _Some times_ while submiting the form  
> I get "org.apache.cocoon.servlet.multipart.MultipartException:  
> Malformed stream: Read timed" out error and have no idea what is the  
> cause. I get it even with simple form without any fields with  
> @type="file". Even more, this error seems to exist only if Cocoon is  
> proxied by Apache httpd (configured as described in [1]).
> I said the issue emerges only some times. That is true for my own  
> forms, but Daisy's editor always fails on clicking on "Switch editors  
> to textareas" but only if size of form data being submited to a server  
> is big enough (about 2000b). On small enough chunks of data being  
> submited to a server there is no error whatever I try to do. To  
> confuse more everything is on my production server (let's call it A)  
> but I can't reproduce it on my dev machine (call it B) with the same  
> configuration, and versions of httpd, tomcat etc. They only differ in  
> OS (details below).
>
> To sum up there is strange error that I get on more strange and  
> unclear conditions. They were so strange that I had no idea how  
> describe them that is why my mail is quite tangled.
>
> My configuration:
> A: FC 1, Tomcat 5.5.9, Apache httpd 2.0.51, Java 1.5.0_02, Cocoon  
> 2.1.7, Daisy 1.3
> B: WinXP SP 1, Tomcat 5.5.9, Apache httpd 2.0.51, Java 1.5.0_02,  
> Cocoon 2.1.7, Daisy 1.3
>
> Both tested using Firefox 1.0.7 and IE 6.0.
>
> I would be very thankful for any hints where to search, maybe some  
> tools to monitor data transmited on ports? I really don't have idea  
> what to do next :/
>
> [1] http://cocoondev.org/daisydocs-1_3/admin/99.html
>
> This is full exception:
>
>
>  Problem in creating the Request
>
> Message: Malformed stream: Read timed out
>
> Description: org.apache.cocoon.servlet.multipart.MultipartException:  
> Malformed stream: Read timed out
>
> Sender: org.apache.cocoon.servlet.CocoonServlet
>
> Source: Cocoon Servlet
>
> cause
>
> org.apache.cocoon.servlet.multipart.MultipartException: Malformed  
> stream: Read timed out
>
> request-uri
>
> /warsztat/daisy/warsztat/g2/g1/17/edit/ 
> 4e86451f4400448e6f2a71526c443a33782e241b
>
> full exception chain stacktrace
>
> org.apache.cocoon.servlet.multipart.MultipartException: Malformed  
> stream: Read timed out
> 	at  
> org.apache.cocoon.servlet.multipart.MultipartParser.parsePart(Multipart 
> Parser.java:175)
> 	at  
> org.apache.cocoon.servlet.multipart.MultipartParser.parseMultiPart(Mult 
> ipartParser.java:128)
> 	at  
> org.apache.cocoon.servlet.multipart.MultipartParser.getParts(MultipartP 
> arser.java:101)
> 	at  
> org.apache.cocoon.servlet.multipart.MultipartParser.getParts(MultipartP 
> arser.java:107)
> 	at  
> org.apache.cocoon.servlet.multipart.RequestFactory.getServletRequest(Re 
> questFactory.java:94)
> 	at  
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java: 
> 1029)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	at  
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic 
> ationFilterChain.java:252)
> 	at  
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil 
> terChain.java:173)
> 	at  
> net.mmogspot.warsztat.helpers.HibernateFilter.doFilter(HibernateFilter. 
> java:30)
> 	at  
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic 
> ationFilterChain.java:202)
> 	at  
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil 
> terChain.java:173)
> 	at  
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal 
> ve.java:213)
> 	at  
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal 
> ve.java:178)
> 	at  
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav 
> a:126)
> 	at  
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav 
> a:105)
> 	at  
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve 
> .java:107)
> 	at  
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: 
> 148)
> 	at  
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: 
> 856)
> 	at  
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process 
> Connection(Http11Protocol.java:744)
> 	at  
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoin 
> t.java:527)
> 	at  
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollo 
> werWorkerThread.java:80)
> 	at  
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo 
> l.java:684)
> 	at java.lang.Thread.run(Thread.java:595)
>
> stacktrace
>
> org.apache.cocoon.servlet.multipart.MultipartException: Malformed  
> stream: Read timed out
> 	at  
> org.apache.cocoon.servlet.multipart.MultipartParser.parsePart(Multipart 
> Parser.java:175)
> 	at  
> org.apache.cocoon.servlet.multipart.MultipartParser.parseMultiPart(Mult 
> ipartParser.java:128)
> 	at  
> org.apache.cocoon.servlet.multipart.MultipartParser.getParts(MultipartP 
> arser.java:101)
> 	at  
> org.apache.cocoon.servlet.multipart.MultipartParser.getParts(MultipartP 
> arser.java:107)
> 	at  
> org.apache.cocoon.servlet.multipart.RequestFactory.getServletRequest(Re 
> questFactory.java:94)
> 	at  
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java: 
> 1029)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	at  
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic 
> ationFilterChain.java:252)
> 	at  
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil 
> terChain.java:173)
> 	at  
> net.mmogspot.warsztat.helpers.HibernateFilter.doFilter(HibernateFilter. 
> java:30)
> 	at  
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic 
> ationFilterChain.java:202)
> 	at  
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil 
> terChain.java:173)
> 	at  
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal 
> ve.java:213)
> 	at  
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal 
> ve.java:178)
> 	at  
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav 
> a:126)
> 	at  
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav 
> a:105)
> 	at  
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve 
> .java:107)
> 	at  
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: 
> 148)
> 	at  
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: 
> 856)
> 	at  
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process 
> Connection(Http11Protocol.java:744)
> 	at  
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoin 
> t.java:527)
> 	at  
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollo 
> werWorkerThread.java:80)
> 	at  
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo 
> l.java:684)
> 	at java.lang.Thread.run(Thread.java:595)
>
>
>
> -- 
> Grzegorz Kossakowski (AKA g[R]eK)
>
</Steven>
-- 
Steven Noels                            http://outerthought.org/
Outerthought                              Open Source Java & XML
stevenn at outerthought.org                stevenn at apache.org


Mime
View raw message