SOLVED: Problem with mod_jk / tomcat on file streaming

2007-06-10 Thread MAHAINDRA Ketut
problem disappears. Thanks to Haroon Rafique for pointing this out. -- Best regards, Ketut Mahaindra (Ito) -Original Message- From: MAHAINDRA Ketut [mailto:[EMAIL PROTECTED] Sent: Friday, June 01, 2007 3:42 PM To: users@tomcat.apache.org Subject: Problem with mod_jk / tomcat on file

RE: Problem with mod_jk / tomcat on file streaming

2007-06-02 Thread MAHAINDRA Ketut
: 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 "

RE: Problem with mod_jk / tomcat on file streaming

2007-06-01 Thread MAHAINDRA 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:[EMAIL PROTECTED] Sent: Friday, June 01, 2007 4:38 PM To: Tomcat Users List Subject: Re: Problem with mod

Re: Problem with mod_jk / tomcat on file streaming

2007-06-01 Thread Rainer Jung
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 JkWorkersFile /etc/ht

RE: Problem with mod_jk / tomcat on file streaming

2007-06-01 Thread MAHAINDRA Ketut
bject: Re: Problem with mod_jk / tomcat on file streaming Have a look at the flush options on http://tomcat.apache.org/connectors-doc/reference/apache.html and maybe at the various timeouts at http://tomcat.apache.org/connectors-doc/reference/workers.html There is also a Timeout directive for Apach

Re: Problem with mod_jk / tomcat on file streaming

2007-06-01 Thread Rainer Jung
Have a look at the flush options on http://tomcat.apache.org/connectors-doc/reference/apache.html and maybe at the various timeouts at http://tomcat.apache.org/connectors-doc/reference/workers.html There is also a Timeout directive for Apache httpd. If you can't find it out, post your config

Problem with mod_jk / tomcat on file streaming

2007-06-01 Thread MAHAINDRA Ketut
Hello all, I have a problem when using Tomcat 5.5.23 and apache/mod_jk 1.2.23. I have a piece of code that will stream a file when a download request is made by a user. ... response.setContentType("application/octet-stream"); response.setContentLength((int)fDownload.length()); response.