0 Replies Latest reply on Jul 25, 2008 1:33 PM by Fred Demetri

    large file (1G) upload fails - Stream ended unexpectedly

    Fred Demetri Newbie

      (using jboss 4.2.2)
      testing our analytics app with a large data file (1G csv) upload through the webapp ... can see file transfer on server in /tmp ... dies at about 400m

      also using httpd as reverse proxy on server ... set all timeouts(that I can find) to 3 days

      any thoughts ... similar experience ... suggestions would be appreciated

      below is partial trace:

      ERROR [org.apache.myfaces.webapp.filter.MultipartRequestWrapper] Exception while uploading file.
      org.apache.commons.fileupload.FileUploadException: Processing of multipart/form-data request failed. Stream ended unexpectedly
      at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:429)
      at org.apache.myfaces.webapp.filter.MultipartRequestWrapper.parseRequest(MultipartRequestWrapper.java:85)
      at org.apache.myfaces.webapp.filter.MultipartRequestWrapper.getParameter(MultipartRequestWrapper.java:181)
      at com.sun.faces.context.RequestParameterMap.get(ExternalContextImpl.java:1135)
      at com.sun.faces.context.RequestParameterMap.get(ExternalContextImpl.java:1120)
      at java.util.Collections$UnmodifiableMap.get(Collections.java:1283)
      at com.sun.faces.application.ViewHandlerImpl.calculateRenderKitId(ViewHandlerImpl.java:512)
      at org.ajax4jsf.application.ViewHandlerWrapper.calculateRenderKitId(ViewHandlerWrapper.java:76)
      at com.sun.facelets.FaceletViewHandler.calculateRenderKitId(FaceletViewHandler.java:775)
      at org.ajax4jsf.application.ViewHandlerWrapper.calculateRenderKitId(ViewHandlerWrapper.java:76)
      at com.sun.faces.lifecycle.RestoreViewPhase.isPostback(RestoreViewPhase.java:267)
      at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:137)
      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
      at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)


      Regards
      Fred