Uploaded image for project: 'JBoss A-MQ'
  1. JBoss A-MQ
  2. ENTMQ-160

activemq:browse fails to execute browse command

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • 7.1.0.fuse-046
    • None
    • None
    • None

      Even if you create under etc/users.properties a user / password and add a roleamq=amq,adminthe following command fails in Fuse MQ (Karaf)______ ___ ___ ____|_| |\/||||

        _ _ _ ___ ___ . .      
      _       / __ / _ |  \/        
            _   __ __/       \ \/' /
      _
      _, __/ __ _   / _/\\\
      Fuse MQ (7.1.0.fuse-045)
      http://fusesource.com/products/fuse-mq-enterprise/

      Hit '<tab>' for a list of available commands
      and '[cmd]--help' for help on a specific command.
      Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Fuse MQ.FuseMQ:karaf@root> activemq:browse --amqurl tcp://localhost:61616 TEST --user amq --password amq
      ERROR: java.lang.RuntimeException: Failed to execute browse task. Reason: javax.jms.JMSException: User name[null]or password is invalid.
      java.lang.RuntimeException: Failed to execute browse task. Reason: javax.jms.JMSException: User name[null]or password is invalid.
      at org.apache.activemq.console.command.AmqBrowseCommand.runTask(AmqBrowseCommand.java:144)
      at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
      at org.apache.activemq.karaf.commands.ActiveMQCommandSupport.doExecute(ActiveMQCommandSupport.java:45)
      at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)
      at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
      at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)
      at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)
      at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)
      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.jline.Console.run(Console.java:171)
      at org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:61)
      Error executing command: javax.jms.JMSException: User name[null]or password is invalid.

            dejanbosanac Dejan Bosanac
            cmoullia Charles Moulliard
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: