note that the jmx mbean objectnames have changed in 5.8.0 http://activemq.apache.org/58-migration-guide.html
On 18 February 2013 13:22, iamactivemquser <ana.cor...@consol.de> wrote: > Hi all, > > In our project we have upgraded from ActiveMQ 5.5.1 to 5.8, and now with > this new version, we cannot purge the queues. > > The problem is: > > 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) > ..... > > > Has anyone had this problem? Any help would be great :) > > Thanks. > > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/ActiveMQ-5-8-Failed-to-execute-purge-task-tp4663610.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > -- http://redhat.com http://blog.garytully.com