Krzysztof Sobkowiak created SM-2304:
---------------------------------------

             Summary: activemq:bstat fails with error "Attribute Uptime can not 
be found"
                 Key: SM-2304
                 URL: https://issues.apache.org/jira/browse/SM-2304
             Project: ServiceMix
          Issue Type: Bug
    Affects Versions: 6.0.0
            Reporter: Krzysztof Sobkowiak
            Priority: Minor
             Fix For: 6.0.0


Invoking {{activemq:bstat}} command ends with following error

{code}
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 Proxyd41c691d_3767_4f8a_900a_4ccd279e3ba5.execute(Unknown Source)
        at Proxyd41c691d_3767_4f8a_900a_4ccd279e3ba5.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:745)
        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.2#6252)

Reply via email to