[jdev] alter the XML-files of buddies

Jana von dem Berge jvdberge at web.de
Thu Oct 14 03:42:49 CDT 2004


I found out, I had to add a timeout tag with the value 0! Now it works, but do you think it has any disadvantages?

Jabber software development list <jdev at jabber.org> schrieb am 14.10.04 09:56:44:
> 
> I'm running jabberd-1.4.3
> 
> The section in my jabber.xml-file looks like this:
> 
> <!--
>   The <xdb/> component handles all data storage, using the filesystem.
>   Make sure the spool directory defined here exists and has proper
>   permissions.
>   -->
> 
>   <xdb id="xdb">
>     <host/>
>     <load>
>       <xdb_file>./xdb_file/xdb_file.so</xdb_file>
>     </load>
>     <xdb_file xmlns="jabber:config:xdb_file">
>       <spool><jabberd:cmdline flag='s'>./spool</jabberd:cmdline></spool>
>     </xdb_file>
>   </xdb>
> 
> Can you tell me what I have to change for disabling caching?
> 
> 
> 
> Jabber software development list <jdev at jabber.org> schrieb am 13.10.04 16:49:38:
> > 
> > On Wed, 13 Oct 2004 16:41:14 +0200, <jvdberge at web.de> wrote:
> > 
> > > I have a Server running at my company and I want to do the subscription  
> > > between my buddies by my own, and not allow the buddies to subscribe  
> > > each other!
> > >
> > > Now I did it by altering the spool-xml-files from the buddies. I  
> > > inserted or removed the subscription.
> > >
> > > But there is a problem, when the buddy was online and I removed a  
> > > subscription. Then the server writes the xml-file when he logs out with  
> > > the status of subscription when the buddy logged in.
> > >
> > > I can only add or remove subscriptions when the buddies are offline.
> > >
> > > I have the same Problem with changing the password. When I change the  
> > > password, when the buddy is online, the password is the old one when he  
> > > goes offline because the server writes his xml-file to the  
> > > spooldirectory.
> > >
> > > I have the same Problems with Registering Buddies. When I register a  
> > > Buddy by adding a xml-File to the Spool-Directory He can only  
> > > Authenticate when the server was down after writing the new xml-file!
> > >
> > > Can anybody help me with this Problem?
> > 
> > I asumme you're running Jabberd 1.4.2...
> > You probably still have XDB caching enabled. Jabberd caches the spool to  
> > RAM, and then when it shuts down it writes the cache to disk as it should.
> > You can change disable this somewhere in your jabber.xml config file, my  
> > guess would be near the XDB section.
> > _______________________________________________
> > jdev mailing list
> > jdev at jabber.org
> > http://mail.jabber.org/mailman/listinfo/jdev
> 
> 
> __________________________________________________________
> Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min.
> weltweit telefonieren! http://freephone.web.de/?mc=021201
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mail.jabber.org/mailman/listinfo/jdev


________________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt neu bei WEB.DE FreeMail: http://freemail.web.de/?mc=021193




More information about the JDev mailing list