Re: Error message [Connection reset by peer: Amount read didn't match content-length]
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 11:09:28 -0800
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._extractBytesFromI
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._dispatchW
ithPreparedPage(WOComponentRequestHandler.java:188)
at
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchW
ithPreparedSession(WOComponentRequestHandler.java:287)
at
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchW
ithPreparedApplication(WOComponentRequestHandler.java:322)
at
com.webobjects.appserver._private.WOComponentRequestHandler._handleReq
uest(WOComponentRequestHandler.java:358)
at
com.webobjects.appserver._private.WOComponentRequestHandler.handleRequ
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
_______________________________________________
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