You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Veera (JIRA)" <ji...@apache.org> on 2018/04/30 06:48:00 UTC

[jira] [Commented] (FILEUPLOAD-262) Processing of multipart/form-data request failed. null

    [ https://issues.apache.org/jira/browse/FILEUPLOAD-262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16458361#comment-16458361 ] 

Veera commented on FILEUPLOAD-262:
----------------------------------

Hi All

 

I am  also facing the same exception with commons-fileupload-1.3.jar.  However It is not occuring if the client location is close the server location. It is occuring if the server is located at USA and client is located at somewhere in ASIA region.

 

I have attached the server logs for your reference.  and for quick reference.

2018-04-21 09:34:45,936 DEBUG [ajp-nio-0.0.0.0-8009-exec-12] [com.mpi.mp.webutil.upload.ClusteredFileUploadJobRegistry] setErrorMessage ::::::: bytes uploaded = 1092188510 Percentage completed ==== 62
2018-04-21 09:34:45,939 ERROR [ajp-nio-0.0.0.0-8009-exec-12] [com.mpi.mp.admin] Unhandled error [38c42d83-09ba-4eaa-8cb6-40f466183457]
org.springframework.web.multipart.MultipartException: Could not parse multipart servlet request; nested exception is org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. null
 at com.mpi.mp.webutil.upload.ProgressTrackingMultipartResolver.resolveMultipart(ProgressTrackingMultipartResolver.java:132) ~[mpi-webutils.jar:na]
 at org.springframework.web.servlet.DispatcherServlet.checkMultipart(DispatcherServlet.java:1041) [spring-webmvc.jar:3.2.10.RELEASE]
 at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:887) [spring-webmvc.jar:3.2.10.RELEASE]
 at com.mpi.mp.webutil.spring.MPIDispatcherServlet.dispatchAfterFiltering(MPIDispatcherServlet.java:78) [mpi-webutils.jar:na]
 at com.mpi.mp.webutil.spring.MPIDispatcherServlet.doDispatch(MPIDispatcherServlet.java:61) [mpi-webutils.jar:na]
 at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:851) [spring-webmvc.jar:3.2.10.RELEASE]
 at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:953) [spring-webmvc.jar:3.2.10.RELEASE]
 at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:855) [spring-webmvc.jar:3.2.10.RELEASE]
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:661) [servlet-api.jar:na]
 at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829) [spring-webmvc.jar:3.2.10.RELEASE]
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) [servlet-api.jar:na]
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [catalina.jar:8.5.23]
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.23]
 at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat7-websocket.jar:8.5.23]
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.23]
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.23]
 at com.mpi.mp.webutil.filter.RequestDumperFilter.doFilter(RequestDumperFilter.java:61) [mpi-webutils.jar:na]
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.23]
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.23]
 at com.mpi.util.web.CompositeFilter$IteratingFilterChain.doFilter(CompositeFilter.java:114) [mpi-lodgepole.jar:na]
 at com.mpi.mp.webutil.filter.DBCachingDisableFilter.doFilter(DBCachingDisableFilter.java:53) [mpi-webutils.jar:na]
 at com.mpi.util.web.CompositeFilter$IteratingFilterChain.doFilter(CompositeFilter.java:112) [mpi-lodgepole.jar:na]
 at com.media3k.escene.util.pipeline.URLStopWordsServlet.doFilter(URLStopWordsServlet.java:48) [mpi-lodgepole.jar:na]
 at com.mpi.util.web.CompositeFilter$IteratingFilterChain.doFilter(CompositeFilter.java:112) [mpi-lodgepole.jar:na]
 at com.media3k.escene.util.pipeline.NoCachingServlet.doFilter(NoCachingServlet.java:63) [mpi-lodgepole.jar:na]
 at com.mpi.util.web.CompositeFilter$IteratingFilterChain.doFilter(CompositeFilter.java:112) [mpi-lodgepole.jar:na]
 at com.qumu.rest.filter.Oauth2Filter.doFilter(Oauth2Filter.java:77) [mpi-rest.jar:na]
 at com.mpi.util.web.CompositeFilter$IteratingFilterChain.doFilter(CompositeFilter.java:112) [mpi-lodgepole.jar:na]
 at com.qumu.rest.filter.HTTPCORSFilter.doFilter(HTTPCORSFilter.java:79) [mpi-rest.jar:na]
 at com.mpi.util.web.CompositeFilter$IteratingFilterChain.doFilter(CompositeFilter.java:112) [mpi-lodgepole.jar:na]
 at com.mpi.mp.webutil.filter.SharedSecretSSOFilter.doFilter(SharedSecretSSOFilter.java:103) [mpi-webutils.jar:na]
 at com.mpi.util.web.CompositeFilter$IteratingFilterChain.doFilter(CompositeFilter.java:112) [mpi-lodgepole.jar:na]
 at com.mpi.mp.webutil.filter.SignedUrlFilter.doFilter(SignedUrlFilter.java:70) [mpi-webutils.jar:na]
 at com.mpi.util.web.CompositeFilter$IteratingFilterChain.doFilter(CompositeFilter.java:112) [mpi-lodgepole.jar:na]
 at com.mpi.mp.webutil.filter.LocaleSettingFilter.doFilter(LocaleSettingFilter.java:60) [mpi-webutils.jar:na]
 at com.mpi.util.web.CompositeFilter$IteratingFilterChain.doFilter(CompositeFilter.java:112) [mpi-lodgepole.jar:na]
 at com.mpi.mp.webutil.filter.CSRFFilter.doFilter(CSRFFilter.java:52) [mpi-webutils.jar:na]
 at com.mpi.util.web.CompositeFilter$IteratingFilterChain.doFilter(CompositeFilter.java:112) [mpi-lodgepole.jar:na]
 at com.mpi.mp.webutil.filter.DomainResolvingFilter.doFilter(DomainResolvingFilter.java:42) [mpi-webutils.jar:na]
 at com.mpi.util.web.CompositeFilter$IteratingFilterChain.doFilter(CompositeFilter.java:112) [mpi-lodgepole.jar:na]
 at com.mpi.system.crossapptoken.CrossAppTokenFilter.doFilter(CrossAppTokenFilter.java:45) [mpi-lodgepole.jar:na]
 at com.mpi.util.web.CompositeFilter$IteratingFilterChain.doFilter(CompositeFilter.java:112) [mpi-lodgepole.jar:na]
 at com.mpi.mp.webutil.filter.RequestProbeFilter.doFilter(RequestProbeFilter.java:22) [mpi-webutils.jar:na]
 at com.mpi.util.web.CompositeFilter.doFilter(CompositeFilter.java:76) [mpi-lodgepole.jar:na]
 at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343) [spring-web.jar:3.2.10.RELEASE]
 at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260) [spring-web.jar:3.2.10.RELEASE]
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.23]
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.23]
 at com.qumu.rest.filter.RestHttpMethodFilter.doFilter(RestHttpMethodFilter.java:30) [mpi-rest.jar:na]
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.23]
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.23]
 at com.mpi.mp.webutil.filter.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:34) [mpi-webutils.jar:na]
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.23]
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.23]
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) [catalina.jar:8.5.23]
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [catalina.jar:8.5.23]
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) [catalina.jar:8.5.23]
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) [catalina.jar:8.5.23]
 at org.apache.catalina.valves.rewrite.RewriteValve.invoke(RewriteValve.java:488) [tomcat-valves.jar:na]
 at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:677) [catalina.jar:8.5.23]
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) [catalina.jar:8.5.23]
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) [catalina.jar:8.5.23]
 at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:486) [tomcat-coyote.jar:8.5.23]
 at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-coyote.jar:8.5.23]
 at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) [tomcat-coyote.jar:8.5.23]
 at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459) [tomcat-coyote.jar:8.5.23]
 at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-coyote.jar:8.5.23]
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_152]
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_152]
 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.5.23]
 at java.lang.Thread.run(Thread.java:748) [na:1.8.0_152]
Caused by: org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. null
 at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:351) ~[commons-fileupload.jar:1.3]
 at org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:115) ~[commons-fileupload.jar:1.3]
 at com.mpi.mp.webutil.upload.ProgressTrackingMultipartResolver.resolveMultipart(ProgressTrackingMultipartResolver.java:70) ~[mpi-webutils.jar:na]
 ... 70 common frames omitted
Caused by: java.io.EOFException: null
 at org.apache.coyote.ajp.AjpProcessor.read(AjpProcessor.java:1322) [tomcat-coyote.jar:8.5.23]
 at org.apache.coyote.ajp.AjpProcessor.readMessage(AjpProcessor.java:625) [tomcat-coyote.jar:8.5.23]
 at org.apache.coyote.ajp.AjpProcessor.receive(AjpProcessor.java:587) [tomcat-coyote.jar:8.5.23]
 at org.apache.coyote.ajp.AjpProcessor.refillReadBuffer(AjpProcessor.java:695) [tomcat-coyote.jar:8.5.23]
 at org.apache.coyote.ajp.AjpProcessor$SocketInputBuffer.doRead(AjpProcessor.java:1433) ~[tomcat-coyote.jar:8.5.23]
 at org.apache.coyote.Request.doRead(Request.java:581) ~[tomcat-coyote.jar:8.5.23]
 at org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:326) ~[catalina.jar:8.5.23]
 at org.apache.catalina.connector.InputBuffer.checkByteBufferEof(InputBuffer.java:642) ~[catalina.jar:8.5.23]
 at org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:349) ~[catalina.jar:8.5.23]
 at org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:183) ~[catalina.jar:8.5.23]
 at org.apache.commons.fileupload.MultipartStream$ItemInputStream.makeAvailable(MultipartStream.java:997) ~[commons-fileupload.jar:1.3]
 at org.apache.commons.fileupload.MultipartStream$ItemInputStream.read(MultipartStream.java:901) ~[commons-fileupload.jar:1.3]
 at java.io.FilterInputStream.read(FilterInputStream.java:133) ~[na:1.8.0_152]
 at org.apache.commons.fileupload.util.LimitedInputStream.read(LimitedInputStream.java:134) ~[commons-fileupload.jar:1.3]
 at java.io.FilterInputStream.read(FilterInputStream.java:107) ~[na:1.8.0_152]
 at org.apache.commons.fileupload.util.Streams.copy(Streams.java:101) ~[commons-fileupload.jar:1.3]
 at org.apache.commons.fileupload.util.Streams.copy(Streams.java:70) ~[commons-fileupload.jar:1.3]
 at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:347) ~[commons-fileupload.jar:1.3]
 ... 72 common frames omitted
2018-04-21 09:35:15,261 DEBUG [ajp-nio-0.0.0.0-8009-exec-12] [com.mpi.mp.webutil.upload.ProgressTrackingMultipartResolver] encoding = 'UTF-8'.
2018-04-21 09:35:15,261 DEBUG [ajp-nio-0.0.0.0-8009-exec-12] [com.mpi.mp.webutil.upload.ProgressTrackingMultipartResolver] jobId = '71d7c2fd-af8d-4e85-a5f4-c24bc2c0780c'.
2018-04-21 09:35:15,261 DEBUG [ajp-nio-0.0.0.0-8009-exec-12] [com.mpi.mp.webutil.upload.ProgressTrackingMultipartResolver] encoding = 'UTF-8', id = '71d7c2fd-af8d-4e85-a5f4-c24bc2c0780c'.
2018-04-21 09:35:15,263 DEBUG [ajp-nio-0.0.0.0-8009-exec-12] [com.mpi.mp.webutil.upload.ProgressTrackingMultipartResolver] Done.

> Processing of multipart/form-data request failed. null
> ------------------------------------------------------
>
>                 Key: FILEUPLOAD-262
>                 URL: https://issues.apache.org/jira/browse/FILEUPLOAD-262
>             Project: Commons FileUpload
>          Issue Type: Bug
>    Affects Versions: 1.2, 1.3.1
>         Environment: Application: Jetty 9.1.4, Debian stable x86_64, Java 1.7.0_51 
> Public access through reverse proxy (apache 2 2.2.22 + mod_proxy)
>            Reporter: Kristian Rink
>            Priority: Minor
>              Labels: eof, exception, stacktrace
>
> Exposing an upload feature in an existing web application, I frequently see stack traces as the one posted below in my server log files. Additional notes:
> - The application runs in an embedded jetty (HTTP) behind an apache2
> mod_proxy reverse proxy (HTTPS).
> - These issues do not generally appear, I tried quite some uploading
> myself today and never managed to reproduce this behaviour even while
> uploading loads of files, large files and both together.
> - It does not seem to be generally tied to a particular browser; the
> users associated with these messages use Firefox, MSIE or Chrome.
> - Looking at network traffic (and the transfer monitor in the app), it
> _seems_ all data to be sent with the request have successfully been
> transmitted yet parsing the request, ultimately, fails.
> - On _some_ clients, in such situations users reported the upload was
> canceled with a "connection reset by peer" error, even though I do not
> see reasons for that in our mod_proxy server log.
> - The application uses the approach outlined in [1] to render a progress bar based upon JavaScript and DWR. There is code in that controller trying to check how much data has been received by the server so far. I do dump these information to the log right now, and it seems all(?) data has been received before we run into this error, even though I am not sure about that at all as I am unsure how the frameworks handles HTTP traffic internally and how this is handled in example with chunked transfer encoding:
> 2014-11-21 18:26:01,846 [qtp1780643722-438] INFO WebUIUploadController - uploadStats: 2100399 of 2100399
> Stack trace seen in such situations:
> {code:java}
> org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. null
>         at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:351) ~[commons-fileupload-1.3.1.jar:1.3.1]
>         at org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:115) ~[commons-fileupload-1.3.1.jar:1.3.1]
>         at de.pc.frontend.WebUIUploadController.submitUpload(WebUIUploadController.java:189) ~[webprojekt-1.2-SNAPSHOT.jar:na]
>         at sun.reflect.GeneratedMethodAccessor104.invoke(Unknown Source) ~[na:na]
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_51]
>         at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_51]
>         at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176) [spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>         at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436) [spring-webmvc-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>         at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424) [spring-webmvc-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>         at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790) [spring-webmvc-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>         at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719) [spring-webmvc-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>         at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669) [spring-webmvc-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>         at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:585) [spring-webmvc-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) [javax.servlet-api-3.1.0.jar:3.1.0]
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [javax.servlet-api-3.1.0.jar:3.1.0]
>         at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:738) [jetty-servlet-9.1.4.v20140401.jar:9.1.4.v20140401]
>         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1651) [jetty-servlet-9.1.4.v20140401.jar:9.1.4.v20140401]
>         at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83) [spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) [spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1639) [jetty-servlet-9.1.4.v20140401.jar:9.1.4.v20140401]
>         at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) [spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) [spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1631) [jetty-servlet-9.1.4.v20140401.jar:9.1.4.v20140401]
>         at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:549) [jetty-servlet-9.1.4.v20140401.jar:9.1.4.v20140401]
>         at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [jetty-server-9.1.4.v20140401.jar:9.1.4.v20140401]
>         at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:568) [jetty-security-9.1.4.v20140401.jar:9.1.4.v20140401]
>         at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221) [jetty-server-9.1.4.v20140401.jar:9.1.4.v20140401]
>         at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1111) [jetty-server-9.1.4.v20140401.jar:9.1.4.v20140401]
>         at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:478) [jetty-servlet-9.1.4.v20140401.jar:9.1.4.v20140401]
>         at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183) [jetty-server-9.1.4.v20140401.jar:9.1.4.v20140401]
>         at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1045) [jetty-server-9.1.4.v20140401.jar:9.1.4.v20140401]
>         at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [jetty-server-9.1.4.v20140401.jar:9.1.4.v20140401]
>         at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) [jetty-server-9.1.4.v20140401.jar:9.1.4.v20140401]
>         at org.eclipse.jetty.server.Server.handle(Server.java:462) [jetty-server-9.1.4.v20140401.jar:9.1.4.v20140401]
>         at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:279) [jetty-server-9.1.4.v20140401.jar:9.1.4.v20140401]
>         at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:232) [jetty-server-9.1.4.v20140401.jar:9.1.4.v20140401]
>         at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:534) [jetty-io-9.1.4.v20140401.jar:9.1.4.v20140401]
>         at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607) [jetty-util-9.1.4.v20140401.jar:9.1.4.v20140401]
>         at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536) [jetty-util-9.1.4.v20140401.jar:9.1.4.v20140401]
>         at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51]
> Caused by: org.eclipse.jetty.io.EofException: null
>         at org.eclipse.jetty.server.HttpInput$3.noContent(HttpInput.java:465) ~[jetty-server-9.1.4.v20140401.jar:9.1.4.v20140401]
>         at org.eclipse.jetty.server.HttpInput.read(HttpInput.java:125) ~[jetty-server-9.1.4.v20140401.jar:9.1.4.v20140401]
>         at org.apache.commons.fileupload.MultipartStream$ItemInputStream.makeAvailable(MultipartStream.java:999) ~[commons-fileupload-1.3.1.jar:1.3.1]
>         at org.apache.commons.fileupload.MultipartStream$ItemInputStream.read(MultipartStream.java:903) ~[commons-fileupload-1.3.1.jar:1.3.1]
>         at java.io.InputStream.read(InputStream.java:101) ~[na:1.7.0_51]
>         at org.apache.commons.fileupload.util.Streams.copy(Streams.java:100) ~[commons-fileupload-1.3.1.jar:1.3.1]
>         at org.apache.commons.fileupload.util.Streams.copy(Streams.java:70) ~[commons-fileupload-1.3.1.jar:1.3.1]
>         at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:347) ~[commons-fileupload-1.3.1.jar:1.3.1]
>         ... 39 common frames omitted
> {code}
> There is Spring in there but the problem seems unrelated. It happens just alike using fileupload 1.2 and 1.3.1. I have seen similar issues before using the same application in Sun/Oracle Glassfish, too. Playing with the configuration of the reverse proxy in front (especially talking keepalive, chunked vs. non-chunked transfers, timeouts, ...) doesn't seem to change much. 
> Seen this pretty often so far, yet have no reliable way of reproducing it. Feel free to ask for more information, not sure how useful this is so far.
> [1]http://jtechnoprojects.blogspot.de/p/ajax-file-upload-with-progress-bar.html



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)