Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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

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._extractBytesFromInputStream(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._dispatchWithPreparedPage(WOComponentRequestHandler.java:188)

        at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedSession(WOComponentRequestHandler.java:287)

        at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedApplication(WOComponentRequestHandler.java:322)

        at com.webobjects.appserver._private.WOComponentRequestHandler._handleRequest(WOComponentRequestHandler.java:358)

        at com.webobjects.appserver._private.WOComponentRequestHandler.handleRequest(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:
http://lists.apple.com/mailman/options/webobjects-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.