It works with IE5.5 on XP, but not with IE5.5 on 2000? Wow. That sucks! Have you tried 
different content-types and such in your form (just using plain, ole "text/html")? It 
works with NS on the same 2000 box? And IE6.x? Try using "The Proxomitron" (a proxy 
server) to look at the headers being sent by the different OS/browser flavors - you 
might have to turn off SSL to do this, I can't remember. Can you turn off SSL? Does 
that work (or not) the same?

The clients I've tested on have all been Windoze 2000. The server is Win2K, as well. 
We're using Oracle's 9iAS web server with OC4J. We're not using Struts - YET!  :-P

Sorry.
Dennis

-----Original Message-----
From:   Wilco Kasteleijn [mailto:[EMAIL PROTECTED] 
Sent:   Wednesday, September 10, 2003 12:24 PM
To:     [EMAIL PROTECTED]
Subject:        RE: [Commons-fileupload] FileUploadException: .. Read timed out

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to