You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/03/03 19:44:18 UTC

[jira] [Commented] (ARTEMIS-385) Race between topology update and connection creation

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

ASF GitHub Bot commented on ARTEMIS-385:
----------------------------------------

GitHub user jbertram opened a pull request:

    https://github.com/apache/activemq-artemis/pull/410

    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.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jbertram/activemq-artemis ARTEMIS-385

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/410.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #410
    
----
commit b23046d5f7c958e8f38e86de12979d75c97c401a
Author: jbertram <jb...@apache.org>
Date:   2016-03-03T18:41:12Z

    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)