<AWS Elastic Beanstalk and Tomcat 9 throws FileCou...
# questions
r
AWS Elastic Beanstalk and Tomcat 9 throws FileCountLimitExceededException on Spring Boot App I have a Grails 3.1 application that uses Spring Boot version 1.3.7.RELEASE. It's deployed on AWS Elastic Beanstalk using the platform "Tomcat 9 with Corretto 8 running on 64bit Amazon Linux 2/4.9.1". The application has several forms submitting data with multipart/form-data. Suddenly, without any changes in the application code or configuration, POST requests from these forms started to fail with the FileCountLimitExceededException. My question is: How can I properly configure or fix this...
u
Had similar problems with a Grails 6 application after updating Tomcat Solution was to change the request content-type: If you POST/PUT forms (without files) you can switch the content-type from "multipart/form-data" to "application/x-www-form-urlencoded".