Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 485467

Summary: Client crashes when reconnecting to a restarted cluster node
Product: Red Hat Enterprise MRG Reporter: Arnaud Simon <asimon>
Component: qpid-cppAssignee: Rajith Attapattu <rattapat+nobody>
Status: CLOSED NOTABUG QA Contact: Frantisek Reznicek <freznice>
Severity: medium Docs Contact:
Priority: low    
Version: 1.1CC: esammons, gsim
Target Milestone: 1.3   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: IG Index
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-04 14:41:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Arnaud Simon 2009-02-13 17:18:53 UTC
Description of problem:
The client crashes when reconnecting to a restarted cluster node. 

How reproducible:
- Start a cluster with 3 nodes A, B and C
- start a consumer java client configure to connect to A, B and C
- crash A 
- crash B 
- restart A and B 
- crash C
===> exception on the client side is: 
org.apache.qpid.transport.ConnectionException: connection closed
	at org.apache.qpid.transport.Connection.send(Connection.java:294)
	at org.apache.qpid.transport.Session.send(Session.java:455)
	at org.apache.qpid.transport.Session.invoke(Session.java:599)
	at org.apache.qpid.transport.SessionInvoker.sessionRequestTimeout(SessionInvoker.java:48)
	at org.apache.qpid.transport.Session.close(Session.java:797)
	at org.apache.qpid.client.AMQSession_0_10.sendClose(AMQSession_0_10.java:272)
	at org.apache.qpid.client.AMQSession.close(AMQSession.java:639)
	at org.apache.qpid.client.AMQSession.close(AMQSession.java:488)
	at uk.co.igindex.amqp.manager.AmqpConnectionManager.stop(AmqpConnectionManager.java:46)
	at uk.co.igindex.amqp.manager.AmqpConnectionManager.onException(AmqpConnectionManager.java:110)
	at org.apache.qpid.client.AMQConnectionDelegate_0_10.closed(AMQConnectionDelegate_0_10.java:273)
	at org.apache.qpid.transport.Connection.closed(Connection.java:445)
	at org.apache.qpid.transport.network.Assembler.closed(Assembler.java:113)
	at org.apache.qpid.transport.network.InputHandler.closed(InputHandler.java:201)
	at org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:151)
	at java.lang.Thread.run(Thread.java:619)
2009-02-13 18:05:56,117 WARN  [IoReceiver - localhost/127.0.0.1:5672] util.Logger (Logger.java:86) - Ignoring the idle timeout 0 set by the connection, using the brokers max value 12

Comment 1 Gordon Sim 2009-02-17 12:03:30 UTC
Rajith, can you see if you can reproduce this (consult with Arnaud if necessary). If not, lets close it.

Comment 2 Arnaud Simon 2009-03-04 14:41:31 UTC
See https://issues.apache.org/jira/browse/QPID-1712
The problem has been fixed.