powered by Jive Software

MUC Problem


I am using Wildfire 2.5.0 but when I try to join the MUC … I am getting an exception … doesnt support the MUC

boolean supports = MultiUserChat.isServiceEnabled(conn, conn.getUser()); return false … The code use is as,

MultiUserChat muc = new MultiUserChat(conn, “testbot”);


// Set the NodeInformationProvider that will provide information about the

// joined rooms whenever a disco request is received



new NodeInformationProvider() {

public Iterator getNodeItems() {

ArrayList answer = new ArrayList();

Iterator rooms=getJoinedRooms(conn);

while (rooms.hasNext()) {

answer.add(new DiscoverItems.Item ((String)rooms.next()));


return answer.iterator();



boolean supports = MultiUserChat.isServiceEnabled(conn, conn.getUser());

Even after adding the “http://jabber.org/protocol/muc” feature and “http://jabber.org/protocol/muc#rooms” when I print

DiscoverInfo result = ServiceDiscoveryManager.getInstanceFor(conn).discoverInfo(conn.getUser());

The result doesnt contain the feature and still it conn doesnt support the MUC.