• 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: Error message [Connection reset by peer: Amount read didn't match content-length]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error message [Connection reset by peer: Amount read didn't match content-length]


  • Subject: Re: Error message [Connection reset by peer: Amount read didn't match content-length]
  • From: Chuck Hill <email@hidden>
  • Date: Thu, 27 Dec 2007 12:10:15 -0800

Are they in a form? Something is wrong with the form data that the browser is sending to the app, or in how the app is handling the data. It might be an API change from 5.1 to 5.3, I don't recall.

Chuck

On Dec 27, 2007, at 12:07 PM, Ren, Kevin wrote:

NO WOFileUPload, just the button to do normal "Search" or Create "NEW"
instance of recipe.

Thanks

Kevin



-----Original Message-----
From: Chuck Hill [mailto:email@hidden]
Sent: Friday, 28 December 2007 8:09 a.m.
To: Ren, Kevin
Cc: email@hidden
Subject: Re: Error message [Connection reset by peer: Amount read didn't
match content-length]


Are you using a WOFileUpload on that page?


On Dec 26, 2007, at 6:44 PM, Ren, Kevin wrote:

Hi, After I manually migrated my existing application from old
WO5.1 to WO5.3, I could run/start the web application.

I have to moved the EOModel to Resources dir to let the application
loading the Eomodel, otherwise broken with DB.

But when I clicked "Search" or  created "NEW" instance I got below
error message in WOLips console.

Amount is the attribute of one table, but not sure this "Amount" is my

column or not. It's declared varchar2 and datatype String.

[2007-12-27 15:30:22 NZDT] <WorkerThread14>
<com.webobjects.appserver._private.WOComponentRequestHandler>:
Exception occurred while handling request:

com.webobjects.foundation.NSForwardException [java.io.IOException]
Connection reset by peer: Amount read didn't match content-length

[2007-12-27 15:30:22 NZDT] <WorkerThread14>
com.webobjects.foundation.NSForwardException for
java.io.IOException: Connection reset by peer: Amount read didn't
match content-length

at
com.webobjects.appserver._private.WONoCopyPushbackInputStream.read
(WONoCopyPushbackInputStream.java:175)
at
com.webobjects.appserver._private.WOInputStreamData._extractBytesFrom I
nputStream(WOInputStreamData.java:105)
at
com.webobjects.appserver._private.WOInputStreamData.bytesNoCopy
(WOInputStreamData.java:137)
at com.webobjects.foundation.NSData._bytesNoCopy
(NSData.java:502)
at com.webobjects.appserver.WOMessage.contentString
(WOMessage.java:649)
at com.webobjects.appserver.WORequest._formDataFromContent
(WORequest.java:671)
at
com.webobjects.appserver.WORequest._getFormValuesFromURLEncoding
(WORequest.java:1280)
at com.webobjects.appserver.WORequest.formValues
(WORequest.java:1390)
at com.webobjects.appserver.WORequest._hasFormValues
(WORequest.java:1190)
at
com.webobjects.appserver._private.WOComponentRequestHandler._dispatch W
ithPreparedPage(WOComponentRequestHandler.java:188)


at
com.webobjects.appserver._private.WOComponentRequestHandler._dispatch W
ithPreparedSession(WOComponentRequestHandler.java:287)


at
com.webobjects.appserver._private.WOComponentRequestHandler._dispatch W
ithPreparedApplication(WOComponentRequestHandler.java:322)


at
com.webobjects.appserver._private.WOComponentRequestHandler._handleRe q
uest(WOComponentRequestHandler.java:358)


at
com.webobjects.appserver._private.WOComponentRequestHandler.handleReq u
est(WOComponentRequestHandler.java:432)


        at com.webobjects.appserver.WOApplication.dispatchRequest
(WOApplication.java:1306)
        at com.webobjects.appserver._private.WOWorkerThread.runOnce
(WOWorkerThread.java:173)
        at com.webobjects.appserver._private.WOWorkerThread.run
(WOWorkerThread.java:254)
        at java.lang.Thread.run(Thread.java:595)

Any idea?


Anyway merry Christmas and happy new year



Xiaowen(Kevin) Ren

Analyst Programmer
Channel Applications, Retail Applications ANZ National Bank Ltd Level
6 ASB Tower
2 Hunter Street
PO Box 1791
Wellington
Phone: 04 4944174
Fax: 04 8028696




"This communication is confidential and may contain privileged and/ or

copyright material. If you are not the intended recipient you must not

use, disclose, copy or retain it. If you have received it in error
please immediately notify me by return email, delete the emails and
destroy any hard copies. ANZ National Bank Limited does not guarantee
the integrity of this communication, or that it is free from errors,
viruses or interference."

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

This email sent to email@hidden

--

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/products/practical_webobjects








"This communication is confidential and may contain privileged and/ or copyright material. If you are not the intended recipient you must not use, disclose, copy or retain it. If you have received it in error please immediately notify me by return email, delete the emails and destroy any hard copies. ANZ National Bank Limited does not guarantee the integrity of this communication, or that it is free from errors, viruses or interference."


--

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/products/practical_webobjects






_______________________________________________
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


References: 
 >RE: Error message [Connection reset by peer: Amount read didn't match content-length] (From: "Ren, Kevin" <email@hidden>)

  • Prev by Date: RE: Error message [Connection reset by peer: Amount read didn't match content-length]
  • Next by Date: Re: EOSharedEditingContext
  • Previous by thread: RE: Error message [Connection reset by peer: Amount read didn't match content-length]
  • Next by thread: How to create lproj in Eclipse/WOLips for HelloWorld
  • Index(es):
    • Date
    • Thread