Ana Cortés created AMQ-4333:
-------------------------------

             Summary: 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
             Fix For: 5.8.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

Reply via email to