If you are using IIS in front of Tomcat serving as a JSP engine, you can enable logging on IIS to display these two fields which are not displayed on the logs by default.. sc-bytes ===> This is the number of bytes the server sends to the client. cs-bytes ===> This is the number of bytes the client sends to the server.
These will give you an indication of exact packet sizes sent back and forth.. Packet sizes have to be incremented in blocks of 4K (4096 bytes). You cannot just increment it to a random number.. The defaults are 8K (8192 bytes) which is the lower limit of what you can set it to. There is also an upper limit to this size which is 64K (65536 bytes). This is what we learnt when we got bitten by that error.. For all practical reasons you never have to go that high.. For us we never got that error after we had it set to 12288 bytes even with queries that had a large qualification line that caused a sc-bytes packet to go over the 8192 mark.. Joe PS: If this hits your mailbox twice, its because I resent it as I got a mail back from the list serv rejecting my previous email saying it was over 1000 lines?? I get this error once in a blue moon even when its obvious its not over 1000 lines.. From: LJ LongWing Sent: Tuesday, April 26, 2011 11:55 AM Newsgroups: public.remedy.arsystem.general To: [email protected] Subject: Re: 7.6.04 - mid tier load balancing settings ** Ours was here <tomcat install>/conf/server.xml, search for maxHttpHeaderSize we just kept doubling the value until we stopped having errors…I know it’s not scientific, but it worked. From: Action Request System discussion list(ARSList) [mailto:[email protected]] On Behalf Of Joe Martin D'Souza Sent: Tuesday, April 26, 2011 9:46 AM To: [email protected] Subject: Re: 7.6.04 - mid tier load balancing settings ** We got bitten by that on my last engagement for a while :-) and it took us a while to find out why – after enabling the IIS cs-bytes and sc-bytes where we noticed the sc-bytes exceeded the defined default limit of 8192.. Tauf, It’s the max_packet_size you need to set on Tomcat in the worker.properties file. You will find enough info on how and where to set this if you google.. Joe _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: "Where the Answers Are"

