Bernd's Memory Leaks

Careless Whisper, part 2: Habemus muc!

posted: 2009-09-04 12:23
filed under: Vysper | MUC | XMPP | IRC

Jabber chat rooms have some advantages over IRC, like a more fine-grained participant control and other details. One advantage is that participants are identified from their jabber id, so there are virtually no 'ghost' participants and it's easy to have a private conference.

In the Jabber world, chat rooms are called 'multi-user chat' or 'MUC' for short. Vysper's MUC implementation has reached a critical milestone: users can create a room and chat with each other. Not everything is yet fully working.

Trying yourself is pretty easy if you have your Java5, Maven2 and svn ready:

  1. svn co http://svn.apache.org/repos/asf/mina/sandbox/vysper/trunk vysper
  2. cd vysper
  3. mvn install -Dmaven.test.skip
  4. cd server; cd extensions; cd xep0045-muc
  5. mvn assembly:assembly -DdescriptorId=jar-with-dependencies -Dmaven.test.skip
  6. cd ..; cd ..
  7. java -classpath src/main/config/:src/main/resources:../extensions/xep0045-muc/target/xep0045-m1.0.0-SNAPSHOT-jar-with-dependencies.jar -Dvysper.add.module=org.apache.vysper.xmpp.modules.extension.xep0045_muc.MUCModule org.apache.vysper.xmpp.server.ServerMain

Windows users, please change '/' into '\' for 7.

Log into the server as "user1@vysper.org" or "user2@...", both have the identical password 'password1' and make sure you set the server/host configuration to 'localhost'.

The chat can be found under 'Service Discovery' or 'Services', depending on your client.

As a client, I recommend Psi, but others work, too. However, I didn't get Apple's iChat to log into Vysper yet.

© 2002-2010 bernd fondermann brainlounge, contact/legal notice