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

Leonardo Uribe commented on MYFACES-4081:
-----------------------------------------

2.2.3 is a very old version. Please update to a newer one. 

I remember there was an issue with this, according to the svn log is 
MYFACES-3865. h:inputFile uses Servlet 3.0 multipart config, so any related 
configuration is provided by the servlet engine, not by MyFaces impl, so there 
is nothing to do from MyFaces side.

I'll close this issue as invalid for now, since there is no evidence suggesting 
the issue is still valid.

> h inputFile size limit
> ----------------------
>
>                 Key: MYFACES-4081
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4081
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.2.3
>         Environment: TomEE 7.0.2
>            Reporter: Matthew Broadhead
>
> h inputFile seems to be limited to a file size of around 1MB.  no error is 
> thrown if file exceeds this size.  javascript console shows 
> net::ERR_CONNECTION_RESET
> i have tried changing these settings 
> {code:xml}
> <servlet>
>               <servlet-name>Faces Servlet</servlet-name>
>               <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
>               <load-on-startup>1</load-on-startup>
>               <multipart-config>
>                       <max-file-size>20848820</max-file-size>
>                       <max-request-size>418018841</max-request-size>
>                       <file-size-threshold>1048576</file-size-threshold>
>               </multipart-config>
>       </servlet>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to