tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Gomez" <henri.go...@gmail.com>
Subject Re: mod_jk / Tomcat 6 and ErrorDocument
Date Mon, 22 Sep 2008 15:46:25 GMT
Here is the corresponding jk debug trace :

[Mon Sep 22 17:41:17.813 2008] [2816:4076] [debug] jk_ajp_common.c
(1117): received from ajp13 pos=0 len=102 max=8192
[Mon Sep 22 17:41:17.813 2008] [2816:4076] [debug] jk_ajp_common.c
(1117): 0000    04 01 94 00 0B 49 6E 74 72 6F 75 76 61 62 6C 65  -
.....Introuvable
[Mon Sep 22 17:41:17.813 2008] [2816:4076] [debug] jk_ajp_common.c
(1117): 0010    00 00 04 00 04 45 54 61 67 00 00 13 57 2F 22 30  -
.....ETag...W/"0
[Mon Sep 22 17:41:17.813 2008] [2816:4076] [debug] jk_ajp_common.c
(1117): 0020    2D 31 32 32 32 30 39 37 32 34 36 39 32 32 22 00  -
-1222097246922".
[Mon Sep 22 17:41:17.813 2008] [2816:4076] [debug] jk_ajp_common.c
(1117): 0030    A0 05 00 1D 4D 6F 6E 2C 20 32 32 20 53 65 70 20  -
....Mon,.22.Sep.
[Mon Sep 22 17:41:17.813 2008] [2816:4076] [debug] jk_ajp_common.c
(1117): 0040    32 30 30 38 20 31 35 3A 32 37 3A 32 36 20 47 4D  -
2008.15:27:26.GM
[Mon Sep 22 17:41:17.813 2008] [2816:4076] [debug] jk_ajp_common.c
(1117): 0050    54 00 A0 01 00 09 74 65 78 74 2F 68 74 6D 6C 00  -
T.....text/html.
[Mon Sep 22 17:41:17.813 2008] [2816:4076] [debug] jk_ajp_common.c
(1117): 0060    A0 03 00 01 30 00 00 00 00 00 00 00 00 00 00 00  -
....0...........
[Mon Sep 22 17:41:17.813 2008] [2816:4076] [debug] jk_ajp_common.c
(608): status = 404
[Mon Sep 22 17:41:17.813 2008] [2816:4076] [debug] jk_ajp_common.c
(615): Number of headers is = 4
[Mon Sep 22 17:41:17.813 2008] [2816:4076] [debug] jk_ajp_common.c
(671): Header[0] [ETag] = [W/"0-1222097246922"]
[Mon Sep 22 17:41:17.813 2008] [2816:4076] [debug] jk_ajp_common.c
(671): Header[1] [Last-Modified] = [Mon, 22 Sep 2008 15:27:26 GMT]
[Mon Sep 22 17:41:17.813 2008] [2816:4076] [debug] jk_ajp_common.c
(671): Header[2] [Content-Type] = [text/html]
[Mon Sep 22 17:41:17.813 2008] [2816:4076] [debug] jk_ajp_common.c
(671): Header[3] [Content-Length] = [0]
[Mon Sep 22 17:41:17.813 2008] [2816:4076] [debug] jk_ajp_common.c
(1117): received from ajp13 pos=0 len=4 max=8192
[Mon Sep 22 17:41:17.813 2008] [2816:4076] [debug] jk_ajp_common.c
(1117): 0000    03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  -
................
[Mon Sep 22 17:41:17.813 2008] [2816:4076] [debug] jk_ajp_common.c
(1117): received from ajp13 pos=0 len=2 max=8192
[Mon Sep 22 17:41:17.813 2008] [2816:4076] [debug] jk_ajp_common.c
(1117): 0000    05 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00  -
................
[Mon Sep 22 17:41:17.813 2008] [2816:4076] [debug] jk_ajp_common.c
(1661): AJP13 protocol: Reuse is OK
[Mon Sep 22 17:41:17.813 2008] [2816:4076] [debug] jk_ajp_common.c
(691): (w849) resetting endpoint with sd = 1476
[Mon Sep 22 17:41:17.813 2008] [2816:4076] [debug] jk_ajp_common.c
(2522): recycling connection pool slot=0 for worker w849
[Mon Sep 22 17:41:17.813 2008] [2816:4076] [debug] mod_jk.c (2348):
Service finished with status=404 for worker=w849


As you could see the Content-Length is '0', status is 404 but I didn't
get the error page :-(

I'm using Apache 2.2.9 / mod_jk 1.2.26 and Tomcat 6.0.18, everything
on an XP box.

Did the 'if (!r->sent_bodyct && r->status >= HTTP_BAD_REQUEST) {' is
allready in 1.2.26 ?

Regards

2008/9/22 Henri Gomez <henri.gomez@gmail.com>:
>> Here is the HTTP header dump on my Firefox :
>>
>> Date: Mon, 22 Sep 2008 15:28:37 GMT
>> Server: Apache/2.2.9 (Win32) DAV/2 mod_jk/1.2.26 SVN/1.4.5
>> Etag: W/"0-1222097246922"
>> Last-Modified: Mon, 22 Sep 2008 15:27:26 GMT
>> Vary: Accept-Encoding
>> Content-Encoding: gzip
>> Content-Type: text/html
>>
>> 404 Introuvable
>
>
> Same dump when reaching Tomcat thru it's Coyote connector :
>
> Server: Apache-Coyote/1.1
> Etag: W/"0-1222097246922"
> Last-Modified: Mon, 22 Sep 2008 15:27:26 GMT
> Content-Type: text/html
> Content-Length: 0
> Date: Mon, 22 Sep 2008 15:29:59 GMT
>
> 404 Introuvable
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message