Re: FileCountLimitExceededException with 10.1.42 / 11.0.8

2025-06-16 Thread Fabian Hahn
Hi Mark, Thank you for your reply. For use-cases where we might not have (easy) access to the Tomcat-server config in the run environment: Is there a way to access the Connector object, or a different solution inside the Servlet to raise this limit to circumvent possible problems when up

Re: FileCountLimitExceededException with 10.1.42 / 11.0.8

2025-06-15 Thread Mark Thomas
On 14/06/2025 07:37, Fabian Hahn wrote: An easy way to increase the number of form input-fields past 10 for a multipart request in Tomcat 11.0.8 would be: /usr/local/tomcat/conf/server.xml ... ... Mark, is there a solution in HttpServlet#doPost, #init(), or @MultipartConfig?

Re: FileCountLimitExceededException with 10.1.42 / 11.0.8

2025-06-13 Thread Fabian Hahn
An easy way to increase the number of form input-fields past 10 for a multipart request in Tomcat 11.0.8 would be: /usr/local/tomcat/conf/server.xml ... ... Mark, is there a solution in HttpServlet#doPost, #init(), or @MultipartConfig? Greetings, Fabian Mark Thomas wrote - F

Re: FileCountLimitExceededException with 10.1.42 / 11.0.8

2025-06-13 Thread Matthias Reischenbacher
Thanks for your quick answer. I think the chosen default value of "10" is very low and will possibly break many existing applications. Hopefully it can be increased. Thanks & Best regards, Matthias On 13/06/2025 13:46, Mark Thomas wrote: https://tomcat.apache.org/tomcat-11.0-doc/config/http.

Re: FileCountLimitExceededException with 10.1.42 / 11.0.8

2025-06-13 Thread Mark Thomas
https://tomcat.apache.org/tomcat-11.0-doc/config/http.html You'll need to increase maxPartCount Mark On 13/06/2025 15:13, Matthias Reischenbacher wrote: Hi, after upgrading from 11.0.6 to 11.0.8 a form multi part POST stopped working with the exception: org.apache.tomcat.util.http.Invalid

FileCountLimitExceededException with 10.1.42 / 11.0.8

2025-06-13 Thread Matthias Reischenbacher
Hi, after upgrading from 11.0.6 to 11.0.8 a form multi part POST stopped working with the exception: org.apache.tomcat.util.http.InvalidParameterException: org.apache.tomcat.util.http.fileupload.impl.FileCountLimitExceededException: attachment org.apache.catalina.connector.Request.doParsePa

FileCountLimitExceededException with 10.1.42 / 11.0.8

2025-06-13 Thread Matthias Reischenbacher
Hi, after upgrading from 11.0.6 to 11.0.8 a form multi part POST stopped working with the exception: org.apache.tomcat.util.http.InvalidParameterException: org.apache.tomcat.util.http.fileupload.impl.FileCountLimitExceededException: attachment org.apache.catalina.connector.Request.doParsePa