You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by FerGabPereira <f1...@hotmail.com> on 2014/12/17 21:19:30 UTC

How to auto-reconnect from java.net.SocketException: Connection reset

Hello i need to handle this exception
java.net.SocketException: Connection reset
	at java.net.SocketInputStream.read(Unknown Source)
	at java.net.SocketInputStream.read(Unknown Source)
	at sun.security.ssl.InputRecord.readFully(Unknown Source)
	at sun.security.ssl.InputRecord.read(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source)
	at sun.security.ssl.AppInputStream.read(Unknown Source)
	at java.io.InputStream.read(Unknown Source)
	at
org.apache.qpid.amqp_1_0.client.TCPTransportProvier.doRead(TCPTransportProvier.java:207)
	at
org.apache.qpid.amqp_1_0.client.TCPTransportProvier.access$000(TCPTransportProvier.java:43)
	at
org.apache.qpid.amqp_1_0.client.TCPTransportProvier$1.run(TCPTransportProvier.java:158)
	at java.lang.Thread.run(Unknown Source)

and reconnect to the server. any idea? 
Thx in advance.



--
View this message in context: http://qpid.2158936.n2.nabble.com/How-to-auto-reconnect-from-java-net-SocketException-Connection-reset-tp7617695.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org