hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sankaraiah G <sankaraia...@infosys.com>
Subject Sending multiple requests over multiple threads - AbderaClient connection getting closed: java.net.SocketException: Software caused connection abort: recv failed
Date Thu, 28 Aug 2008 06:53:20 GMT

Hi,
I am facing the problem for Sending multiple requests over multiple threads
- AbderaClient connection getting closed,Here i am using the AbderaClient
which is the top of the HttpClient.Can any one help me it is greatfull. i am
sending my exception stack trace.
Here some times i am not getting this exception, some times i am getting the
exception.Could please tell me why it is behaving.
 java.net.SocketException: Software caused connection abort: recv failed
	at java.net.SocketInputStream.socketRead0(Native Method)
	at java.net.SocketInputStream.read(Unknown Source)
	at java.io.BufferedInputStream.fill(Unknown Source)
	at java.io.BufferedInputStream.read(Unknown Source)
	at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:77)
	at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105)
	at
org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1115)
	at
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1373)
	at
org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1832)
	at
org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1590)
	at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:995)
	at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397)
	at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
	at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
	at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
	at
org.apache.abdera.protocol.client.AbderaClient.execute(AbderaClient.java:401)
-- 
View this message in context: http://www.nabble.com/Sending-multiple-requests-over-multiple-threads---AbderaClient-connection-getting-closed%3A-java.net.SocketException%3A-Software-caused-connection-abort%3A-recv-failed-tp19195105p19195105.html
Sent from the HttpClient-User mailing list archive at Nabble.com.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message