I believe you are using Spring Boot for your application, following the documentation I see some other properties being used:
spring.servlet.multipart.max-file-size=200MB
spring.servlet.multipart.max-request-size=200MB
spring.servlet.multipart.enabled=true
Spring Boot Documentation - Tuning file upload limits
You may also need to change the server configuration, as pointed out by @SeaBiscuit in this StackOverflow post .
@Bean
public TomcatEmbeddedServletContainerFactory containerFactory() {
TomcatEmbeddedServletContainerFactory factory = new TomcatEmbeddedServletContainerFactory();
factory.addConnectorCustomizers(new TomcatConnectorCustomizer() {
@Override
public void customize(Connector connector) {
((AbstractHttp11Protocol<?>) connector.getProtocolHandler()).setMaxSwallowSize(-1);
}
});
return factory;
}
There should be some specific setting to apply also to WildFly.