Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-2304

activemq:bstat fails with error "Attribute Uptime can not be found"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 6.0.0
    • 6.0.0.M1, 6.0.0
    • None
    • None
    • ServiceMix 6.0.0 or vanilla Karaf 3.0.1 and ActiveMQ 5.9.0

    Description

      Invoking activemq:bstat command ends with following error

      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
      

      Attachments

        Issue Links

          Activity

            People

              jbonofre Jean-Baptiste Onofré
              sobkowiak Krzysztof Sobkowiak
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: