Could you please run the broker with -t and paste the output of the broker? Are you using a specific release of the c++ broker or is it built from trunk?
Rajith On Wed, Dec 9, 2009 at 6:08 PM, Glen Marchesani <[email protected]> wrote: > Hi I am Brant's co-worker and can confirm the server is setup for no-auth. > > We are trying to migrate working python code to work in the java client and > as Brant has pointed out can't form a url for the java client that works. > > > On Wed, Dec 9, 2009 at 4:03 PM, Brant Boehmann > <[email protected]>wrote: > >> I've tried with guest:guest and I get authentication failure shown in the >> stack trace. I think auth is already disabled on the server as the python >> code I posted works without providing credentials. If I remove guest: guest >> from the url then I get the error about the user info missing in the url >> and >> I still can't connect. Does anyone have example java code of connecting to >> a >> c++ broker with auth disabled? >> >> On Dec 9, 2009 11:57 AM, "Rajith Attapattu" <[email protected]> wrote: >> >> start the c++ broker with --auth no >> >> If you want authentication enabled, then need to setup SASL in the c++ >> broker. >> Sadly I couldn't find any documentation in the Qpid project, except >> here https://issues.apache.org/jira/browse/QPID-648 >> If you set it up for the most basic case (username/password) then you >> could use amqp://guest:gu...@clientid >> /test?brokerlist='tcp://localhost:5672' >> where guest/guest is the user/pwd. >> >> Regards, >> >> Rajith >> >> On Tue, Dec 8, 2009 at 11:27 PM, Brant Boehmann <[email protected]> >> wrote: > I have a qpid C... >> -- >> Regards, >> >> Rajith Attapattu >> Red Hat >> http://rajith.2rlabs.com/ >> >> --------------------------------------------------------------------- >> Apache Qpid - AMQP Messaging Implementation >> Project: http://qpid.apache.org >> Use/Interact: mailto:[email protected] >> > -- Regards, Rajith Attapattu Red Hat http://rajith.2rlabs.com/ --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
