Now I'm sending options as follows, ./hello_world localhost:5672 amqp.topic {username: guest, password: guest}
seems the format Im using to set options is not correct.. On Mon, Sep 3, 2012 at 3:48 PM, Sajith Kariyawasam <saj...@gmail.com> wrote: > is it /etc/passwd file? > > That file contain > > *guest:guest* > > *client:guest* > > *server:guest* > > *admin:admin* > > *webadmin:webadmin* > * > * > > Seems I need to pass credentials, ? if so how can I do it in the source > file ? > > On Mon, Sep 3, 2012 at 3:44 PM, Sajith Kariyawasam <saj...@gmail.com>wrote: > >> Thanks for the response Gordon, I'm new to this area. >> >> My Broker is Qpid Java Broker, then which config file I should refer to? >> when running the sample I'm not specifying any option, i just execute >> ./hello_world, as mentioned in >> https://svn.apache.org/repos/asf/qpid/trunk/qpid/cpp/examples/README.txt >> >> >> >> On Mon, Sep 3, 2012 at 3:40 PM, Gordon Sim <g...@redhat.com> wrote: >> >>> On 09/03/2012 11:02 AM, Sajith Kariyawasam wrote: >>> >>>> Hi all, >>>> >>>> I'm facing an issue, $subject. >>>> >>>> Here's the exception Im getting, >>>> >>>> *[Client] warning Closing connection due to internal-error: Sasl error: >>>> >>>> SASL(-4): no mechanism available: No worthy mechs found >>>> (qpid/SaslFactory.cpp:280)* >>>> *internal-error: Sasl error: SASL(-4): no mechanism available: No worthy >>>> mechs found (qpid/SaslFactory.cpp:280)* >>>> >>>> >>>> Any idea? >>>> >>> >>> That means that the client and broker could not agree on a SASL >>> mechanism to use for authentication. >>> >>> Are you specifying and options to the hello world example? If not, the >>> client is most likely asking for ANONYMOUS. >>> >>> Which broker are you using? If qpidd, what does your >>> /etc/sasl/qpidd.conf contain? >>> >>> >>> ------------------------------**------------------------------** >>> --------- >>> To unsubscribe, e-mail: >>> users-unsubscribe@qpid.apache.**org<users-unsubscr...@qpid.apache.org> >>> For additional commands, e-mail: users-h...@qpid.apache.org >>> >>> >> >> >> -- >> Best Regards >> Sajith >> >> > > > -- > Best Regards > Sajith > > -- Best Regards Sajith