2015-02-24 15:38:23,255 [task-scheduler-1] ERROR org.springframework.integration.handler.LoggingHandler - org.springframework.messaging.MessageHandlingException: ; nested exception is org.springframework.web.client.HttpClientErrorException: 413 Request Entity Too Large
Asked
Active
Viewed 5,639 times
1 Answers
0
I am not sure about the vFabric Server but all servers have limits on the GET request size. I believe that it can be configured. Also note that the client also have limits so please check the HTTPClient docs.
To answer your next question, you should use POST to handle that as its limits are higher but that again depends on the client and server. Note that these limits are there for a purpose (for instance: not to consume all available memory in case of a huge request) so you need to evaluate the functionality of the application and set them up in that context.

Khanna111
- 3,627
- 1
- 23
- 25
-
-
maxPostSize for tomcat. I think it should be the same for vFabric as well but not sure. – Khanna111 Feb 24 '15 at 22:59
-
-
-
yes thanks. It did not resolve the issue for me though. I believe there are other network limits defined internally. Ill keep you posted. thanks – Zak Feb 25 '15 at 16:58