Java client sporadically times out trying to create a connection
----------------------------------------------------------------
Key: QPID-1782
URL: https://issues.apache.org/jira/browse/QPID-1782
Project: Qpid
Issue Type: Bug
Components: Java Client
Affects Versions: 0.5
Reporter: Aidan Skinner
Priority: Critical
Fix For: 0.5
Some tests will randomly throw these errors when run against the Java broker.
Most of the time they will succeed, both immediately before and immediately
after one of those failures.
org.apache.qpid.transport.ConnectionException: connect() timed out
at org.apache.qpid.transport.Connection.connect(Connection.java:209)
at
org.apache.qpid.client.AMQConnectionDelegate_0_10.makeBrokerConnection(AMQConnectionDelegate_0_10.java:161)
at
org.apache.qpid.client.AMQConnection.makeBrokerConnection(AMQConnection.java:676)
at org.apache.qpid.client.AMQConnection.<init>(AMQConnection.java:469)
at
org.apache.qpid.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:316)
at
org.apache.qpid.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:296)
at
org.apache.qpid.client.AMQConnectionFactory.createTopicConnection(AMQConnectionFactory.java:348)
It's possible that the statewaiter isn't being set fast enough, but I'm not
very familiar with that code so far.
- Aidan
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]