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

[GSS](7.4.z) AMQ172015: Can not connect to XARecoveryConfig

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.4.10.CR1, 7.4.10.GA
    • 7.4.8.GA
    • JMS
    • None

      In EAP 7.4 it is possible to define connections outside the default broker. When periodic recovery is trying to recovery such XA resource it seems to fail because the port it's trying to use does not exist.

      WARN  [org.apache.activemq.artemis.service.extensions.xa.recovery] (Periodic Recovery) AMQ172015: Can not connect to XARecoveryConfig [transportConfiguration=[TransportConfiguration(name=, factory=org-apache-activemq-artemis-core-remoting-impl-netty-NettyConnectorFactory) ?port=61616&host=amq-broker-cluster-local], discoveryConfiguration=null, username=quickuser, password=****] on auto-generated resource recovery: ActiveMQNotConnectedException[errorType=NOT_CONNECTED message=AMQ219007: Cannot connect to server(s). Tried with all available servers.]
      

      In the above example the host is amq-broker-cluster-local but port is 443 since it's a SSL connection.

      I'm not sure why recovery process picks up port 61616 it is nowhere in my configuration.

      The configuration is setting up a JMS bridge between EAP and external AMQ 7.8.2 broker running in OCP.

       

      If the useTopology is set to false, reuse the initial connection connectors to connect to the broker for recovery

            ehugonne1@redhat.com Emmanuel Hugonnet
            rhn-support-bmaxwell Brad Maxwell
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: