activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aleksandar Ivanisevic <aleksan...@ivanisevic.de>
Subject briwsing a protected queue from activemq-admin
Date Wed, 20 May 2009 07:31:38 GMT

how in activemq 5.2.0 can I specify user and password to
activemq-admin browse?

Tried with -Dactivemq.{username,password} but it doesn't work


java -Xmx512M
-Dorg.apache.activemq.UseDedicatedTaskRunner=true
-Dcom.sun.management.jmxremote
'-Dactivemq.classpath=/opt/activemq/conf;'
-Dactivemq.home=/opt/activemq -Dactivemq.base=/opt/activemq -jar
/opt/activemq/bin/run.jar -Dactivemq.username=system
-Dactivemq.password=manager browse --amqurl tcp://localhost:61616
queuename

ACTIVEMQ_HOME: /opt/activemq
ACTIVEMQ_BASE: /opt/activemq
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)



Mime
View raw message