Alex,

I am trying PLAIN first if it doesn't work then i am trying  Anonymous with
Anonymous i am getting unknown virtual host.

I will try to enable PLAIN and see if it works.

Thanks,
Ram

On Thu, Oct 1, 2015 at 3:42 PM, Oleksandr Rudyy <oru...@gmail.com> wrote:

> 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-unsubscr...@qpid.apache.org
> For additional commands, e-mail: users-h...@qpid.apache.org
>
>

Reply via email to