tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Baldurien <baldur...@gmail.com>
Subject Re: Download problem with IE6, IIS 6.0, SSL, Tomcat 6.0.13 and connector 1.2.25 (last in date) on Windows Server 2k3
Date Thu, 20 Sep 2007 13:39:12 GMT

I've found a reason to my problem : I was sending a Content-Length 
header, albeit I was using GZIP Compression.

What I do not understand, is why the browser could get the content on 
tomcat despise that header, and why the connector could not?

Martin Gainty wrote:
> when you change an attribute of the connector you need to restart the 
> connector by
> cycling (stop/start) Tomcat
>
> M--
> ----- Original Message ----- From: "Baldurien" <baldurien@gmail.com>
> To: "Tomcat Users List" <users@tomcat.apache.org>
> Sent: Wednesday, September 19, 2007 12:55 PM
> Subject: Re: Download problem with IE6, IIS 6.0, SSL, Tomcat 6.0.13 
> and connector 1.2.25 (last in date) on Windows Server 2k3
>
>
>> Here is more information :
>>
>> - I tried with firefox using IIS, and it fails too.
>>
>> - I've done the following test : I made 10 files of different size 
>> (512 bytes, 1024, 2048, ...) then I uploaded them :
>>
>> On IIS (tested with Fx, and IE):
>>
>> 1. When the file is less or equals 16KiB, upload works.
>> 2. When the file is bigger than 32KiB, upload fails.
>>
>> On Tomcat directly (only testable with IE):
>>
>> 1. Works in any case
>>
>> After uploading the biggest files, I tried to download them :
>>
>> 1. It works for <= 16KiB
>> 2. It fails for 32KiB
>>
>> You seemed to think that it might be "|disableUploadTimeout" (which 
>> is set to false by default), so I tried 
>> ||disableUploadTimeout="true", restarted the Tomcat service, and it 
>> did not resolve the problem.
>> |
>> Martin Gainty wrote:
>>> to make sure its not tomcat timing out
>>> what is disableUploadTimeout in your connector set to?
>>>
>>> M--
>>> ----- Original Message ----- From: "Baldurien" <baldurien@gmail.com>
>>> To: <users@tomcat.apache.org>
>>> Sent: Wednesday, September 19, 2007 9:16 AM
>>> Subject: Download problem with IE6, IIS 6.0, SSL, Tomcat 6.0.13 and 
>>> connector 1.2.25 (last in date) on Windows Server 2k3
>>>
>>>
>>>> Hello,
>>>>
>>>> I have the following configuration :
>>>>
>>>> - A Tomcat 6.0.13 serving any file running on port 8080
>>>> -  A  IIS  6.0 frontend server, on port 80/443 (for SSL) which use the
>>>> Jp connector 1.2.25 as a gateway to Tomcat, on Windows Server 2003
>>>>
>>>> The  connector  serves  all  that  is  in  /myProject path without any
>>>> restriction  on  file  type. It works pretty well in both case (IIS ->
>>>> Tomcat, or Tomcat without IIS).
>>>>
>>>> However,  the application do have a struct action which serves up file
>>>> stored  in  database,  via  Hibernate.  In such case, when the file is
>>>> "large"  (I  would  say  at  least  10KiB),  Internet Explorer 6 fails
>>>> downloading with this message :
>>>>
>>>> >> Internet Explorer cannot download dwl.do?id=19 from localhost.
>>>> >>
>>>> >> The connection with the server was reset
>>>>
>>>> This      fails      only      when      I'm      using the      
>>>> IIS url
>>>> (https://localhost/foo/dwl.do?id=19)  :  when I'm calling directly the
>>>> Tomcat webserver, it works without any problem.
>>>>
>>>> Before  looking  for a solution on the web, I tried to view the log of
>>>> the  connector  :  I  do  not  have  a  single log file in "C:\Program
>>>> Files\Apache   Software   Foundation\Jakarta   Isapi  Redirector\log",
>>>> despise  the  fact  I  setted level on debug both in a file located in
>>>> the same directory than isapi_redirect, and in registry.
>>>>
>>>> My search was not successful, as I found no real clues about my 
>>>> problem.
>>>>
>>>> I  did  not try with another browser (like Firefox) as the web project
>>>> must work with IE6.
>>>>
>>>> Additionnaly, I have a few questions regarding my problem :
>>>>
>>>> 1.  How  do  we enable the logs? The isapi_redirect.properties and the
>>>> registry points to :
>>>>
>>>> log_file=C:\Program Files\Apache Software Foundation\Jakarta Isapi 
>>>> Redirector\log\jakarta.log
>>>> log_level=debug
>>>>
>>>> The file is never created. I did not try without spaces.
>>>>
>>>> 2.  Is  there  a  limit  in  size  between IIS and Tomcat? Some of the
>>>> result  in  my  search  spoke about a 8192 bytes limits, other about a
>>>> pool size limit?
>>>>
>>>> Honestly,
>>>> Baldurien
>>>>
>>>> ---------------------------------------------------------------------
>>>> 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
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> 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