[jdev] alter the XML-files of buddies
Tijl Houtbeckers
thoutbeckers at splendo.com
Wed Oct 13 09:48:49 CDT 2004
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.
More information about the JDev
mailing list