Have you checked the application server? For example, Tomcat has its own file upload limit (2 MB by default).
In the server.xml file in the Tomcat conf folder, you will need to add the maxPostSize attribute with the maximum file size (in bytes). For 10 MB, it would be something like this:
<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" maxPostSize="10485760" />
I do not know about the configuration for other application servers, but should not be much different.
source share