You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Kevin Earls (JIRA)" <ji...@apache.org> on 2013/01/22 17:02:13 UTC

[jira] [Updated] (AMQ-4265) AMQ4220Test is failing

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

Kevin Earls updated AMQ-4265:
-----------------------------

    Attachment: AMQ4220.patch

The problem here is that when KahaDBPersistenceAdapter.doStart() is called the code registers an MBean, but when doStop() is called we don't unregister it.

I'm not sure this is the right way to fix this, or if it would have been better to add an unregisterMBean method to AnnotatedMBean.  If the latter is better let me know and I can submit another patch.

                
> AMQ4220Test is failing
> ----------------------
>
>                 Key: AMQ-4265
>                 URL: https://issues.apache.org/jira/browse/AMQ-4265
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Test Cases
>            Reporter: Kevin Earls
>         Attachments: AMQ4220.patch
>
>
> This test is failing with error:
> Failed to start per destination persistence adapter for destination: queue://TEST.QUEUE, options:[KahaDBPersistenceAdapter[/home/jenkins/jenkins-slave/workspace/ActiveMQ-Java7/activemq-core/target/activemq-data/mKahaDB/queue#3a#2f#2fTEST.QUEUE], KahaDBPersistenceAdapter[/home/jenkins/jenkins-slave/workspace/ActiveMQ-Java7/activemq-core/target/activemq-data/mKahaDB/queue#3a#2f#2fTEST.QUEUE]]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira