activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARTEMIS-385) Race between topology update and connection creation
Date Thu, 04 Feb 2016 15:46:39 GMT

    [ https://issues.apache.org/jira/browse/ARTEMIS-385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15132468#comment-15132468
] 

ASF subversion and git services commented on ARTEMIS-385:
---------------------------------------------------------

Commit 26945a471693159382348179f456c189f04ab72b in activemq-artemis's branch refs/heads/master
from Clebert Suconic
[ https://git-wip-us.apache.org/repos/asf?p=activemq-artemis.git;h=26945a4 ]

ARTEMIS-385 On a possible race the Topology final notification may get lost when using many
connection factories

https://issues.apache.org/jira/browse/ARTEMIS-385

This fix will make sure we only wait for the topologies that are arriving from the current
connection over the createFactory method


> Race between topology update and connection creation
> ----------------------------------------------------
>
>                 Key: ARTEMIS-385
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-385
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: clebert suconic
>            Assignee: clebert suconic
>             Fix For: 1.3.0
>
>
> MultipleThreadsOpeningTest will fail eventually because of this.
> avax.jms.JMSException: Failed to create session factory
> 	at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnectionInternal(ActiveMQConnectionFactory.java:727)
> 	at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:233)
> 	at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:229)
> 	at org.apache.activemq.artemis.tests.integration.jms.cluster.MultipleThreadsOpeningTest$1ThreadOpen.run(MultipleThreadsOpeningTest.java:59)
> Caused by: ActiveMQConnectionTimedOutException[errorType=CONNECTION_TIMEDOUT message=AMQ119013:
Timed out waiting to receive cluster topology. Group:null]
> 	at org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:861)
> 	at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnectionInternal(ActiveMQConnectionFactory.java:724)
> 	... 3 more



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message