[JDEV] Problems with: Groupchat and Jaber User Directory

Evandro Linhares evandro_linhares at hotmail.com
Fri Oct 6 11:06:57 CDT 2000


Dear all,

I'm not subscribed to this list, so I would like to ask you to reply direct 
to the sender address.

I've recently installed Jabber and I've managed well the installation
process using the Mini-HOWTO I found in the Jabber Documentation session.

Everything is working well, when the deal is one-to-one chat.

Now I have two problems. The first one is that my users are complainning 
that after registration they have to add users to their contact list one by 
one. The Jabber User Directory function is not working. I've configured it 
in the jserver.xml:

<agent jid="myhostname.com">
      <name>Jabber User Directory</name>
      <description>You may register and create a public searchable profile, 
and search for other registered Jabber users.</description>
      <service>jud</service>
      <register/>
      <search/>
    </agent>

The second problem is that I've installed the groupchat-transport but I've 
had some error when starting it. I've followed all the instructions in the 
README file except the number 4, because I couldn't find the files 
etherxd.xml and gc_trans.so and I couldn't
run the groupchat program:

4) Decide to either use the dso or socket version to connect to etherx
        dso:
        -  Edit your etherxd.xml and add:
        <dso init='gc_init'>/path/to/your/gc_trans.so</dso>

        socket:
        -  Run the groupchat program to get the command line


I have also configured the grouchat agent in the jserver.xml file:

<agent jid="myhostname.com">
        <name>GroupChat</name>
        <description>GroupChat</description>
        <service>privatechat</service>
        <groupchat/>
        <register/>
    </agent>


By the way, I don't have the etherxd daemon running in my server and I 
didn't find any comments about this daemon in the installations 
instructions.

The output (-D) of running groupchat is listed bellow:

$ groupchat -D -s XXXXXXXXXXXX myhostname.com

Fri Oct  6 12:37:54 2000  debug/log.c:70 log_init
Fri Oct  6 12:37:54 2000  debug/main.c:51 Loading Transport
Fri Oct  6 12:37:54 2000  debug/ehandler.c:39 
ehandler_new(myhostname.com,jabber:server)
Fri Oct  6 12:37:54 2000  debug/ehlist.c:26 list_add(myhostname.com)
Fri Oct  6 12:37:54 2000  debug/etherxs.c:94 attempting socket connect to 
(null) for transport myhostname.com
Fri Oct  6 12:37:54 2000  debug/xmlstream.c:26 xmlstream_connect
Fri Oct  6 12:37:54 2000  debug/tstream.c:63 tstream_new
Fri Oct  6 12:37:54 2000  debug/xmlstream.c:101 head: <?xml 
version='1.0'?><stream:stream 
xmlns:stream='http://etherx.jabber.org/streams' id='39DDF1D2' 
xmlns='jabber:server' from='myhostname.com' 
xmlns:etherx='http://etherx.jabber.org/' 
etherx:secret='f0d7f13d675d6cbc389fa6a14945d0c713a7b85f'>
Fri Oct  6 12:37:54 2000  debug/tstream.c:133 tstream_write_buffer
Fri Oct  6 12:37:54 2000  debug/ehandler.c:66 spun off connection attempt
Fri Oct  6 12:37:54 2000  debug/main.c:70 Main loop waiting
Fri Oct  6 12:37:54 2000  debug/tstream.c:212 tstream_main: startup
Fri Oct  6 12:37:54 2000  debug/xmlstream.c:222 xmlstream_main: startup
Fri Oct  6 12:37:54 2000  debug/tstream.c:335 tstream_connect: 
ADNS[127.0.0.1:5269]
Fri Oct  6 12:37:54 2000  debug/tstream.c:488 tstream_socket 5269 127.0.0.1
Fri Oct  6 12:37:54 2000  debug/tstream.c:263 tstream write event 0
Fri Oct  6 12:37:54 2000  debug/tstream.c:285 tstream_write 247 blocks
Fri Oct  6 12:37:54 2000  debug/tstream.c:285 tstream_write 0 blocks
Fri Oct  6 12:37:54 2000  debug/tstream.c:247 tstream read event
Fri Oct  6 12:37:54 2000  debug/xmlstream.c:222 xmlstream_main: startup
Fri Oct  6 12:37:54 2000  debug/etherxs.c:60 got root tag from etherx!
Fri Oct  6 12:37:54 2000  debug/tstream.c:188 tstream_oob_flush
Fri Oct  6 12:37:54 2000  debug/etherxs.c:72 got node from etherx!
Fri Oct  6 12:37:54 2000  error/etherxs connection to etherxd was rejected: 
Transport access denied
Terminated

Could anyone help me?

Thanks,

Evandro
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.





More information about the JDev mailing list