You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Krzysztof Sobkowiak (JIRA)" <ji...@apache.org> on 2014/07/28 23:03:40 UTC

[jira] [Commented] (AMQ-4829) activemq:dstat command can throw error for topic subscriptions views

    [ https://issues.apache.org/jira/browse/AMQ-4829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14076851#comment-14076851 ] 

Krzysztof Sobkowiak commented on AMQ-4829:
------------------------------------------

Could you backport this fix in {{5.9.x}} if you plan to release {{5.9.2}}?

> activemq:dstat command can throw error for topic subscriptions views
> --------------------------------------------------------------------
>
>                 Key: AMQ-4829
>                 URL: https://issues.apache.org/jira/browse/AMQ-4829
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.9.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 5.10.0
>
>
> You can get errors like
> {code}
> activemq:dstat
> Name                                                Queue Size  Producer #  Consumer #   Enqueue #   Dequeue #    Memory %
> foo                                                        105           0           0         105           0          11
> ActiveMQ.Advisory.Queue                                      0           0           0           1           0           0
> ActiveMQ.Advisory.MasterBroker                               0           0           0           1           0           0
> ActiveMQ.Advisory.Connection                                 0           0           0           1           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:39)
> 	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:477)
> 	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
> 	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:174)
> 	at org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:61)
> Error executing command: java.lang.reflect.UndeclaredThrowableException
> {code}
> Also the dstat should sort the listing first, so they are listed A..Z



--
This message was sent by Atlassian JIRA
(v6.2#6252)