There is still a serious problem in jk 1.2.20 when flushing some large
file (ie: PDF).
here is the dump :
file to be sent is 162748 long, iosize=8192
lReadLen=8192
lSentLen=8192
lReadLen=8192
lSentLen=16384
lReadLen=8192
lSentLen=24576
lReadLen=8192
lSentLen=32768
lReadLen=8192
lSentLen=40960
lReadLen=8192
lSentLen=49152
lReadLen=8192
lSentLen=57344
lReadLen=8192
lSentLen=65536
lReadLen=8192
lSentLen=73728
lReadLen=8192
lSentLen=81920
lReadLen=8192
lSentLen=90112
lReadLen=8192
lSentLen=98304
lReadLen=8192
lSentLen=106496
lReadLen=8192
lSentLen=114688
lReadLen=8192
lSentLen=122880
lReadLen=8192
lSentLen=131072
lReadLen=8192
lSentLen=139264
lReadLen=8192
stackTrace is ClientAbortException: java.io.IOException
at
org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:357)
at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434)
at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:349)
at
org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:380)
at
org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:369)
at
org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:89)
On the jk side :
[Thu Dec 07 11:50:19 2006] [28806:3264] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1029): 0360 33 33
20 32 35 30 20 32 37 38 20 0D 35 30 30 20 - 33.250.278..500.
[Thu Dec 07 11:50:19 2006] [28806:3264] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1029): 0370 35 30
30 20 35 30 30 20 35 30 30 20 35 30 30 20 - 500.500.500.500.
[Thu Dec 07 11:50:19 2006] [28806:3264] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1029): 0380 35 30
30 20 35 30 30 20 35 30 30 20 35 30 30 20 - 500.500.500.500.
[Thu Dec 07 11:50:19 2006] [28806:3264] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1029): 0390 35 30
30 20 33 33 33 20 33 33 33 20 36 37 35 20 - 500.333.333.675.
[Thu Dec 07 11:50:19 2006] [28806:3264] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1029): 03a0 36 37
35 20 36 37 35 20 35 30 30 20 0D 39 32 30 - 675.675.500..920
[Thu Dec 07 11:50:19 2006] [28806:3264] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1029): 03b0 20 36
31 31 20 36 31 31 20 36 36 37 20 37 32 32 - .611.611.667.722
[Thu Dec 07 11:50:19 2006] [28806:3264] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1029): 03c0 20 36
31 31 20 36 31 31 20 37 32 32 20 37 32 32 - .611.611.722.722
[Thu Dec 07 11:50:19 2006] [28806:3264] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1029): 03d0 20 33
33 33 20 34 34 34 20 36 36 37 20 35 35 36 - .333.444.667.556
[Thu Dec 07 11:50:19 2006] [28806:3264] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1029): 03e0 20 38
33 33 20 36 36 37 20 37 32 32 20 0D 36 31 - .833.667.722..61
[Thu Dec 07 11:50:19 2006] [28806:3264] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1029): 03f0 31 20
37 32 32 20 36 31 31 20 35 30 30 20 35 35 - 1.722.611.500.55
[Thu Dec 07 11:50:19 2006] [28806:3264] [debug] ws_write::mod_jk.c
(436): written 7252 out of 7252
[Thu Dec 07 11:50:19 2006] [28806:3264] [error]
ajp_connection_tcp_get_message::jk_ajp_common.c (970): wrong message
format 0x200d from 172.31.3.202:18093
[Thu Dec 07 11:50:19 2006] [28806:3264] [error]
ajp_get_reply::jk_ajp_common.c (1592): (w809) Tomcat is down or
network problems. Part of the response has already been sent to the
client
[Thu Dec 07 11:50:19 2006] [28806:3264] [info]
ajp_service::jk_ajp_common.c (1877): (w809) receiving from tomcat
failed, recoverable operation attempt=1
[Thu Dec 07 11:50:19 2006] [28806:3264] [info]
ajp_service::jk_ajp_common.c (1916): (w809) sending request to tomcat
failed, recoverable operation attempt=2
[Thu Dec 07 11:50:19 2006] [28806:3264] [error]
ajp_service::jk_ajp_common.c (1928): (w809) Connecting to tomcat
failed. Tomcat is probably not started or is listening on the wrong
port
[Thu Dec 07 11:50:19 2006] [28806:3264] [debug]
ajp_done::jk_ajp_common.c (2258): recycling connection pool slot=0 for
worker w809
I send block of 8k, could it be the problem ?
Also I'm using AjpApr
Regards
2006/12/7, Mladen Turk <[EMAIL PROTECTED]>:
Henri Gomez wrote:
> BTW, windows binaries are very welcome !
>
I'll prepare them later today, and hand them
over to the Rainer. (Well I'll put them on
my people.a.o)
Regards,
Mladen.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]