Yes, it is smack we were initially using. The connection itself appears to come up. The authentication however does fail and merely following the "basic auth plugin" documentation on the AMQ site did not work at all for us, other than to disable all our anonymous stomp clients despite anonymous access being allowed.
We have unfortunately given up testing mostly because we do not believe the functionality we wished to test will suffice for our purposes. James On 7 July 2011 17:00, Stan Lewis <sle...@fusesource.com> wrote: > Currently the XMPP transport works best with the Smack library as a > client, that's certainly the most tested: > > > https://svn.apache.org/repos/asf/activemq/trunk/activemq-xmpp/src/test/java/org/apache/activemq/transport/xmpp/XmppTest.java > > With other clients your mileage may vary, it's likely in your case > your client is reporting this error because the XMPP transport is > throwing an exception when your client sends it's username/password, > that should show up in the activemq log if you turn up logging for the > xmpp transport packages. Also some clients have a debug console > that'll let you see the XMPP traffic which could help if you want to > look into it further. > > On Thu, Jul 7, 2011 at 8:05 AM, James Green <james.mk.gr...@gmail.com> > wrote: > > Trying to get XMPP to work. Can connect but am told "Invalid username or > > password". > > > > I don't currently have any authentication set up except the system / > manager > > set that AMQ ships with for JMX purposes. Stomp connections require no > > username/password. > > > > Right now all we want to do is see it "working". I tried adding <plugins> > > with: <simpleAuthenticationPlugin> <users> <authenticationUser username= > > "system" password="manager" groups="users,admins"/> <authenticationUser > > username="user" password="password" groups="users"/> <authenticationUser > > username="guest" password="password" groups="guests"/> > > </users></simpleAuthenticationPlugin> as per the security > > documentation but that > > locked everything out including system/manager and guest/password. > > > > Any ideas? > > > > Thanks, > > > > James > > >