powered by Jive Software

HELP! Problem creating MUC room

Hi,

i’'m Donato from Italy, can somebody help me?

I have a little problem creating a MUC room.

Here the code (it’'s only a test) :

import org.jivesoftware.smack.*;

import org.jivesoftware.smackx.*;

public class CreazioneMUC {

public static void main(String[] args) {

String room = “TestMUC”;

XMPPConnection conn1;

try {

conn1=new XMPPConnection(“jabber.org”);

conn1.login(“myUser”,“myPassword”);

MultiUserChat muc=new MultiUserChat(conn1,room);

muc.create(“donatosca”);

muc.sendConfigurationForm(new Form(Form.TYPE_SUBMIT));

muc.destroy(“Adios…”, null);

conn1.close();

}

catch (XMPPException e) { System.out.println(e.getMessage()); };

}

}

The code is very simple but when i attempt to create the room i receive the message:" No response from the server" ?

It’'s only a server problem?

What public jabber server support MUC? Jabber.org speak only about Groupchat and not MUC.

Thanks

Problem erased.

Sorry i have lost my eyes…

Thanks to all: Smack it’'s the greatest thing about Java jabber developpers.