-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mohit,
On 1/20/2010 12:06 PM, Mohit Anchlia wrote: > Tomcat 6: Which specific version, please. Also, what connector(s) are you using. Please provide the configuration for them. Are you using another web server in front of Tomcat? If so, which one, and how are you connecting them (mod_jk, mod_proxy_ajp, mod_proxy_http, etc.)? > I am seeing Exception in localhost java.net.SocketTimeoutException: > Read time out. I looked at the access log and I see tomcat returning > Http 500. Only thing in common is that "%b" (bytes sent) for all the > timeouts are 2657. For rest of them where requests are successful > it's less than 2657. Interesting. Do all responses with fewer than 2657 bytes succeed? Do all responses with more than 2656 bytes fail? Please post the entire stack trace of the exception. > Could someone help me understand what %b is for in localhost access > logs and if what I am seeing makes sense. %b is, as you say, the number of bytes sent (presumably to the client, in the response). Does this always fail with certain clients? If so, which ones? Are these normal web browsers, or are you using a custom client? > Does SocketTimeoutException correspond to ConnectionTimeout in the > connector? We tried increasing it but didn't make any difference. ConnectionTimeout is how long the connector will wait after a connection is established for the request to come from the client. There really isn't a setting on the standard HTTP connector that will cause a timeout to occur when writing to the connection. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAktXT8wACgkQ9CaO5/Lv0PC+wwCgjE73Gni6yEQ9qJYbldBamfUJ +2IAnjgjRVHVoq8Cro2MmrTrjXTXG0jf =B4HZ -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org