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

activemq:dstat fails after any messagin operation is performed

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 5.0.2
    • 5.0.6
    • None
    • 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

              Unassigned Unassigned
              sobkowiak Krzysztof Sobkowiak
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: