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...