cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz TaƄczyk <golia...@polzone.pl>
Subject mod_jk2 and file upload
Date Mon, 08 Nov 2004 22:45:07 GMT
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)
  

-- 
Best regards,
 Grzegorz                          mailto:goliatus@polzone.pl


Mime
View raw message