This thread is archived
5 Replies Last post: Jul 13, 2007 8:28 AM by Doug McCall  
Doug McCall Bronze 17 posts since
Mar 26, 2007
Currently Being Moderated

Jun 28, 2007 10:58 AM

Server Settings Won''t Always Update

We''ve been using OpenFire for quite some time now - from WildFire all the way up to the latest OpenFire - on many different computers with OS''s ranging from Windows 2000 to Vista and have run into an issue where the server does not always seem to update the settings through the administrator page.  It seems like there is no set combination of actions that forces the change to take (we''ve tried everything we can think of), but it seems like more often than not our settings get erased next time the server restarts.

 

I looked through the source code and was somewhat surprised to see that a "Settings saved successfully" message is returned regardless of whether the setting was actually saved correctly through the underlying events, however any error should have shown up in the error log (based on what I saw in the code) yet there are never any errors when the settings aren''t saved.

 

We are using the embedded database, so perhaps that has something to do with it, however I can''t see any logical reason why this should be happening other than if write caching was enabled with some obscenely long value and we were restarting the server before the changes were written.

 

Has anybody ran into this issue before?

LG KeyContributor 4,984 posts since
Dec 13, 2005
Currently Being Moderated
Jun 28, 2007 3:55 PM in response to: Doug McCall
Re: Server Settings Won''t Always Update

Hi,

 

the embedded hsqldb should write all changes to the embedded-db/openfire.log file without delay. So if you change something this file should be updated with the new settings. Not sure if you can use it to verify that your changes were written to the database.

 

"Settings saved successfully" message is returned regardless of whether the setting was actually saved sound like a bug, may I ask which file and line numbers you are referring to?

 

LG

LG KeyContributor 4,984 posts since
Dec 13, 2005
Currently Being Moderated
Jul 12, 2007 10:43 AM in response to: Doug McCall
Re: Server Settings Won''t Always Update

Hi,

 

I did create JM-1098 to track these issues while I can not reproduce problems during shutdown.

 

I use a normal kill -15 signal on linux and this shuts down Openfire with the embedded database just fine, the openfire.log and openfire.lck files are removed during shutdown.

 

LG

More Like This

  • Retrieving data ...