cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorg Heymans ...@domek.be>
Subject Re: mod_jk2 and file upload
Date Tue, 09 Nov 2004 08:27:18 GMT
Hi,

I am consistently uploading 400kb files over mod_jk2 to Jetty without 
problems. I can send you my mod_jk2 config if you want.

Regards
Jorg

Grzegorz TaƄczyk wrote:
> Hello dev,
> 
>   I don't know what is reason of this problem: cocoon, tomcat or
>   mod_jk2. When I try to upload file with size greater then 4096 then
>   I see this error(see at the end :)). If I connect to cocoon directly
>   by 8080 port then there is no problem with it. When I look to
>   multipartparser.java I see:
>   private final static int FILE_BUFFER_SIZE = 4096;
> 
>   I didn't make any experiments, but isn't F_B_S to big?
> 
> ERROR   (2004-11-08) 12:06.48:866   [access] (Unknown-URI) Unknown-thread/CocoonServlet:
Problem with Cocoon servlet
> 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:1004)
>         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:256)
>         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
>         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
>         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)
>         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
>         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)
>         at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:324)
>         at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:395)
>         at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:673)
>         at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:615)
>         at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786)
>         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
>         at java.lang.Thread.run(Thread.java:534)
>   
> 


Mime
View raw message