• 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
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]

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


  • Subject: Connection reset by peer: Amount read didn't match content-length in AJP Configuration
  • From: Bernhard Schumache <email@hidden>
  • Date: Mon, 30 Apr 2012 13:57:10 +0200

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

  • Follow-Ups:
    • Re: Connection reset by peer: Amount read didn't match content-length in AJP Configuration
      • From: Pascal Robert <email@hidden>
  • Prev by Date: Re: Dev on Win ... deploy on *NIX and/or Mac
  • Next by Date: Re: Connection reset by peer: Amount read didn't match content-length in AJP Configuration
  • Previous by thread: Re: ERAttachment and Rackspace CloudFiles?
  • Next by thread: Re: Connection reset by peer: Amount read didn't match content-length in AJP Configuration
  • Index(es):
    • Date
    • Thread