Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-9669

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • None
    • IIOP, JMS
    • 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.

      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
      
      

              thofman Tomas Hofman
              rhn-engineering-lgao Lin Gao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: