Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-2315

activemq:dstat fails after any messagin operation is performed

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.1
    • Fix Version/s: 5.1.0, 6.0.0.M1, 6.0.0
    • Component/s: None
    • Labels:
      None

      Description

      After fresh ServiceMix start the operation activemq:dstat works. After installing the activemq example, performing the steps from activemq quick start or installing activemq web console the command returns the result but there is additional stack trace on the console

      karaf@root> dstat 
      Name                                                Queue Size  Producer #  Consumer #   Enqueue #   Dequeue #    Memory %
      ActiveMQ.Advisory.MasterBroker                               0           0           0           1           0           0
      aa                                                          12           0           0           0           0           0
      ActiveMQ.Advisory.Consumer.Queue.aa                          0           0           0           4           0           0
      ERROR: java.lang.RuntimeException: Failed to execute dstat task. Reason: java.lang.reflect.UndeclaredThrowableException
      java.lang.RuntimeException: Failed to execute dstat task. Reason: java.lang.reflect.UndeclaredThrowableException
      	at org.apache.activemq.console.command.DstatCommand.runTask(DstatCommand.java:78)
      	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.karaf.commands.ActiveMQCommandSupport.doExecute(ActiveMQCommandSupport.java:46)
      	at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)
      	at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
      	at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)
      	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)
      	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)
      	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
      	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
      	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
      	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
      	at org.apache.karaf.shell.console.jline.Console.run(Console.java:183)
      	at org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:79)
      Error executing command: java.lang.reflect.UndeclaredThrowableException
      

        Attachments

        1. log.txt
          3 kB
          Krzysztof Sobkowiak

          Issue Links

            Activity

              People

              • Assignee:
                sobkowiak Krzysztof Sobkowiak
                Reporter:
                sobkowiak Krzysztof Sobkowiak
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: