Ok, so now can you remind us of
- on what platform you are (Windows, Linux,..)
- what version of Tomcat this is
- and paste the first few lines of the Tomcat startup messages, from the logfile
(to find out whether you are using APR or not)
Sorry if you already said all that, I'm too lazy to scroll back through the
messages.
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" enableLookups="false" disableUploadTimeout="true" allowTrace="false" maxKeepAliveRequests="1"
processorCache="800" acceptorThreadCount="1" />
And I changed this to:
<Connector executor="AgentExecutor" port="8088" protocol="HTTP/1.1" SSLEnabled="false" scheme="http" secure="false" redirectPort="8080"
connectionTimeout="2000" enableLookups="false" disableUploadTimeout="true" allowTrace="false" maxKeepAliveRequests="1" processorCache="800"
acceptorThreadCount="1" />
And now it does work for 500MB files, though when comparing the time it takes
(for smaller files which work on both configurations),
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 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 ?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org