MUC join problem after receiving invitation

Hello Guys,

I am new to this OpenFire and asmack, i wanted the user to have a functionality of Group Chatting so i searched around and i found MUC i have implemented this for creating a room and sending invitation to other users, other user receives the invitation but i the other user is not able to joing the room.

I am doing this on other user invitation receiving

MultiUserChat muc3 = new MultiUserChat(connection,room);

muc3.join(“testbot3”);

But this throws 404 error.

I have been trying for long now i am not sure what is going wrong, some one can give a sample of how to do this it would be great help for me.

Thanks