Jovan, welcome to the forums.
This looks more like an application problem than anything to do with JBoss AS (now known as WildFly) server. You might have to take a look at the application code to understand it better.
Hi. Thanks for answer.
Spring MVC CommonsMultipartResolver is used to resolve multipart files and there is no custom made file upload application code. During the file upload it is verified that FileUploadBase.SizeLimitExceededException is thrown when data read from the request input stream crosses defined treshold, and then wrapped in MaxUploadSizeExceededException (stack trace is indeed logged to the output). Request is not interrupted and still hangs. Maybe it's not issue with the server itself, I read that browser can still keeping connection alive until data is uploaded to the server and I cannot believe that in the 21st century file upload still represents mystery.