activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krzysztof Sobkowiak (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (AMQ-5245) activemq:bstat doesn't work in Karaf
Date Mon, 26 Jan 2015 23:52:34 GMT

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

Krzysztof Sobkowiak edited comment on AMQ-5245 at 1/26/15 11:51 PM:
--------------------------------------------------------------------

I have tested this command with ActiveMQ 5.10.1 on Karaf 2.4.1 and 3.0.3-SNAPSHOT and it seems
to be fixed.


was (Author: sobkowiak):
I have tested this command on Karaf 2.4.1 and 3.0.3-SNAPSHOT and it seems to be fixed.

> activemq:bstat doesn't work in Karaf
> ------------------------------------
>
>                 Key: AMQ-5245
>                 URL: https://issues.apache.org/jira/browse/AMQ-5245
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: OSGi/Karaf
>    Affects Versions: 5.9.1
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>
> {code}
> karaf@root()> activemq:bstat 
> ERROR: java.lang.RuntimeException: Failed to execute query task. Reason: java.lang.IllegalStateException:
Attribute Uptime can not be found
> java.lang.RuntimeException: Failed to execute query task. Reason: java.lang.IllegalStateException:
Attribute Uptime can not be found
>         at org.apache.activemq.console.command.QueryCommand.runTask(QueryCommand.java:131)
>         at org.apache.activemq.console.command.BstatCommand.runTask(BstatCommand.java:86)
>         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.AbstractAction.execute(AbstractAction.java:33)
>         at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)
>         at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
>         at Proxy71c61764_cfe8_42c8_9401_198eac480ee5.execute(Unknown Source)
>         at Proxy71c61764_cfe8_42c8_9401_198eac480ee5.execute(Unknown Source)
>         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.impl.jline.ConsoleImpl$DelegateSession.execute(ConsoleImpl.java:521)
>         at org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:212)
>         at java.lang.Thread.run(Thread.java:744)
>         at org.apache.karaf.shell.console.impl.jline.ConsoleFactoryService$3.doRun(ConsoleFactoryService.java:126)
>         at org.apache.karaf.shell.console.impl.jline.ConsoleFactoryService$3$1.run(ConsoleFactoryService.java:117)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:47)
>         at org.apache.karaf.shell.console.impl.jline.ConsoleFactoryService$3.run(ConsoleFactoryService.java:115)
> Error executing command: java.lang.IllegalStateException: Attribute Uptime can not be
found
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message