powered by Jive Software

Problem with user creation


after connecting to jive messenger sucessfully.now i’'m in the process of creating user and getting buddy list for them.

i’'m using the followinig code to create user

import org.jivesoftware.smack.*;

import java.util.*;

public class acct {

public static void main(String[] args) {

XMPPConnection.DEBUG_ENABLED = true;

try {

XMPPConnection connection = new XMPPConnection(“localhost”, 5222);


System.out.println(“Login Success !!!” );

System.out.println(“Trying to create acct…” );

AccountManager newAccount = new AccountManager(connection);


System.out.println(“created acct…” );

} catch (Exception e) {

System.out.println(“Failed” +e);




but i get the following exception

C:\smack\classes>java -cp C:\smack\smack.jar;C:\smack\smackx.jar; acct

Sucess !!!

Trying to create acct…

Failedorg.jivesoftware.smack.XMPPException: Server does not support account crea


I’‘ve seen the settings in my jive software and i’'ve enabled the option of Inband Account Registration.

so that Users can automatically create new accounts.

where do u think the problem is ???

one more thing i wanna know is that when i’‘m creating an acct do i need to follow the convention of xxx@abc as username.if so wat should i use as i’'m writing a client for jive messenger.


Make sure the server you’‘re using is configured to allow account creation. It’‘s simply telling you that it isn’'t at the moment.



hey Matt

Thanx i’'ve fixed it.currently busy in getting buddy list…lets see what happens.