[ https://issues.apache.org/jira/browse/AMQ-5245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré resolved AMQ-5245. --------------------------------------- Resolution: 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é > Priority: Major > > {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 (v7.6.3#76005)