activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marko Asplund <>
Subject AMQP authentication trouble
Date Wed, 09 Oct 2013 14:33:15 GMT

I'm trying to get my AMQP client (Qpid Messenger 0.5 based) to authenticate
to an ActiveMQ 5.8.0 server, but for some reason the server fails to get
the authentication info.
Authentication credentials are passed in the address string like this:


I've configured simpleAuthenticationPlugin & authorizationPlugin in
ActiveMQ config file based on and
activemq-security.xml sample config.
Is there something else I need to configure on ActiveMQ end to get
authentication and authorization to work with AMQP?
Which authentication mechanisms does ActiveMQ support for AMQP? How do I
configure those?

ActiveMQ logs these messages for the connection attempt:

2013-10-09 16:30:55,990 | WARN  | Failed to add Connection, reason:
java.lang.SecurityException: User name [null] or password is invalid. | | ActiveMQ Transport:
2013-10-09 16:30:55,995 | WARN  | Transport Connection to: tcp:// failed: User name [null] or password
is invalid. | |
ActiveMQ Transport: tcp:///
2013-10-09 16:30:57,992 | INFO  | Stopping tcp:// because
Failed with SecurityException: User name [null] or password is invalid. | | ActiveMQ
BrokerService[localhost] Task-2

Any ideas on what's going wrong or how to troubleshoot this?

What's the recommended Java AMQP client to use with ActiveMQ?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message