[JDEV] xdb_file -- external updates -- how to

Oliver Jones oj at world.std.com
Thu Nov 30 18:47:10 CST 2000


A while ago I asked if anyone had sorted out a way to use an external
program or script to update the small xml files maintained in the Jabber
spool directory -- for example to harmonize a login table for a
password-oriented web site with Jabber user names and passwords.  

I figured it out (by looking at the source code): the trick is to put 

   <timeout>0</timeout> 

in the <xdb_file> stanza of the jabberd configuration file.  This makes
jabberd refrain from caching the contents of xdb files internally.

Oliver Jones





More information about the JDev mailing list