Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-5245

activemq:bstat doesn't work in Karaf

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.9.1
    • Fix Version/s: None
    • Component/s: OSGi/Karaf
    • Labels:
      None

      Description

      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
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jbonofre Jean-Baptiste Onofré
                Reporter:
                jbonofre Jean-Baptiste Onofré
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: