hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From IndianAtTech <indianatt...@gmail.com>
Subject Connection Reset Exception while downloading Huge files
Date Mon, 13 Dec 2004 11:49:48 GMT
Hi All,

When I am trying to download the files, I get following exception. How
 can I get rid from this exception??

I tied to set the Maximum connection timeout value also. But didn't get worked


Thanks


    [java] read error: Connection reset
    [java] java.net.SocketException: Connection reset by peer: socket write
r
    [java]     at java.net.SocketOutputStream.socketWrite0(Native Method)
    [java]     at java.net.SocketOutputStream.socketWrite(SocketOutputStream
a:92)
    [java]     at java.net.SocketOutputStream.write(SocketOutputStream.java:

    [java]     at org.apache.commons.httpclient.HttpConnection$WrappedOutput
am.write(HttpConnection.java:1368)
    [java]     at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStr
java:69)
    [java]     at java.io.BufferedOutputStream.flush(BufferedOutputStream.ja
27)
    [java]     at org.apache.commons.httpclient.HttpConnection.flushRequestO
tStream(HttpConnection.java:799)
    [java]     at org.apache.commons.httpclient.HttpMethodBase.writeRequest(
MethodBase.java:2277)
    [java]     at org.apache.commons.httpclient.HttpMethodBase.processReques
tpMethodBase.java:2657)
    [java]     at org.apache.commons.httpclient.HttpMethodBase.execute(HttpM
dBase.java:1093)
    [java]     at org.apache.commons.httpclient.HttpClient.executeMethod(Htt
ent.java:674)
    [java]     at org.apache.commons.httpclient.HttpClient.executeMethod(Htt
ent.java:529)
    [java]     at org.prithvi.docparser.microsoft.msexchange.SaveAttachment.
load(SaveAttachment.java:154)

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


Mime
View raw message