If it is not the obvious cause (user stopped something), then I would look for 
network problems or a bug in the woadaptor or maybe something in Tomcat (not 
sure how that affects this).


chuck

On 2012-04-30, at 6:21 AM, Pascal Robert wrote:

> I have seen that in the past, and most of the time, it was people who were 
> stopping their file upload before it ended.
> 
>> Hello All,
>> 
>> we are facing a sporadic error in our Application.
>> 
>> com.webobjects.foundation.NSForwardException [java.io.IOException] 
>> Connection reset by peer: Amount read didn't match 
>> content-length:java.io.IOException: Connection reset by peer
>> : Amount read didn't match content-length
>>       at 
>> com.webobjects.appserver._private.WOInputStreamData._extractBytesFromInputStream(WOInputStreamData.java:128)
>>       at 
>> com.webobjects.appserver._private.WOInputStreamData.bytesNoCopy(WOInputStreamData.java:147)
>>       at com.webobjects.foundation.NSData._bytesNoCopy(NSData.java:506)
>>       at com.webobjects.appserver.WOMessage.contentString(WOMessage.java:735)
>>       at 
>> com.webobjects.appserver.WORequest.getFormValuesFromURLEncoding(WORequest.java:1276)
>>       at com.webobjects.appserver.WORequest.formValues(WORequest.java:1367)
>> 
>> It looks like this occurs only when an ajax request is sent. When it happens 
>> all sessions on the affected instance are frozen for some time.
>> 
>> I've searched the list and the web for hours now. Without finding a clue 
>> what could cause this and how to fix it.
>> The only hint I found that it could be related with some error in WOMessage 
>> but nothing about a fix or deeper information about the cause.
>> 
>> Our environment is:
>> Java:                   1.5.0_22
>> WebObjects:     5.4.3
>> Tomcat:             6.0.35
>> Apache:            2.2.21
>> mod_jk:            1.2.32
>> 
>> Any suggestions?
>> 
>> Thanks,
>> Bernhard
>> 
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
>> 
>> This email sent to [email protected]
> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
> 
> This email sent to [email protected]

-- 
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall 
knowledge of WebObjects or who are trying to solve specific problems.    
http://www.global-village.net/gvc/practical_webobjects








Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to