Embedded Tomcat AJP connector packetSize can't be changed?

102 views
Skip to first unread message

Abre Chase

unread,
Aug 15, 2018, 10:08:42 AM8/15/18
to CAS Community
I'm attempting to enable CAS as a SAML Idp.  I have CAS 5.2.x running with embedded Tomcat behind Apache connected through mod_jk/AJP.  I am running into the 413 Request Entity Too Large error so I need to increase the max_packet_size for the AJP worker in Apache.  When I increase the value in the Apache workers.properties I also need to increase the packetSize in Tomcat but I don't see a configuration property available to do that.  Is there any way to change that setting through configuration?

Abre Chase

unread,
Aug 15, 2018, 11:23:27 AM8/15/18
to CAS Community
I was able to get past the problem by adding the following to cas.properties:

cas.server.ajp.attributes.packetSize=65536

The capability to add arbitrary attributes is very nice.
Reply all
Reply to author
Forward
0 new messages