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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Increase packetSize on Tomcat AJP Connector
 
Similar Threads
Embedded tomcat 7 connector
tomcat maxthread count and minspare thread count on tomcat 6.0
when would calling setContentType be invalid
problem in starting tomcat with eclipse
Tomcat 5.5.30 and IIS 5 Configuration problem