Krzysztof Sobkowiak created SM-2333:
---------------------------------------
Summary: CLONE - activemq:dstat fails after any messagin operation
is performed
Key: SM-2333
URL: https://issues.apache.org/jira/browse/SM-2333
Project: ServiceMix
Issue Type: Task
Affects Versions: 5.0.1
Reporter: Krzysztof Sobkowiak
Assignee: Krzysztof Sobkowiak
Fix For: 5.1.0, 6.0.0
Attachments: log.txt
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
{code}
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
{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)