Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-13840

JMS bridge fails to create session factory with connection timeout between EAP 7 and EAP 6.4

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 7.1.0.CR4
    • ActiveMQ, IIOP
    • None
    • Hide
      1. Start EAP 6 server with attached standalone-full-eap6.xml and port offset 100.
      2. Update module.xml of hornetq client module in EAP 7 server as stated in https://issues.jboss.org/browse/JBEAP-13667?focusedCommentId=13493363&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-13493363
      3. Start EAP 7 server with attached standalone-full-eap7.xml
      4. Wait for a moment and see that the mentioned exception in issue description is shown.
      Show
      Start EAP 6 server with attached standalone-full-eap6.xml and port offset 100. Update module.xml of hornetq client module in EAP 7 server as stated in https://issues.jboss.org/browse/JBEAP-13667?focusedCommentId=13493363&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-13493363 Start EAP 7 server with attached standalone-full-eap7.xml Wait for a moment and see that the mentioned exception in issue description is shown.

    Description

      When having configured JMS bridge on EAP 7 with target queue on EAP 6.4 after starting the server, after short while I can see that it failed to create session factory with exception [1].
      I am also attaching config files of EAP 6.4 server and of EAP 7.1.0.CR4 server.

      [1]

      2017-11-23 16:49:31,423 WARN  [org.apache.activemq.artemis.jms.bridge] (Thread-230) AMQ342010: Failed to connect JMS Bridge N/A: javax.jms.JMSException: Failed to create session factory
      	at org.hornetq.jms.client.HornetQConnectionFactory.createConnectionInternal(HornetQConnectionFactory.java:673)
      	at org.hornetq.jms.client.HornetQConnectionFactory.createConnection(HornetQConnectionFactory.java:112)
      	at org.hornetq.jms.client.HornetQConnectionFactory.createConnection(HornetQConnectionFactory.java:107)
      	at org.apache.activemq.artemis.jms.bridge.impl.JMSBridgeImpl.createConnection(JMSBridgeImpl.java:979)
      	at org.apache.activemq.artemis.jms.bridge.impl.JMSBridgeImpl.setupJMSObjects(JMSBridgeImpl.java:1148)
      	at org.apache.activemq.artemis.jms.bridge.impl.JMSBridgeImpl.setupJMSObjectsWithRetry(JMSBridgeImpl.java:1247)
      	at org.apache.activemq.artemis.jms.bridge.impl.JMSBridgeImpl.access$2600(JMSBridgeImpl.java:75)
      	at org.apache.activemq.artemis.jms.bridge.impl.JMSBridgeImpl$FailureHandler.run(JMSBridgeImpl.java:1747)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: HornetQConnectionTimedOutException[errorType=CONNECTION_TIMEDOUT message=HQ119013: Timed out waiting to receive cluster topology. Group:null]
      	at org.hornetq.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:946)
      	at org.hornetq.jms.client.HornetQConnectionFactory.createConnectionInternal(HornetQConnectionFactory.java:669)
      	... 10 more
      
      2017-11-23 16:49:31,443 INFO  [org.apache.activemq.artemis.jms.bridge] (Thread-230) AMQ341000: Failed to set up JMS bridge N/A connections. Most probably the source or target servers are unavailable. Will retry after a pause of 2,500 ms
      
      

      Attachments

        Issue Links

          Activity

            People

              thofman Tomas Hofman
              rhatlapa@redhat.com Radim Hatlapatka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: