[
https://issues.apache.org/jira/browse/ARTEMIS-385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15178776#comment-15178776
]
ASF subversion and git services commented on ARTEMIS-385:
---------------------------------------------------------
Commit b23046d5f7c958e8f38e86de12979d75c97c401a in activemq-artemis's branch
refs/heads/master from [~jbertram]
[ https://git-wip-us.apache.org/repos/asf?p=activemq-artemis.git;h=b23046d ]
ARTEMIS-385 clean-up factory on timeout
This restores a call to ClientSessionFactory#cleanup that appears to have been
mistakenly removed by a previous change related to this JIRA.
> 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)