[JDEV] agent jids, service ids, and groupchat errors.

Jason Meyering JMeyering at jabber.com
Thu Jan 4 15:13:22 CST 2001


<snip>
Also, in jabber.xml I have two agents with the same 'jid'. User directory
and Groupchat are both jid='penguin.neomeo.com' which is a locally
resolvable host name.
Is this allowed? Do all jids have to be different even if they are on the
same Jabber server and do they have to correspond to resolvable host names?
</snip>

Otis,

Nope, that isn't allowed--you DO need each agent to have a different, fully
resolvable DNS name.  So you might want to change the <agent id=""> for your
groupchat instance to something like groups.penguin.neomeo.com or anything
to make it different from your main jabberd host name.  You're getting "not
found" errors in your groupchat because the groupchat packets are being sent
to your main jabberd which doesn't know how to work them.  When you have a
separate id for your groupchat instance, those packets will be routed to the
jabberd that's forked specifically for group communication and things should
be working a lot better.  

Also, about your <service id=""> question: 
<snip>
when you have <service id='XYZ'.... Does the XYZ have to correspond to
anything? (e.g. a host name, or a defined jid or...?)
</snip>

I'm not sure--on our jabber server, we've got <service
id="groupchat_transport"> but I don't know if that has to refer to anything
specific, and there's nothing else in our jabber.xml that refers to
groupchat_transport.  Anyone else able to clarify this?

J




More information about the JDev mailing list