title: that the following error message "java.io.IOException: Header section is too big" with rich:fileupload
body: <p>I want to attach a file of 250 MB by  but at the time of doing the process of attaching the following error appears</p>
  
  <pre><code>10:25:02,458 ERROR [[Faces Servlet]] Servlet.service() para servlet Faces Servlet lanzó excepción
  org.ajax4jsf.exception.FileUploadException: IO Error parsing multipart request
  at org.ajax4jsf.request.MultipartRequest.getParam(MultipartRequest.java:556)
  at org.ajax4jsf.request.MultipartRequest.getParameter(MultipartRequest.java:616)
  at com.sun.faces.context.RequestParameterMap.get(ExternalContextImpl.java:1152)
  at com.sun.faces.context.RequestParameterMap.get(ExternalContextImpl.java:1140)
  at java.util.Collections$UnmodifiableMap.get(Collections.java:1282)
  at org.ajax4jsf.context.AjaxContextImpl.decode(AjaxContextImpl.java:139)
  at org.ajax4jsf.context.AjaxContext.getCurrentInstance(AjaxContext.java:210)
  at org.ajax4jsf.application.AjaxViewHandler.createView(AjaxViewHandler.java:85)
  at com.sun.faces.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:194)
  at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)
  at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
  at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:367)
  at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
  at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
  at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
  at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
  at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(ActiveRequestResponseCacheValve.java:74)
  at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:47)
  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:599)
  at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
  at java.lang.Thread.run(Thread.java:662)
  Caused by: java.io.IOException: Header section is too big
  at org.ajax4jsf.request.MultipartRequest$HeadersHandler.handle(MultipartRequest.java:266)
  at org.ajax4jsf.request.ByteSequenceMatcher.findSequence(ByteSequenceMatcher.java:152)
  at org.ajax4jsf.request.MultipartRequest.readHeader(MultipartRequest.java:305)
  at org.ajax4jsf.request.MultipartRequest.readNext(MultipartRequest.java:207)
  at org.ajax4jsf.request.MultipartRequest.getParam(MultipartRequest.java:551)
  ... 42 more
  </code></pre>
  
  <p>This is my current configuration.</p>
  
  <pre><code> &lt;filter&gt;
       &lt;display-name&gt;RichFaces Filter&lt;/display-name&gt;
       &lt;filter-name&gt;richfaces&lt;/filter-name&gt;
       &lt;filter-class&gt;org.ajax4jsf.Filter&lt;/filter-class&gt;
       &lt;init-param&gt;
          &lt;param-name&gt;createTempFiles&lt;/param-name&gt;
          &lt;param-value&gt;false&lt;/param-value&gt;
       &lt;/init-param&gt;
       &lt;init-param&gt;
          &lt;param-name&gt;maxRequestSize&lt;/param-name&gt;
          &lt;param-value&gt;419430400&lt;/param-value&gt;
       &lt;/init-param&gt;  
   &lt;/filter&gt;  
   &lt;filter-mapping&gt;
      &lt;filter-name&gt;richfaces&lt;/filter-name&gt;
      &lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt;
      &lt;dispatcher&gt;REQUEST&lt;/dispatcher&gt;
      &lt;dispatcher&gt;FORWARD&lt;/dispatcher&gt;
      &lt;dispatcher&gt;INCLUDE&lt;/dispatcher&gt;
   &lt;/filter-mapping&gt;
  </code></pre>
  
  <p>For a file size less than 150 Mb functioning properly, My application is deployed on jboss</p>