cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "g[R]eK" <g...@bluebottle.com>
Subject Malformed stream: Read timed out
Date Fri, 07 Oct 2005 22:40:35 GMT
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(MultipartParser.java:175)
	at org.apache.cocoon.servlet.multipart.MultipartParser.parseMultiPart(MultipartParser.java:128)
	at org.apache.cocoon.servlet.multipart.MultipartParser.getParts(MultipartParser.java:101)
	at org.apache.cocoon.servlet.multipart.MultipartParser.getParts(MultipartParser.java:107)
	at org.apache.cocoon.servlet.multipart.RequestFactory.getServletRequest(RequestFactory.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(ApplicationFilterChain.java:252)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at net.mmogspot.warsztat.helpers.HibernateFilter.doFilter(HibernateFilter.java:30)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java: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.processConnection(Http11Protocol.java:744)
	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.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(MultipartParser.java:175)
	at org.apache.cocoon.servlet.multipart.MultipartParser.parseMultiPart(MultipartParser.java:128)
	at org.apache.cocoon.servlet.multipart.MultipartParser.getParts(MultipartParser.java:101)
	at org.apache.cocoon.servlet.multipart.MultipartParser.getParts(MultipartParser.java:107)
	at org.apache.cocoon.servlet.multipart.RequestFactory.getServletRequest(RequestFactory.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(ApplicationFilterChain.java:252)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at net.mmogspot.warsztat.helpers.HibernateFilter.doFilter(HibernateFilter.java:30)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java: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.processConnection(Http11Protocol.java:744)
	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
	at java.lang.Thread.run(Thread.java:595)



-- 
Grzegorz Kossakowski (AKA g[R]eK)

Mime
View raw message