tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From will trillich <trill...@gmail.com>
Subject Re: Upload stop after 30 minutes: Processing of multipart/form-data requestfailed. Stream ended unexpectedly
Date Fri, 22 May 2009 18:01:32 GMT
Hmm. This sounds kinda like something we ran into lately -- maybe this
will help you:
- our server had TWO nic cards, one for internal 10.10.*.* one for
external 208.*.*.*
- we'd accidentally set up 'default gateway' on both

This meant the system was confused as to where to send replies. Looked
like a firewall issue, a router issue... but it was just a
mis-configuration in the network settings. Ports didn't matter,
firewall was okay, router couldn't get a dependable response...

E.G. if your IPs are 10.10.10.10/255.255.0.0 and
1.2.3.4/255.255.255.240 then your network knows which interface a
packed aimed at 10.10.1.1 should go out on, or where a packet aimed at
1.2.3.7 should go out on. But where would a packet aimed at
222.222.222.222 go? That's when you have a default gateway, which in
this case would probably be something like 1.2.3.1.

In case this helps.

On Fri, May 22, 2009 at 7:13 AM, Patrick Herber
<patrick.herber@ticino.com> wrote:
> Thanks a lot for your reply!
>
> I've tried your suggestions this are the results.
>
>> What happens if you go directly into port 8080, bypassing httpd?
> I've tried but I get the same exception
>
>> Just for grins, what happens if you change that to 60? Or 10?
> I've tried but nothing has changed...
>
>> Is there anything in between httpd and Tomcat (e.g., firewall) that might
>> be dropping the connection?
> No (and now that I've tested directly on tomcat I presume that it's either a
> Tomcat or a Commons FileUpload configuration problem)
>
> Looking after the problem I also found a suggestion to explicity set
> "disableUploadTimeout to false" (see
> http://www.tek-tips.com/viewthread.cfm?qid=627123): I've also tried this one
> but without success...
>
> Any other suggestion?
>
> Thanks a lot again for your help
>
> Patrick
>
>>> From: Patrick Herber [mailto:patrick.herber@ticino.com]
>>> Subject: Upload stop after 30 minutes: Processing of multipart/form-
>>> data requestfailed. Stream ended unexpectedly
>>>
>>> I'm experiencing problems uploading big files on it: after around 30
>>> minutes (nearly exactly 30 minutes!) the upload stops.
>>>
>>
>> What happens if you go directly into port 8080, bypassing httpd?
>>
>> I realize it shouldn't have anything to do with the session timeout (and
>> your AJAX requests should be resetting the timer), but that's the only thing
>> I can think of in Tomcat that has a default value of 30 minutes.  Just for
>> grins, what happens if you change that to 60?  Or 10?
>>
>> Is there anything in between httpd and Tomcat (e.g., firewall) that might
>> be dropping the connection?
>>
>>  - Chuck
>>
>>
>> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
>> MATERIAL and is thus for use only by the intended recipient. If you received
>> this in error, please contact the sender and delete the e-mail and its
>> attachments from all computers.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>>
>



-- 
will trillich
"Our only real economic security lies in our power to meet human
needs." -- S.Covey, the 8th Habit

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


Mime
View raw message