Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-4333

ActiveMQ 5.8: Failed to execute purge task

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 5.9.0
    • None
    • None
    • Regression, Unit Test Broken

    Description

      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

      Attachments

        Activity

          People

            gtully Gary Tully
            anacortes Ana Cortés
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: