Where is the default server config.xml?

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

Post Reply
Soleil
Posts: 19
Joined: 06 Mar 2010, 06:24

Where is the default server config.xml?

Post by Soleil »

According to the docs:

Code: Select all

The server configuration is saved in an XML file called "config.xml", located in the Server/ folder.
My client config is set to zone simpleChat, and when I log in, I am auto-joined into "The Hall" (running the server locally because I still can't get it working online - see my other thread). I tried changing the name of the room in Server/config.xml, but it had no effect. In fact, I can delete the config.xml file entirely from the /Server folder, and I'm still auto-joined into "The Hall". Obviously the config settings are getting pulled from somewhere... where could this be?

EDIT:
After many hours of banging my head against this I'm still baffled. Editing the config.xml file has absolutely no effect on anything, and therefore I can't add any extensions, etc. I really need to know where Smartfox is looking for the server config.xml file, because it's obviously not looking at /Server/config.xml.
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Maybe you are expecting that the server reconfigures itself as soon as you apply changes to the config? If so, it is not.

Although certain changes don't require a restart when you are in a dev environment it's just quicker to start/stop the server.
Lapo
--
gotoAndPlay()
...addicted to flash games
Soleil
Posts: 19
Joined: 06 Mar 2010, 06:24

Post by Soleil »

Thanks, I started to figure that out when I saw that you can reload extensions in the admin tool. Restarting the server from the admin tool doesn't work quite as well though... started a new thread for that.
Post Reply