tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Piotr Dziędziel <piotr.dziedz...@comarch.pl>
Subject Uploading the file
Date Wed, 13 Sep 2006 12:25:46 GMT
Hi All,
When I'm uploading the file (size 4MB) from the same LAN everything is OK.

When  I'm uploading from different system over LAN or from the internet and
the file has size is 3MB or lower, it's OK, uploading ends successful. 

I am facing the problem while uploading the file size bigger then 3MB ( size
4MB) from different system over LAN or from the internet. It is giving the
following exception. Could anyone got this problem and found solution for
this, Please help me out, as I am new to Struts framework.. Please. Tomcat
version 4.1.31. When 
Exception Details from Catalina.out are :

 

[ERROR] CommonsMultipartRequestHandler - -Failed to parse multipart request
<org.apache.commons.fileupload.FileUploadException: Processing of
multipart/form-data request failed. Stream ended
unexpectedly>org.apache.commons.fileupload.FileUploadException: Processing
of multipart/form-data request failed. Stream ended unexpectedly

            at
org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.jav
a:429)

            at
org.apache.struts.upload.CommonsMultipartRequestHandler.handleRequest(Common
sMultipartRequestHandler.java:233)

            at
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1209)

            at
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.j
ava:821)

            at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254)

            at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)

            at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)

            at
comarch.cms.bo.servlets.ActionServlet.doPost(ActionServlet.java:31)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:716)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)

            at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:200)

            at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:146)

            at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:209)

            at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:596)

            at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)

            at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)

            at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:144)

            at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:596)

            at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)

            at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)

            at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)

            at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133
)

            at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:596)

            at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:118)

            at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:594)

            at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116
)

            at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:594)

            at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)

            at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)

            at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:127)

            at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:596)

            at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)

            at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)

            at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)

            at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)

            at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)

            at
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)

            at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)

            at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)

            at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:683)

            at java.lang.Thread.run(Thread.java:534)

 



--
Empowering business
http://webinars.comarch.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message