Problems with file uploads over SSL

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Problems with file uploads over SSL

Tom Vasset
Hi,

I'm experiencing a weird problem with file uploads over HTTPS using Jetty 5.1.4
(on Linux)and Struts (1.1). When I submit the file upload form with Internet
Explorer (6.0), I sometimes (it happens only once in a while and almost never
twice in a row) get a "java.net.SocketTimeoutException: Read timed out"
exception (see below) logged from org.mortbay.http.HttpConnection.

Explorer (instantly on submit) presents the "Cannot find server" page. After
this I get repeated "java.net.SocketTimeoutException: Accept timed out" logging
by org.mortbay.util.ThreadedServer.

Any suggestions to what the cause can be and how to solve this?

Level
DEBUG
Logger
org.mortbay.http.HttpConnection
Time
2005-06-15 10:35:27,840
Thread
SunJsseListener1-1
Message
EXCEPTION
NDC
null
Class
org.mortbay.http.HttpConnection
Method
handleNext
Line
990
File
HttpConnection.java
Properties
{{log4j.remoteSourceInfo,valle.teu.tomra.corp:33355}
{hostname,valle.teu.tomra.corp}{log4jid,3}}
Throwable
java.net.SocketTimeoutException: Read timed out
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:129)
        at com.sun.net.ssl.internal.ssl.InputRecord.a(DashoA6275)
        at com.sun.net.ssl.internal.ssl.InputRecord.read(DashoA6275)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
        at com.sun.net.ssl.internal.ssl.AppInputStream.read(DashoA6275)
        at org.mortbay.util.LineInput.fill(LineInput.java:469)
        at org.mortbay.util.LineInput.fillLine(LineInput.java:547)
        at org.mortbay.util.LineInput.readLineBuffer(LineInput.java:293)
        at org.mortbay.util.LineInput.readLineBuffer(LineInput.java:277)
        at org.mortbay.http.HttpRequest.readHeader(HttpRequest.java:238)
        at org.mortbay.http.HttpConnection.readRequest(HttpConnection.java:861)
        at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:907)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)
        at org.mortbay.http.SocketListener.handleConnection
(SocketListener.java:244)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)


Level
DEBUG
Logger
org.mortbay.util.ThreadedServer
Time
2005-06-15 10:41:28,120
Thread
Acceptor [SSL: ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8499]]
Message
IGNORED
NDC
null
Class
org.mortbay.util.LogSupport
Method
ignore
Line
36
File
LogSupport.java
Properties
{{log4j.remoteSourceInfo,valle.teu.tomra.corp:33355}
{hostname,valle.teu.tomra.corp}{log4jid,76}}
Throwable
java.net.SocketTimeoutException: Accept timed out
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
        at java.net.ServerSocket.implAccept(ServerSocket.java:448)
        at com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.accept(DashoA6275)
        at org.mortbay.util.ThreadedServer.acceptSocket(ThreadedServer.java:432)
        at org.mortbay.util.ThreadedServer$Acceptor.run(ThreadedServer.java:631)






-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Jetty-support mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jetty-support