tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 41124] - tcnative problem when streaming files large PDF files (ClientAbortException)
Date Sat, 09 Dec 2006 22:45:45 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41124>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41124





------- Additional Comments From corporate_gadfly@hotmail.com  2006-12-09 14:45 -------
(In reply to comment #8)
> I can't reproduce this problem for the follwoing three setups. I used your
> modjk.war with:
> 

Hi Rainer,

Thanks for replying.

> [..snip..]
> 
> But: I didn't use acrobat. I simply used curl to retrieve the result, to make
> sure, that it's not a combined problem with the client. Also the connection
> between apache and tomcat was a fast one.
> 
> apr was compiled with enabled thread support in all cases.
> 
> Could you please check, if the problem can be reproduced using a simple client
> like curl?

That's the thing. I tried with both curl and wget and cannot get it to fail. If
I try with either IE or Firefox it starts failing (usually) for file4.pdf and
file10.pdf. Sometimes even file1.pdf fails. Even if you try to say "save"
instead of "open", the file size ends up truncated. Can you try your test again
with browsers?

> 
> How long does the download take (add %D to your LogFormat in apache)?
> 

For a few failed requests it was (I believe in microseconds):

3448705
3594590
857019

> 
> What are the exact mod_jk and the connector settings?
> 

I believe I mentioned the mod_jk settings in comment 0. Here they are again:

Here's my mod_jk.conf:

LoadModule jk_module modules/mod_jk.so
JkWorkersFile conf/workers.properties
JkLogFile logs/mod_jk.log
JkLogLevel info
JkShmFile logs/mod_jk.shm
JkMount /jkstatus/ status
JkMount /sws/* local
JkMount /modjk/* local

(I forgot to type in the /modjk/* line last time).

Here's my workers.properties:

worker.list=local,status
worker.local.type=ajp13
worker.local.port=8009
worker.local.host=localhost
worker.status.type=status
worker.status.port=8009
worker.status.host=localhost

For the connector setting (from comment 3) is:

    <Connector port="8009"
               connectionTimeout="20000"
               enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />

The only thing I have done from the default setup is to add the
connectionTimeout value. The rest is plain vanilla.

My apr was configured using:
    ./configure
My tcnative was configured using:
    ./configure --with-apr=/usr/local/apr
My apache was configured using:
    ./configure --prefix=/www --enable-ssl --enable-proxy --enable-mods-shared=all
My modjk was configured using:
    ./configure --with-apxs=/www/bin/apxs --enable-jni --with-java-platform=2

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message