[JDEV] Users-agent problem

Florent Guiliani fguiliani at perinfo.com
Wed Aug 27 05:01:27 CDT 2003


Hi All,

I'am using users-agent 1.0 and jabberd 1.4.2. When I make a request to
users-agent, it doesn't work. Here is the debug output. What's wrong?
Any Idea ?

XML::Stream: Read: buff(<iq type='get' id='aad7a' to='users.venus'
from='florent2 at venus/Psi'>
<query xmlns='jabber:iq:search'/>
</iq>)
NJ::Component: CallBack: sid(3F4C7027) received(<iq
from='florent2 at venus/Psi' id='aad7a' to='users.venus' type='get'>
<query xmlns='jabber:iq:search'/>
</iq>)
NJ::Component: CallBack: tag(iq)
NJ::Component: CallBack: id(aad7a)
NJ::Component: CallBack: we either want it or were waiting for it.
NJ::Component: CheckID: tag(iq) id(aad7a)
NJ::Component: CheckID: we have that here somewhere...
NJ::Component: CallBack: no registry entry
NJ::Component: CallBack: goto user function(CODE(0x85de2a0))
NJ::Component: Process: status(1)
NJ::Component: Process: return(1)



Config.xml:
<config>
  <server>
    <connectiontype>accept</connectiontype>
    <hostname>venus</hostname>
    <port>5226</port>
    <secret>perinfo</secret>
  </server>
  <component>
    <name>users.venus</name>
  </component>
  <mysql>
    <dbname>JUD</dbname>
    <username>root</username>
    <password>graal</password>
    <limit>250</limit>
  </mysql>
</config>


Jabber.xml:
...
      <browse>
        <service type="users" jid="users.venus" name="Annuaire">
            <ns>jabber:iq:search</ns>
            <ns>jabber:iq:register</ns>
        </service>
      </browse>
...
   <service id="users">
            <host>users.venus</host>
            <accept>
                <ip>10.3.0.77</ip>
                <port>5226</port>
                <secret>perinfo</secret>
            </accept>
   </service>




More information about the JDev mailing list