powered by Jive Software

SMACK Account Creation

Hey all,

I’ve been having a lot of trouble with account creation and various errors. My current relevant code is:

try {
               XMPPConnection tmp = new XMPPConnection("JabberServerNameHere");
               tmp.getAccountManager().createAccount("asdf", "asdf");
          } catch (XMPPException e) {

which outputs “conflict(409)” as the error.

a few things I have checked / figured out.

*The server does support account creation

*This account does not yet exist

What’s the standard procedure for account creation using smack?

Any help would be great. Thanks.


Most likely that error (409) is a result of the account “asdf” already existing on the server.

Hope that helps,


Yup, figured that out, apparently asdf isn’t as “random” as I had thought… thanks