Error during large file upload using richfaces upload component.

Solution Unverified - Updated -

Issue

  • Transfering files with size between 800MB and 1,5GB produces an error in the logfile. Progress bar stops in about middle and a message "transfer failed" is displayed.
    ~~~
    2010-11-10 12:27:49,630 WARNING [javax.enterprise.resource.webcontainer.jsf.lifecycle] (ajp-127.0.0.1-8009-15) JSF1053: (Listener: org.richfaces.component.FileUploadPhaselistener.beforePhase(),
    Phase ID: RESTORE_VIEW 1,  View ID: ) Exception thrown during phase-listener execution: org.ajax4jsf.exception.FileUploadException: IO Error parsing multipart request
    2010-11-10 12:27:49,631 WARNING [javax.enterprise.resource.webcontainer.jsf.lifecycle] (ajp-127.0.0.1-8-15) org.ajax4jsf.request.MultipartRequest.parseRequest(MultipartRequest.java:626)
    org.richfaces.component.FileUploadPhaselistener.beforePhase(FileUploadPhaselistener.java:63)
    com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:214)
    com.sun.faces.lifecycle.Phase.doPhase(Phase.java:96)
    com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:103)
    com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:510)
    ~~~

Environment

  • JBoss Enterprise Application Platform
  • RichFaces

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In