CA Single Sign-On Tech Tip by Julien Nitot, Senior Support Engineer for 09.09.2014
Problem:
Using Federation, Siteminder as IDP and doing SP initiated transaction.
Tomcat/Jboss as Servlet engine to run the AffwebServices application and mod_jk module.
After correctly Posting credential to the login.fcc, getting an HTTP 413 - Request entity too large in the apache http access log
***.YYY.ZZZ.VVV - - [day/month/year:05:13:47 -0400] "GET /affwebservices/redirectjsp/redirect.jsp?SAMLRequest=XXXX&RelayState=VVVV&SMPORTALURL=https%3A%2F%2Fidp.com%2Faffwebservices%2Fpublic%2Fsaml2sso HTTP/1.1" 413 367
Solution:
found the same error:
http://builddeploy.blogspot.co.uk/2009/04/resolving-http-error-413-request-entity.html?_sm_au_=iVVQRTH576RrnvVM
Checking the mod_jk.log
increase the maximum AJP packet size in Tomcat fix the problem.
Hope it helps whenever you have a similar problem.
Julien.