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

[jira] [Resolved] (AMQ-4333) ActiveMQ 5.8: Failed to execute purge task

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

Gary Tully resolved AMQ-4333.
-----------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 5.8.0)
                   5.9.0
         Assignee: Gary Tully
       Regression: Regression,Unit Test Broken  (was: Regression)

fix in http://svn.apache.org/r1449080

unit test missed due to its naming convention. renamed to xTest to match all others.
                
> ActiveMQ 5.8: Failed to execute purge task
> ------------------------------------------
>
>                 Key: AMQ-4333
>                 URL: https://issues.apache.org/jira/browse/AMQ-4333
>             Project: ActiveMQ
>          Issue Type: Bug
>            Reporter: Ana Cortés
>            Assignee: Gary Tully
>             Fix For: 5.9.0
>
>
> With a "clean" ActiveMQ 5.8 (without any queues), i can purge without any problem (./bin/activemq purge). 
> But when i deploy my Camel application in the normal way (then ActiveMQ has now the queues of my application), i cannot purge anymore. 
> I receive the next problem: 
> ERROR: java.lang.RuntimeException: Failed to execute purge task. Reason: javax.management.ReflectionException: No such operation: purge 
> java.lang.RuntimeException: Failed to execute purge task. Reason: javax.management.ReflectionException: No such operation: purge 
>         at org.apache.activemq.console.command.PurgeCommand.runTask(PurgeCommand.java:140) 
>         at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57) 
>         at org.apache.activemq.console.command.AbstractJmxCommand.execute(AbstractJmxCommand.java:387) 
>         at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:150) 
>         at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57) 
>         at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:104) 
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
> .... 
> Caused by: java.lang.NoSuchMethodException: purge() 
>         at com.sun.jmx.mbeanserver.PerInterface.noSuchMethod(PerInterface.java:150) 
>         at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:94) 
> ..... 
> See: http://activemq.2283324.n4.nabble.com/ActiveMQ-5-8-Failed-to-execute-purge-task-td4663610.html

--
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