There's no Content-Length coming from the backend. See below. So: are you sure the backend sends it, if you send the same request without a web server in front of Tomcat? I would expect, that it's also missing, if you contact Tomcat directly via httpd. In this case it's an error in the webapp.
Woytasik Joe schrieb: > Here is my log, let me know if you see anything. Sending the request to the backend... > [Fri Jan 04 14:11:48 2008] [8372:11108] [debug] jk_ajp_common.c (892): > sending to ajp13 pos=4 len=501 max=8192 > [Fri Jan 04 14:11:48 2008] [8372:11108] [debug] jk_ajp_common.c (892): > 0000 12 34 01 F1 02 04 00 08 48 54 54 50 2F 31 2E 31 - > .4......HTTP/1.1 > [Fri Jan 04 14:11:48 2008] [8372:11108] [debug] jk_ajp_common.c (892): > 0010 00 00 14 2F 62 63 2F 42 69 6C 6C 69 6E 67 43 65 - > .../xx/xxxxxxxx ... > [Fri Jan 04 14:11:48 2008] [8372:11108] [debug] jk_ajp_common.c (892): > 01f0 36 38 36 00 FF 00 00 00 00 00 00 00 00 00 00 00 - > 686............. Since it's a POSt request, we also need to send the request body to the backend ... > [Fri Jan 04 14:11:48 2008] [8372:11108] [debug] jk_ajp_common.c (1261): > request body to send 670 - request body to resend 0 > [Fri Jan 04 14:11:48 2008] [8372:11108] [debug] jk_ajp_common.c (892): > sending to ajp13 pos=4 len=676 max=8192 > [Fri Jan 04 14:11:48 2008] [8372:11108] [debug] jk_ajp_common.c (892): > 0000 12 34 02 A0 02 9E 54 61 62 42 61 72 25 33 41 50 - > .4....TabBar%3AP ... > [Fri Jan 04 14:11:48 2008] [8372:11108] [debug] jk_ajp_common.c (892): > 02a0 44 61 79 73 00 00 00 00 00 00 00 00 00 00 00 00 - > Days............ The next log line tells us, that we already got an answer back: > [Fri Jan 04 14:11:48 2008] [8372:11108] [debug] jk_ajp_common.c (1028): > received from ajp13 pos=0 len=167 max=8192 Here comes the dump of the headers of the answers. If I decode the packet with the protocol specification, I get the same result, as what is printed out in clear text below: Packet dump: > [Fri Jan 04 14:11:48 2008] [8372:11108] [debug] jk_ajp_common.c (1028): > 0000 04 00 C8 00 02 4F 4B 00 00 05 00 0D 43 61 63 68 - > .....OK.....Cach ... > [Fri Jan 04 14:11:48 2008] [8372:11108] [debug] jk_ajp_common.c (1028): > 00a0 3D 55 54 46 2D 38 00 00 00 00 00 00 00 00 00 00 - > =UTF-8.......... Clear text: > [Fri Jan 04 14:11:48 2008] [8372:11108] [debug] jk_ajp_common.c (602): > status = 200 > [Fri Jan 04 14:11:48 2008] [8372:11108] [debug] jk_ajp_common.c (609): > Number of headers is = 5 > [Fri Jan 04 14:11:48 2008] [8372:11108] [debug] jk_ajp_common.c (665): > Header[0] [Cache-Control] = [no-cache] > [Fri Jan 04 14:11:48 2008] [8372:11108] [debug] jk_ajp_common.c (665): > Header[1] [Set-Cookie] = [rcouxxxx=87] > [Fri Jan 04 14:11:48 2008] [8372:11108] [debug] jk_ajp_common.c (665): > Header[2] [Pragma] = [no-cache] > [Fri Jan 04 14:11:48 2008] [8372:11108] [debug] jk_ajp_common.c (665): > Header[3] [Expires] = [Thu, 01 Jan 1970 00:00:00 GMT] > [Fri Jan 04 14:11:48 2008] [8372:11108] [debug] jk_ajp_common.c (665): > Header[4] [Content-Type] = [text/html;charset=UTF-8] And now we get the response body. Content-Length would have come before, but the response from the backend isn't chunked either. For an answer including Content-Length see below. > [Fri Jan 04 14:11:48 2008] [8372:11108] [debug] jk_ajp_common.c (1028): > received from ajp13 pos=0 len=8188 max=8192 > [Fri Jan 04 14:11:48 2008] [8372:11108] [debug] jk_ajp_common.c (1028): > 0000 03 1F F8 3C 68 74 6D 6C 3E 0D 0A 3C 68 65 61 64 - > ...<html>..<head ... Now the next request is for a JavaScript file, and that request gets a response (404 error page), which includes a Content-Length: > [Fri Jan 04 14:11:49 2008] [8372:12224] [debug] jk_isapi_plugin.c (852): > Virtual Host redirection of > /xxxxxx.xxxxxxXXXXX.com/xx/resources/javascript/smoketest/SmokeTest.js ... > [Fri Jan 04 14:11:49 2008] [8372:12224] [debug] jk_ajp_common.c (1028): > received from ajp13 pos=0 len=120 max=8192 > [Fri Jan 04 14:11:49 2008] [8372:12224] [debug] jk_ajp_common.c (1028): > 0000 04 01 94 00 2F 2F 62 63 2F 72 65 73 6F 75 72 63 - > ....//xx/resourc ... > [Fri Jan 04 14:11:49 2008] [8372:12224] [debug] jk_ajp_common.c (1028): > 0070 00 00 04 31 30 39 33 00 00 00 00 00 00 00 00 00 - > ...1093......... > [Fri Jan 04 14:11:49 2008] [8372:12224] [debug] jk_ajp_common.c (602): > status = 404 > [Fri Jan 04 14:11:49 2008] [8372:12224] [debug] jk_ajp_common.c (609): > Number of headers is = 2 > [Fri Jan 04 14:11:49 2008] [8372:12224] [debug] jk_ajp_common.c (665): > Header[0] [Content-Type] = [text/html;charset=utf-8] This is fine and is missing for the first request. > [Fri Jan 04 14:11:49 2008] [8372:12224] [debug] jk_ajp_common.c (665): > Header[1] [Content-Length] = [1093] > [Fri Jan 04 14:11:49 2008] [8372:12224] [debug] jk_ajp_common.c (1028): > received from ajp13 pos=0 len=1097 max=8192 Regards, Rainer --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]