[jboss-jira] [JBoss JIRA] (WFLY-12140) Set bridgeName while creating JMSBridge on server

Shailendra Singh (Jira) issues at jboss.org
Thu May 30 05:16:00 EDT 2019


    [ https://issues.jboss.org/browse/WFLY-12140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13740394#comment-13740394 ] 

Shailendra Singh commented on WFLY-12140:
-----------------------------------------

Possible fix :- https://github.com/wildfly/wildfly/pull/12329

> Set bridgeName while creating JMSBridge on server
> -------------------------------------------------
>
>                 Key: WFLY-12140
>                 URL: https://issues.jboss.org/browse/WFLY-12140
>             Project: WildFly
>          Issue Type: Bug
>          Components: JMS
>    Affects Versions: 17.0.0.Beta1
>            Reporter: Shailendra Singh
>            Assignee: Emmanuel Hugonnet
>            Priority: Minor
>
> Set bridgeName while creating JMSBridge on server
> When JMS bridge get reconnected after network issue the logs contains the default bridgeName i.e "N/A"
> {code:java}
> 14:07:56,933 WARN  [org.apache.activemq.artemis.jms.bridge] (Thread-109) AMQ342010: Failed to connect JMS Bridge N/A: javax.jms.JMSException: Failed to create session factory
> 	at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnectionInternal(ActiveMQConnectionFactory.java:846)
> 	at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:282)
> 	at org.apache.activemq.artemis.jms.bridge.impl.JMSBridgeImpl.createConnection(JMSBridgeImpl.java:1120)
> 	at org.apache.activemq.artemis.jms.bridge.impl.JMSBridgeImpl.setupJMSObjects(JMSBridgeImpl.java:1286)
> 	at org.apache.activemq.artemis.jms.bridge.impl.JMSBridgeImpl.setupJMSObjectsWithRetry(JMSBridgeImpl.java:1392)
> 	at org.apache.activemq.artemis.jms.bridge.impl.JMSBridgeImpl.access$2800(JMSBridgeImpl.java:77)
> 	at org.apache.activemq.artemis.jms.bridge.impl.JMSBridgeImpl$FailureHandler.run(JMSBridgeImpl.java:1902)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> 	at java.lang.Thread.run(Thread.java:745)
> Caused by: ActiveMQNotConnectedException[errorType=NOT_CONNECTED message=AMQ219007: Cannot connect to server(s). Tried with all available servers.]
> 	at org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:795)
> 	at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnectionInternal(ActiveMQConnectionFactory.java:844)
> 	... 9 more
> {code}
> And reconenct message.
> {code:java}
> 14:07:57,834 INFO  [org.apache.activemq.artemis.jms.bridge] (Thread-109) AMQ341001: JMS Bridge N/A succeeded in reconnecting to servers
> {code}
> bridgeName will be helpful to find the bridge having the issue in multi JMS Bridge scenario.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list