WOFileUpload exception....
WOFileUpload exception....
- Subject: WOFileUpload exception....
- From: Jonathan Rochkind <email@hidden>
- Date: Wed, 21 May 2003 12:33:56 -0500
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.