[
https://issues.apache.org/jira/browse/ARTEMIS-472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15229950#comment-15229950
]
ASF GitHub Bot commented on ARTEMIS-472:
----------------------------------------
Github user mtaylor commented on the pull request:
https://github.com/apache/activemq-artemis/pull/442#issuecomment-206770126
@jmesnil The @Cause annotation will ensure that the exception is written to
the log along with the message. Adding @Cause, changes the parameter type,
which means it can't be used as a positional format parameter within the
message string.
Could you just remove the change to the message. Thanks.
> AMQ222137 warning does not display the cause of the problem
> -----------------------------------------------------------
>
> Key: ARTEMIS-472
> URL: https://issues.apache.org/jira/browse/ARTEMIS-472
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: Broker
> Affects Versions: 1.2.0
> Reporter: Jeff Mesnil
>
> While creating a cluster of Artemis servers, I encountered this warning:
> {noformat}
> 18:01:45,009 WARN [org.apache.activemq.artemis.core.server] (Thread-2
> (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$2@491444
> ff-1205056429)) AMQ222137: Unable to announce backup, retrying
> {noformat}
> The cause of the error was not displayed and I had to debug to figure out
> that I forgot to set the cluster user credentials to let the node join the
> cluster.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)