Railo, Tomcat6, Apache2 and ColdFire debugging buffer overflow

We use the above configuration in our development environment and we've come across a buffer overflow problem between Apache2's mod_jk and the AJP connector in Tomcat6.

SEVERE: Buffer overflow: buffer.len=8192 pos=4204 data=6386

This happens because ColdFire outputs its debug output in the HTTP header. This leads to a problem if the amount of data exceeds 8192 bytes. In order to change the packet size you need it on the Tomcat6 side and the Mod_jk side.

On the Tomcat6 side, in server.xml add this to the AJP Connector:

<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" packetSize="65536" />

Now in the JkWorkersFile specified in the Mod_jk configuration add:


Where default is the name of the specified worker.

Now restart both Tomcat6 en Apache2 and continue to enjoy ColdFire debugging.


Geplaatst op 10 maart 2011 om 11:48 u.

Alles in 'Ontwikkeling'

9 bericht(en)