• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Connection reset by peer: Amount read didn't match content-length in AJP Configuration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Connection reset by peer: Amount read didn't match content-length in AJP Configuration


  • Subject: Re: Connection reset by peer: Amount read didn't match content-length in AJP Configuration
  • From: Pascal Robert <email@hidden>
  • Date: Mon, 30 Apr 2012 09:21:06 -0400

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@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Connection reset by peer: Amount read didn't match content-length in AJP Configuration
      • From: Bernhard Schumache <email@hidden>
References: 
 >Connection reset by peer: Amount read didn't match content-length in AJP Configuration (From: Bernhard Schumache <email@hidden>)

  • Prev by Date: Connection reset by peer: Amount read didn't match content-length in AJP Configuration
  • Next by Date: Re: ERAttachment and Rackspace CloudFiles?
  • Previous by thread: Connection reset by peer: Amount read didn't match content-length in AJP Configuration
  • Next by thread: Re: Connection reset by peer: Amount read didn't match content-length in AJP Configuration
  • Index(es):
    • Date
    • Thread