You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Francesco Nigro (Jira)" <ji...@apache.org> on 2020/10/21 05:35:00 UTC

[jira] [Updated] (ARTEMIS-2957) ManagementContext is started twice

     [ https://issues.apache.org/jira/browse/ARTEMIS-2957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Francesco Nigro updated ARTEMIS-2957:
-------------------------------------
    Description: 
ManagementContext isn't guarding from being started twice.

A recent change on [ARTEMIS-2838|https://issues.apache.org/jira/browse/ARTEMIS-2838] has  introduced a ActivateCallback::preActivate that's (re)starting the managementContext.

Just guarding against consecutive starts is fixing this, but probably we should start it just once.

The failing test due to this was org.apache.activemq.artemis.tests.smoke.jmxfailback.JmxFailbackTest#testFailbackOnJMX

  was:
ManagementContext isn't guarding from being started twice.

A recent change on [ARTEMIS-2838|https://issues.apache.org/jira/browse/ARTEMIS-2838] has  introduced a ActivateCallback::preActivate that's (re)starting the managementContext.

Just guarding against consecutive starts is fixing this, but probably we should start it just once.


> ManagementContext is started twice
> ----------------------------------
>
>                 Key: ARTEMIS-2957
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2957
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: JMX
>    Affects Versions: 2.16.0
>            Reporter: Francesco Nigro
>            Assignee: Francesco Nigro
>            Priority: Major
>
> ManagementContext isn't guarding from being started twice.
> A recent change on [ARTEMIS-2838|https://issues.apache.org/jira/browse/ARTEMIS-2838] has  introduced a ActivateCallback::preActivate that's (re)starting the managementContext.
> Just guarding against consecutive starts is fixing this, but probably we should start it just once.
> The failing test due to this was org.apache.activemq.artemis.tests.smoke.jmxfailback.JmxFailbackTest#testFailbackOnJMX



--
This message was sent by Atlassian Jira
(v8.3.4#803005)