RE: fail to download large static files in tomcat

2011-07-28 Thread Michal Singer
Regarding the question I asked on downloading large static files a while ago, I got a reply now: hi, i got the same issue today, environment: windows xp, tomcat 7 with nio connector; it works after i try to add useSendfile=false in server.xml Connector section; you could have a try I

Re: fail to download large static files in tomcat

2011-07-28 Thread Pid
On 28/07/2011 07:31, Michal Singer wrote: Regarding the question I asked on downloading large static files a while ago, I got a reply now: hi, i got the same issue today, environment: windows xp, tomcat 7 with nio connector; it works after i try to add useSendfile=false in server.xml

RE: fail to download large static files in tomcat

2011-07-28 Thread Michal Singer
transfer is slow but then it is faster -Original Message- From: Pid [mailto:p...@pidster.com] Sent: ה 28 יולי 2011 11:16 To: Tomcat Users List Subject: Re: fail to download large static files in tomcat On 28/07/2011 07:31, Michal Singer wrote: Regarding the question I asked on downloading large

Re: fail to download large static files in tomcat

2011-07-28 Thread Pid
On 28/07/2011 09:19, Michal Singer wrote: What works? When using nio connector with this parameter useSendFile=false, the load of large static files works fine. Before I set it to false it failed. Are you still attempting to resolve this, or just commenting? p

RE: fail to download large static files in tomcat

2011-07-28 Thread Michal Singer
To: Tomcat Users List Subject: Re: fail to download large static files in tomcat On 28/07/2011 09:19, Michal Singer wrote: What works? When using nio connector with this parameter useSendFile=false, the load of large static files works fine. Before I set it to false it failed. Are you still

RE: fail to download large static files in tomcat

2011-07-03 Thread Michal Singer
30 יוני 2011 18:45 To: Tomcat Users List Subject: Re: fail to download large static files in tomcat Michal Singer wrote: This was the configuration I had in the server.xml which did not work for large files: Connector executor=AgentExecutor port=8088 protocol=org.apache.coyote.http11

RE: fail to download large static files in tomcat

2011-06-30 Thread Michal Singer
...@unisys.com] Sent: ג 28 יוני 2011 15:51 To: Tomcat Users List Subject: RE: fail to download large static files in tomcat From: Michal Singer [mailto:michal.sin...@expand.com] Subject: RE: fail to download large static files in tomcat From the tomcat documentation I read this useSendFile is default

RE: fail to download large static files in tomcat

2011-06-30 Thread Michal Singer
and it didn't work as well. And also ftp works fine. Thanks, Michal -Original Message- From: Michal Singer Sent: ה 30 יוני 2011 09:39 To: Tomcat Users List Subject: RE: fail to download large static files in tomcat Hi, I tried defining the useSendFile - it did not help in transferring

Re: fail to download large static files in tomcat

2011-06-30 Thread Konstantin Kolinko
and it didn't work as well. And also ftp works fine. Thanks, Michal -Original Message- From: Michal Singer Sent: ה 30 יוני 2011 09:39 To: Tomcat Users List Subject: RE: fail to download large static files in tomcat Hi, I tried defining the useSendFile - it did not help

RE: fail to download large static files in tomcat

2011-06-30 Thread Michal Singer
? Though I tried other clients and it didn't work as well. And also ftp works fine. Thanks, Michal -Original Message- From: Michal Singer Sent: ה 30 יוני 2011 09:39 To: Tomcat Users List Subject: RE: fail to download large static files in tomcat Hi, I tried defining

Re: fail to download large static files in tomcat

2011-06-30 Thread André Warnier
Michal Singer wrote: ... I am using nio connector. Actually this was a very good question. I changed the connector to HTTP/1.1 and now the download works !!! Can you exlain *exactly* what you changed, where ? e.g. what the Connector element looked like before, and what it looks like now ?

RE: fail to download large static files in tomcat

2011-06-30 Thread Michal Singer
of course, I prefer it to work on nio. -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: ה 30 יוני 2011 13:30 To: Tomcat Users List Subject: Re: fail to download large static files in tomcat Michal Singer wrote: ... I am using nio connector. Actually this was a very

Re: fail to download large static files in tomcat

2011-06-30 Thread Konstantin Kolinko
2011/6/30 Michal Singer michal.sin...@expand.com: I didn't want to upgrade the tomcat yet, since I had some problems with the ssl certificate after upgrade, Most problems with ssl are when Tomcat (auto-)switches between Apr and non-Apr implementation (see below), because Apr and non-Apr SSL

Re: fail to download large static files in tomcat

2011-06-30 Thread André Warnier
), the performance degraded with the HTTP/1.1 connector. So of course, I prefer it to work on nio. -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: ה 30 יוני 2011 13:30 To: Tomcat Users List Subject: Re: fail to download large static files in tomcat Michal Singer wrote: ... I

RE: fail to download large static files in tomcat

2011-06-30 Thread Michal Singer
Engine: Apache Tomcat/6.0.18 -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: ה 30 יוני 2011 14:06 To: Tomcat Users List Subject: Re: fail to download large static files in tomcat Ok, so now can you remind us of - on what platform you are (Windows, Linux,..) - what

Re: fail to download large static files in tomcat

2011-06-30 Thread André Warnier
Michal Singer wrote: This was the configuration I had in the server.xml which did not work for large files: Connector executor=AgentExecutor port=8088 protocol=org.apache.coyote.http11.Http11NioProtocol SSLEnabled=false scheme=http secure=false redirectPort=8080 connectionTimeout=2000

RE: fail to download large static files in tomcat

2011-06-29 Thread Michal Singer
To: Tomcat Users List Subject: RE: fail to download large static files in tomcat From: Michal Singer [mailto:michal.sin...@expand.com] Subject: RE: fail to download large static files in tomcat From the tomcat documentation I read this useSendFile is default to true and it is defined under nio

RE: fail to download large static files in tomcat

2011-06-29 Thread Michal Singer
Never mind. I understand now what you mean. Please ignore my previous question. Thanks, -Original Message- From: Michal Singer Sent: ד 29 יוני 2011 09:22 To: Tomcat Users List Subject: RE: fail to download large static files in tomcat Hi, I didn't understand where you recommended

RE: fail to download large static files in tomcat

2011-06-28 Thread Michal Singer
? Or is there another way to configure the use of static files? Thanks, Michal -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: ב 27 יוני 2011 15:39 To: Tomcat Users List Subject: Re: fail to download large static files in tomcat Michal Singer wrote: ... This worked

Re: fail to download large static files in tomcat

2011-06-28 Thread André Warnier
Michal Singer wrote: The useSendfile relates to connectors, the configuration I understand is needed is in under Engine Host Context (ContextdocBase=../../work/bundles path=/bundles) Can you explain how the useSendfile relates to static files? Is the configuration I

RE: fail to download large static files in tomcat

2011-06-28 Thread Michal Singer
about the tomcat. Or maybe I am not defining the static retrieve correctly in server.xml. Any thoughts on that? Thanks, Michal -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: ג 28 יוני 2011 14:33 To: Tomcat Users List Subject: Re: fail to download large static files

RE: fail to download large static files in tomcat

2011-06-28 Thread Caldarale, Charles R
From: Michal Singer [mailto:michal.sin...@expand.com] Subject: RE: fail to download large static files in tomcat From the tomcat documentation I read this useSendFile is default to true and it is defined under nio. This is correct; NIO does support sendfile, as does APR. As I mentioned

fail to download large static files in tomcat

2011-06-27 Thread Michal Singer
Hi, I am working with apache-tomcat-6.0.18 and I want to use it to download static files. I have clients which will contact tomcat using wget. I saw in the following link, that this can be done in tomcat by configuring the server.xml and adding a Context under Host with the path to where the

Re: fail to download large static files in tomcat

2011-06-27 Thread André Warnier
Michal Singer wrote: ... This worked fine, the client succeeded to download the files, but I need it to work with large files (more then 500MB). This failed. What failed ? How failed ? what do the logfiles say ? Does anyone know why this can fail? Not without some better data. Is

Re: fail to download large static files in tomcat

2011-06-27 Thread Pid
On 27/06/2011 11:42, Michal Singer wrote: Hi, I am working with apache-tomcat-6.0.18 and I want to use it to download static files. Please post a new message to the list, rather than editing replying to an existing thread. p signature.asc Description: OpenPGP digital signature

RE: fail to download large static files in tomcat

2011-06-27 Thread Michal Singer
-sa.com] Sent: ב 27 יוני 2011 15:39 To: Tomcat Users List Subject: Re: fail to download large static files in tomcat Michal Singer wrote: ... This worked fine, the client succeeded to download the files, but I need it to work with large files (more then 500MB). This failed. What failed ? How

fail to download large static files in tomcat

2011-06-27 Thread Michal Singer
-sa.com] Sent: ב 27 יוני 2011 15:39 To: Tomcat Users List Subject: Re: fail to download large static files in tomcat Michal Singer wrote: ... This worked fine, the client succeeded to download the files, but I need it to work with large files (more then 500MB). This failed. What failed ? How

Re: fail to download large static files in tomcat

2011-06-27 Thread David kerber
On 6/27/2011 9:56 AM, Michal Singer wrote: This is the error I get: wget http://172.18.206.103/bundles/vacc-AOS701b318-fl.tgz --08:27:06-- http://172.18.206.103/bundles/vacc-AOS701b318-fl.tgz = `vacc-AOS701b318-fl.tgz.1' Connecting to 172.18.206.103:80... connected. HTTP request