Re: WOFileUpload exception....
Re: WOFileUpload exception....
- Subject: Re: WOFileUpload exception....
- From: Hsu <email@hidden>
- Date: Thu, 22 May 2003 18:24:36 -0700
This is the exception thrown when a user cancels a file upload.
Note that safari seems to have some problem with this because of the
60second time limit, which doesn't care if data is still going.
Karl
On Wednesday, May 21, 2003, at 10:33 AM, Jonathan Rochkind wrote:
I log exceptions that are caught by Application handleException(). I
am logging exceptions with WOFileUpload in the stack trace. There are
two ways the exception exhibits, although both involve an IOException
with the message "Connection reset by peer: Amount read didn't match
content-length". The actual exception that makes it up to
handleException is sometimes a RuntimeException and sometimes an
NSForwardException, as detailed below.
I haven't figured out how to intentionally produce this sort of
exception. I'm not sure what causes it. But it appears to cause some
sort of problem for users (unsurprisingly). It appears in the logs
right around where users have reported strange and problematic
behavior (not sure exactly what, you know how it's dificult to get
specific information from users on this sort of thing).
Does anyone have any idea what's going on here? Or how I can deal
with it?
The two types of exceptions:
1) a java.lang.RuntimeException with the message "Error writing to
output stream: java.io.FileOutputStream@15c5ec java.io.IOException:
Connection reset by peer: Amount read didn't match content-length".
(WOFileUpload line 253 takeValuesFromRequest method in stack trace)
2) An NSForwardException wrapping an IOException with the message
"Connection reset by peer: Amount read didn't match content-length"
(WOFileUpload line 138 takeValuesFromRequest method in stack trace).
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
--
listen to them
the children of the internet
such whining they make
(they never email, they never chat, what good are grandchildren if
you've never even had kids?)
Homepage:
http://homepage.mac.com/khsu/index.html
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.