Re: [Qpid / C++] Exception is occurred when executing hello_world.cpp sample

2012-09-03 Thread Gordon Sim
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)*

Re: [Qpid / C++] Exception is occurred when executing hello_world.cpp sample

2012-09-03 Thread Sajith Kariyawasam
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

Re: [Qpid / C++] Exception is occurred when executing hello_world.cpp sample

2012-09-03 Thread Sajith Kariyawasam
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

Re: [Qpid / C++] Exception is occurred when executing hello_world.cpp sample

2012-09-03 Thread Sajith Kariyawasam
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

Re: [Qpid / C++] Exception is occurred when executing hello_world.cpp sample

2012-09-03 Thread Sajith Kariyawasam
Finally got it working..! :) ./hello_world localhost:5672 amq.topic {username:guest, password:guest} On Mon, Sep 3, 2012 at 4:00 PM, Sajith Kariyawasam saj...@gmail.com wrote: Now I'm sending options as follows, ./hello_world localhost:5672 amqp.topic {username: guest, password: guest}

Re: [Qpid / C++] Exception is occurred when executing hello_world.cpp sample

2012-09-03 Thread Gordon Sim
On 09/03/2012 11:30 AM, Sajith Kariyawasam wrote: 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.. Try quotes around the settings, e.g. ./hello_world localhost:5672

Re: [Qpid / C++] Exception is occurred when executing hello_world.cpp sample

2012-09-03 Thread Gordon Sim
On 09/03/2012 11:14 AM, Sajith Kariyawasam wrote: My Broker is Qpid Java Broker, then which config file I should refer to? I believe that ANONYMOUS support is available in the latest 0.18 release of the java broker (released just last week). Assuming you are using a previous release, that

Re: [Qpid / C++] Exception is occurred when executing hello_world.cpp sample

2012-09-03 Thread Sajith Kariyawasam
Hi Gordon, Actually, no, I have been using the latest release, 0.18.. Anyway ./hello_world localhost:5672 amq.topic {username:guest, password:guest} solved my problem, but now Im experiencing some other issue. I have been first using Qpid Java Broker 0.18, and were able to run hello_world sample