File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Increase packetSize on Tomcat AJP Connector Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Increase packetSize on Tomcat AJP Connector" Watch "Increase packetSize on Tomcat AJP Connector" New topic
Author

Increase packetSize on Tomcat AJP Connector

Prashant Chotu
Greenhorn

Joined: Jun 28, 2012
Posts: 19

For some reason, default packetSize (8KB) on AJP connector in server.xml does not suffice my need. My header size gets exceeded 8KB. So I need to set it to 16KB. As I am runnning apache in front of tomcat, so I need to set max_packet_size directive to 16KB also in workers.properties.

Can you please explain if there is any issue/ impact in increasing packetSize ? I am using tomcat 7.0.25

Thank you very much.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Increase packetSize on Tomcat AJP Connector