[JDEV] Re: Users-Agent Problem
seanw at uk.ibm.com
seanw at uk.ibm.com
Mon Apr 9 14:14:20 CDT 2001
This is a multipart message in MIME format.
--=_alternative 00691DBA80256A29_=
Content-Type: text/plain; charset="us-ascii"
I managed to get users-agent working. In the server.xml, I used:
<connectiontype>tcpip</connectiontype>
<hostname>localhost</hostname>
and in the jabber.xml, a corresponding accept:
<service id="jud">
<exec>./users-agent/users-agent</exec>
<host>users.domain.name</host>
<accept>
<ip>127.0.0.1</ip>
...
</accept>
...
</service>
All worked fine for me as far as connecting...although I did make some
other minor tweaks to the cvs version of the users-agent code to get it to
work. I do still have a problem where the XML parser module (possibly in
XML::Stream::Parser) seems to have a memory leak. As a temporary measure,
we simply have a job that kills users-agent at intervals to avoid it
hogging all the memory in the server. In our case, the main jabberd
restarts the users-agent as it runs under its control (started by <exec>).
Ignore the xmlns:stream="http://etherx.jabber.org/streams" line.....thats
just the URI for the XML namespace.
Sean Welsh
AT&T Global Network Services
--=_alternative 00691DBA80256A29_=
Content-Type: text/html; charset="us-ascii"
<br><font size=2 face="sans-serif">I managed to get users-agent working. In
the server.xml, I used:</font>
<br><font size=2 face="sans-serif"> </font><font
size=1><tt><connectiontype>tcpip</connectiontype><br>
<hostname>localhost</hostname></tt></font>
<br>
<br><font size=2 face="sans-serif">and in the jabber.xml, a corresponding
accept:</font>
<br><font size=2 face="sans-serif"> <service
id="jud"></font>
<br><font size=2 face="sans-serif">
<exec>./users-agent/users-agent</exec> </font>
<br><font size=2 face="sans-serif">
<host>users.domain.name</host></font>
<br><font size=2 face="sans-serif">
<accept></font>
<br><font size=2 face="sans-serif">
<ip>127.0.0.1</ip></font>
<br><font size=2 face="sans-serif">
...</font>
<br><font size=2 face="sans-serif">
</accept></font>
<br><font size=2 face="sans-serif">
...</font>
<br><font size=2 face="sans-serif">
</service></font>
<br>
<br><font size=2 face="sans-serif">All worked fine for me as far as
connecting...although I did make some other minor tweaks to the cvs version
of the users-agent code to get it to work. I do still have a problem where
the XML parser module (possibly in XML::Stream::Parser) seems to have a
memory leak. As a temporary measure, we simply have a job that kills
users-agent at intervals to avoid it hogging all the memory in the server.
In our case, the main jabberd restarts the users-agent as it runs under its
control (started by <exec>).</font>
<br>
<br><font size=2 face="sans-serif">Ignore the </font><font
size=1><tt>xmlns:stream="http://etherx.jabber.org/streams"</tt></font><font
size=2 face="sans-serif"> line.....thats just the URI for the XML
namespace. </font>
<br>
<br>
<br><font size=2 face="sans-serif">Sean Welsh<br>
AT&T Global Network Services</font>
--=_alternative 00691DBA80256A29_=--
More information about the JDev
mailing list