You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "clebert suconic (JIRA)" <ji...@apache.org> on 2016/06/14 20:41:30 UTC

[jira] [Updated] (ARTEMIS-566) Cannot remove JMS queue that has been removed from Core side

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

clebert suconic updated ARTEMIS-566:
------------------------------------
    Fix Version/s: 1.4.0

> Cannot remove JMS queue that has been removed from Core side
> ------------------------------------------------------------
>
>                 Key: ARTEMIS-566
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-566
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 1.2.0, 1.3.0
>            Reporter: Ville Skyttä
>             Fix For: 1.4.0
>
>
> If a queue that has been created from the JMS side is removed from the Core side in JMX, a phantom JMS queue is left behind which cannot be removed.
> 1) Start jconsole, connect to artemis
> 2) Navigate in mbeans to org.apache.activemq.artemis -> Broker -> 0.0.0.0 -> JMS -> Server -> Operations
> 3) Invoke createQueue TestQueue
> 4) Navigate to org.apache.activemq.artemis -> Broker -> 0.0.0.0 -> Core, note that jms.queue.TestQueue is in both Address and Queue
> 5) Navigate to org.apache.activemq.artemis -> Broker -> 0.0.0.0 -> Core -> Server -> Operations
> 6) Invoke destroyQueue TestQueue
> 7) Note that jms.queue.TestQueue disappears from Address and Queue from org.apache.activemq.artemis -> Broker -> 0.0.0.0 -> Core (as expected)
> 8) Navigate to Navigate in mbeans to org.apache.activemq.artemis -> Broker -> 0.0.0.0 -> JMS -> Queue
> 9) Note that TestQueue is still listed
> 10) Try to remove it with destroyQueue TestQueue from org.apache.activemq.artemis -> Broker -> 0.0.0.0 -> JMS -> Server -> Operations
> 11) Get ActiveMQNonExistentQueueException, and the queue is not removed
> A workaround is to restart artemis, that results in the Core side queue becoming visible again, and then step 10) succeeds.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)