activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charles Moulliard (JIRA)" <j...@apache.org>
Subject [jira] Created: (AMQ-2794) javax.jms.JMSException: User name or password is invalid --> activemq-admin browse --amqurl tcp://localhost:61616 TEST.FOO
Date Wed, 23 Jun 2010 16:01:51 GMT
javax.jms.JMSException: User name or password is invalid --> activemq-admin browse --amqurl
tcp://localhost:61616 TEST.FOO
--------------------------------------------------------------------------------------------------------------------------

                 Key: AMQ-2794
                 URL: https://issues.apache.org/activemq/browse/AMQ-2794
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: 5.3.0
            Reporter: Charles Moulliard


When security is enable on ActiveMq 5.3.1, the following command 

activemq-admin browse --amqurl tcp://localhost:61616 TEST.FOO 

generates the error :

{code}
[root@mombrks10 bin]# ./activemq-admin browse --amqurl tcp://localhost:64011  Q.INAMEDIA.GESCOM.PANIER.P
Java Runtime: Sun Microsystems Inc. 1.6.0_20 /usr/java/jre1.6.0_20
  Heap sizes: current=15680k  free=15284k  max=251456k
    JVM args: -Dactivemq.classpath=/ap03/brokermutd1/appl/conf; -Dactivemq.home=/ap03/brokermutd1/appl
-Dactivemq.base=/ap03/brokermutd1/appl
ACTIVEMQ_HOME: /ap03/brokermutd1/appl
ACTIVEMQ_BASE: /ap03/brokermutd1/appl
ERROR: java.lang.RuntimeException: Failed to execute browse task. Reason: javax.jms.JMSException:
User name or password is invalid.
java.lang.RuntimeException: Failed to execute browse task. Reason: javax.jms.JMSException:
User name or password is invalid.
        at org.apache.activemq.console.command.AmqBrowseCommand.runTask(AmqBrowseCommand.java:130)
        at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
        at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:136)
        at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
        at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:82)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.activemq.console.Main.runTaskClass(Main.java:251)
        at org.apache.activemq.console.Main.main(Main.java:107)

{code}

If we use the command activemq-admin query --jmxuser=monitorRole --jmxpassword=abc123, it
works

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message