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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.