tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "MAHAINDRA Ketut" <ketut.mahain...@gemalto.com>
Subject RE: Problem with mod_jk / tomcat on file streaming
Date Sun, 03 Jun 2007 03:37:34 GMT
Hello,
 
Anyone can help on this?
Any help will be greatly appreciated.
Thanks again for your kind attention
 
Best regards
 
Ketut Mahaindra (Ito)

________________________________

From: MAHAINDRA Ketut [mailto:ketut.mahaindra@gemalto.com]
Sent: Fri 06/01/2007 16:40
To: Tomcat Users List
Subject: RE: Problem with mod_jk / tomcat on file streaming



Hello,

Here is the log after changing the JkLogLevel to "trace"
( most of the beginning of the log were removed as it indicates the data
receives from the stream )
You see below the log when the stream is cut prematurely after sequence
"1ff0"

...
[Fri Jun 01 16:20:38 2007] [18003:1744] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1043): 1fe0    43 0B F9
D0 EF F9 D8 78 A1 65 88 2E 97 2F 5E 5C  - C......x.e.../^\
[Fri Jun 01 16:20:38 2007] [18003:1744] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1043): 1ff0    8E 02 40
ED A7 B4 9A 29 69 B9 D9 00 00 00 00 00  - ..@....)i.......
[Fri Jun 01 16:20:38 2007] [18003:1744] [trace]
ajp_connection_tcp_get_message::jk_ajp_common.c (1049): exit
[Fri Jun 01 16:20:38 2007] [18003:1744] [trace]
ajp_process_callback::jk_ajp_common.c (1399): enter
[Fri Jun 01 16:20:38 2007] [18003:1744] [debug] ws_write::mod_jk.c
(452): written 8184 out of 8184
[Fri Jun 01 16:20:38 2007] [18003:1744] [trace]
ajp_process_callback::jk_ajp_common.c (1525): exit
[Fri Jun 01 16:20:38 2007] [18003:1744] [trace]
ajp_connection_tcp_get_message::jk_ajp_common.c (938): enter
[Fri Jun 01 16:20:38 2007] [18003:1744] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1043): received from
ajp13 pos=0 len=2 max=8192
[Fri Jun 01 16:20:38 2007] [18003:1744] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1043): 0000    05 01 00
00 00 00 00 00 00 00 00 00 00 00 00 00  - ................
[Fri Jun 01 16:20:38 2007] [18003:1744] [trace]
ajp_connection_tcp_get_message::jk_ajp_common.c (1049): exit
[Fri Jun 01 16:20:38 2007] [18003:1744] [trace]
ajp_process_callback::jk_ajp_common.c (1399): enter
[Fri Jun 01 16:20:38 2007] [18003:1744] [debug]
ajp_process_callback::jk_ajp_common.c (1506): AJP13 protocol: Reuse is
OK
[Fri Jun 01 16:20:38 2007] [18003:1744] [trace]
ajp_process_callback::jk_ajp_common.c (1514): exit
[Fri Jun 01 16:20:38 2007] [18003:1744] [trace]
ajp_get_reply::jk_ajp_common.c (1651): exit
[Fri Jun 01 16:20:38 2007] [18003:1744] [trace]
ajp_service::jk_ajp_common.c (1832): exit
[Fri Jun 01 16:20:38 2007] [18003:1744] [trace]
ajp_done::jk_ajp_common.c (2242): enter
[Fri Jun 01 16:20:38 2007] [18003:1744] [debug]
ajp_done::jk_ajp_common.c (2286): recycling connection pool slot=0 for
worker ajp13
[Fri Jun 01 16:20:38 2007] [18003:1744] [trace]
ajp_done::jk_ajp_common.c (2289): exit
[Fri Jun 01 16:20:38 2007] ajp13 server.mydomain.com 1.908274
[Fri Jun 01 16:20:38 2007] [18003:1744] [debug] jk_handler::mod_jk.c
(2238): Service finished with status=200 for worker=ajp13
[Fri Jun 01 16:20:38 2007] [18003:1744] [trace] jk_handler::mod_jk.c
(2241): exit

--
Best regards,

Ketut Mahaindra (Ito)
R&D Project Manager - T&I Tools and Applications Lab
"The race for perfection has no finish line"


-----Original Message-----
From: Rainer Jung [mailto:rainer.jung@kippdata.de]
Sent: Friday, June 01, 2007 4:38 PM
To: Tomcat Users List
Subject: Re: Problem with mod_jk / tomcat on file streaming

Try to reproduce on a test system. If you can do that, use JkLogLevel
trace and post the final parts, where you expect the problem to happen.

MAHAINDRA Ketut wrote:
> Hello,
>
> This is what I have inside my mod_jk.conf for Apache
> ---
> LoadModule jk_module modules/mod_jk.so
> <IfModule mod_jk.c>
>     JkWorkersFile /etc/httpd/conf.d/workers.properties
>     JkLogFile /etc/httpd/logs/mod_jk.log
>     JkLogLevel info
>     JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
>     JkOptions +ForwardKeySize +ForwardURICompatUnparsed +FlushHeader
>     JkRequestLogFormat "%w %V %T"
>     JkShmFile /var/run/mod_jk.shm
>     # mount points
>     JKMount /products/*.jsp ajp13
>     JKMount /products/* ajp13
> </IfModule>
> ---
>
> This is the workers.properties file extract for the ajp13 worker
> ---
> worker.ajp13.port=15509
> worker.ajp13.host=localhost
> worker.ajp13.type=ajp13
> worker.ajp13.lbfactor=1
> worker.ajp13.socket_keepalive=1
> worker.ajp13.socket_timeout=0
> ---
>
> I refrain from +FlushPackets because as the guide indicates, it gives
a
> strong performance penalty to for Apache and Tomcat.
>
> As for the timeout, not sure which one to use and the default is
already
> "0" which means indefinite.
>
> Any help are appreciated.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org





Mime
View raw message