Re: [cas-user] AJP with header too big
You should set packetSize at the same value on application server and in your web server (we use 16384 in our organization for years). Regards; Le 30/09/2019 à 11:40, Fabrice Bacchella a écrit : > I'm getting the following error on CAS 5.3 with AJP: > > 2019-09-30 11:19:19,411 ERROR [org.apache.coyote.ajp.AjpProcessor] Header > message of length [11,006] received but the packetSize is only [8,192] > 2019-09-30 11:19:19,411 ERROR [org.apache.coyote.ajp.AjpProcessor] Error > processing request > java.lang.NullPointerException: null > > So I should increase the packetSize of the AJP connector, but it's missing > from > https://apereo.github.io/cas/5.3.x/installation/Configuration-Properties.html#ajp > > Is it hidden somewhere else ? > > > -- Philippe MARASSE Responsable pôle Infrastructures - DSIO Centre Hospitalier Henri Laborit CS 10587 - 370 avenue Jacques Cœur 86021 Poitiers Cedex Tel : 05.49.44.57.19 -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+unsubscr...@apereo.org. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/75f8d5bb-77bc-f478-abbf-1a1a098a73e4%40ch-poitiers.fr. smime.p7s Description: Signature cryptographique S/MIME
Re: [cas-user] AJP with header too big
Indeed it works now. Thanks for the hint and sorry for the missread. > Le 30 sept. 2019 à 11:52, Julien Gribonvald a > écrit : > Hi, > > This is written in the doc but not directly, you have the property > cas.server.ajp.attributes.attributeName=attributeValue . > > That is to say, for your case: cas.server.ajp.attributes.packetSize=YOUR > VALUE > > - Julien > > Le 30/09/2019 à 11:40, Fabrice Bacchella a écrit : >> I'm getting the following error on CAS 5.3 with AJP: >> >> 2019-09-30 11:19:19,411 ERROR [org.apache.coyote.ajp.AjpProcessor] Header >> message of length [11,006] received but the packetSize is only [8,192] >> 2019-09-30 11:19:19,411 ERROR [org.apache.coyote.ajp.AjpProcessor] Error >> processing request >> java.lang.NullPointerException: null >> >> So I should increase the packetSize of the AJP connector, but it's missing >> from >> https://apereo.github.io/cas/5.3.x/installation/Configuration-Properties.html#ajp >> >> Is it hidden somewhere else ? >> >> >> -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+unsubscr...@apereo.org. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/A80392A9-83F2-49E2-863A-45BACAEE63C7%40orange.fr.
Re: [cas-user] AJP with header too big
Hi, This is written in the doc but not directly, you have the property cas.server.ajp.attributes.attributeName=attributeValue . That is to say, for your case: cas.server.ajp.attributes.packetSize=YOUR VALUE - Julien Le 30/09/2019 à 11:40, Fabrice Bacchella a écrit : I'm getting the following error on CAS 5.3 with AJP: 2019-09-30 11:19:19,411 ERROR [org.apache.coyote.ajp.AjpProcessor] Header message of length [11,006] received but the packetSize is only [8,192] 2019-09-30 11:19:19,411 ERROR [org.apache.coyote.ajp.AjpProcessor] Error processing request java.lang.NullPointerException: null So I should increase the packetSize of the AJP connector, but it's missing from https://apereo.github.io/cas/5.3.x/installation/Configuration-Properties.html#ajp Is it hidden somewhere else ? -- Julien Gribonvald -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+unsubscr...@apereo.org. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/e841efac-8c24-aee6-5d1c-a0e98c817527%40recia.fr.
[cas-user] AJP with header too big
I'm getting the following error on CAS 5.3 with AJP: 2019-09-30 11:19:19,411 ERROR [org.apache.coyote.ajp.AjpProcessor] Header message of length [11,006] received but the packetSize is only [8,192] 2019-09-30 11:19:19,411 ERROR [org.apache.coyote.ajp.AjpProcessor] Error processing request java.lang.NullPointerException: null So I should increase the packetSize of the AJP connector, but it's missing from https://apereo.github.io/cas/5.3.x/installation/Configuration-Properties.html#ajp Is it hidden somewhere else ? -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+unsubscr...@apereo.org. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/C2650B4E-737D-44AA-99E0-B54FD7909621%40gmail.com.