commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wilco Kasteleijn" <wkastele...@hotmail.com>
Subject RE: [Commons-fileupload] FileUploadException: .. Read timed out
Date Wed, 10 Sep 2003 16:24:02 GMT
Hi Dennis,

>Let's see some code! Do you check to make sure the file field was provided 
>before writing? I don't know what would happen if you didn't, but a read 
>timeout is conceivable. I use it with SSL, IE5.5, NS4.7, NS6.1, and NS7.1 
>with no trouble.

Thanks for the tip. But none of my code is excecuted at that point, it never 
arrives at my action class. The problem occurs during form reading in the 
struts request processor. Are you running IE5.5 on XP? Because it only 
happens with windows2000/98 client machines.

I have digged into the source code and got a more detailed stacktrace (see 
below).

Regards,
Wilco.

java.net.SocketTimeoutException: Read timed out
	at java.net.SocketInputStream.socketRead0(Native Method)
	at java.net.SocketInputStream.read(Unknown Source)
	at com.sun.net.ssl.internal.ssl.InputRecord.a(Unknown Source)
	at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)
	at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)
	at 
org.apache.catalina.connector.http.SocketInputStream.fill(SocketInputStream.java:594)
	at 
org.apache.catalina.connector.http.SocketInputStream.read(SocketInputStream.java:531)
	at org.apache.catalina.connector.RequestStream.read(RequestStream.java:189)
	at 
org.apache.catalina.connector.http.HttpRequestStream.read(HttpRequestStream.java:214)
	at java.io.InputStream.read(Unknown Source)
	at org.apache.catalina.connector.RequestStream.read(RequestStream.java:238)
	at 
org.apache.catalina.connector.http.HttpRequestStream.read(HttpRequestStream.java:254)
	at 
org.apache.commons.fileupload.MultipartStream.discardBodyData(MultipartStream.java:651)
	at 
org.apache.commons.fileupload.MultipartStream.skipPreamble(MultipartStream.java:690)
	at 
org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:339)
	at 
org.apache.struts.upload.CommonsMultipartRequestHandler.handleRequest(CommonsMultipartRequestHandler.java:233)
	at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1209)
	at 
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:821)
	at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254)
	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)

_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message