Rob Godfrey created QPID-6179:
---------------------------------
Summary: [Java Client] Connection establishment can send invalid
frame sequence when retrying
Key: QPID-6179
URL: https://issues.apache.org/jira/browse/QPID-6179
Project: Qpid
Issue Type: Bug
Reporter: Rob Godfrey
Assignee: Rob Godfrey
Occasionally one sees erroneous protocol traces such as illustrated by the
following:
{noformat}
[apache.qpid.client.AMQConnectionDelegate_8_0] Connecting to
broker:tcp://localhost:10002?connectdelay='500'&retries='0'
[transport.network.io.IoNetworkTransport] SO_RCVBUF : 65535
[transport.network.io.IoNetworkTransport] SO_SNDBUF : 65535
[transport.network.io.IoNetworkTransport] TCP_NODELAY : true
[qpid.client.state.StateWaiter] New StateWaiter :AMQState: id = 4 name:
CONNECTION_OPEN:[AMQState: id = 4 name: CONNECTION_OPEN, AMQState: id = 6 name:
CONNECTION_CLOSED]
[qpid.protocol] SEND:
[org.apache.qpid.client.protocol.AMQProtocolHandler@501fdcfb] AMQP1109
[apache.qpid.client.AMQConnection] Connection 3 now connected from
/127.0.0.1:50631 to localhost/127.0.0.1:10002
[apache.qpid.client.AMQConnection] Are we connected:true
[apache.qpid.client.AMQConnection] Connected with ProtocolHandler Version:0-9
[apache.qpid.client.AMQConnectionDelegate_8_0] Write channel open frame for
channel id
^^^^^^^^^^^^
# What on earth
{noformat}
The issue stems from a prior connection attempt which has reached the
connection open stage, but then (for some reason) closed.
We can rectify this issue by using a new StateManager for each connection
attempt.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]