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

Otis Gospodnetic otis at neomeocorp.com
Thu Jan 4 14:30:48 CST 2001


Hello,

Since server 1.4 seems to be a few weeks away at least I'm trying to get
groupchat going with 1.2 version.

I see this error being logged:

20010104T20:11:43: [warn] (penguin.neomeo.com): xdb_file failed to open file
./spool/penguin.neomeo.com/mygroup.xml: No such file or
directory

And the Debug XML that goes with this error is:

SENT: <iq type="get" id="wj_9" to="jabber at penguin.neomeo.com"><query
xmlns="jabber:iq:groupchat"></query></iq>
RECV: <iq type='error' id='wj_9' to='otis1 at penguin.neomeo.com/otis1_664'
from='jabber at penguin.neomeo.com'><query xmlns='jabber:iq:groupchat'/><error
code='404'>Not Found</error></iq>


'mygroup' is the group that I chose to join. How does that mygroup.xml get
created? Am I supposed to create that manually?


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?

Example:

        <agent jid="penguin.neomeo.com">
          <name>Neomeo Jabber User Directory</name>
          <description>You may register.....</descr
iption>
          <service>jud</service>
          <register/>
          <search/>
        </agent>

        <agent jid="penguin.neomeo.com">
          <name>Neomeo Group Conferencing</name>
          <description>You can create and participate in private
chatrooms.</description>
          <service>privatechat</service>
          <groupchat/>
          <register/>
        </agent>

Also, when you have <service id='XYZ'.... Does the XYZ have to correspond to
anything? (e.g. a host name, or a defined jid or...?)

Example:

  <service id="penguin">
    <load><groupchat>./groupchat.so</groupchat></load>
  </service>



Mucho thanks,

Otis






More information about the JDev mailing list