qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleksandr Rudyy <oru...@gmail.com>
Subject Re: WELCOME to users@qpid.apache.org
Date Thu, 01 Oct 2015 22:42:09 GMT
Hi Ram,

Your Broker virtual host nodes configuration looks good. Could you
please clarify what exactly error message you are getting on the
client after you created virtual host and nodes?

I noticed that in your connection string you explicitly specified
PLAIN sasl mechanism
(url=amqp://guest:********@/?brokerlist='tcp://localhost:5672?connecttimeout='5000'&sasl_mechs='PLAIN'').

Plain SASL support is turned off in Java Broker by default. In order
to enable it, you need to change your broker configuration file
manually and add the following line into authentication provider
configuration with name "passwordFile" (as it is the one set on AMQP
port):

"secureOnlyMechanisms" : [],

Thus, your authentication provider configuration might look like below:
{
    "id" : "36b029e1-aec0-488e-b8f3-bef6df6b69de",
    "name" : "passwordFile",
    "path" : "/opt/qpid-java/etc/passwd",
    "type" : "PlainPasswordFile",
    "secureOnlyMechanisms" : [],
    "preferencesproviders" : [ {
      "id" : "e34f556a-0bec-4074-829c-7e208d146a88",
      "name" : "fileSystemPreferences",
      "path" : "/data/user.preferences.json",
      "type" : "FileSystemPreferences"
    } ]
}

Restart the broker after that and try to connect again.

Kind Regards,
Alex

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


Mime
View raw message