Smartfox 2.9.0 : Error when run from bat file

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

hhd90
Posts: 67
Joined: 21 Dec 2012, 05:17

Smartfox 2.9.0 : Error when run from bat file

Postby hhd90 » 31 Jul 2014, 05:01

Hi SmartfoxSeverTeam,
I encounted this problem when run sever from bat file in smartfoxsever 2.9.0
My OS is window 7

Image

How do I fix this ?
Thanks !
User avatar
Lapo
Site Admin
Posts: 23027
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Smartfox 2.9.0 : Error when run from bat file

Postby Lapo » 31 Jul 2014, 08:42

Hi,
thanks for reporting. I tested under Windows 8 and I see a similar log with a number of warnings.
I suspect this has something to do with the initial file-scan that the internal HTTP Server (Jetty) does at boot-time.

It should be of no concern, it is only a "boot thing" and it doesn't affect the functionality of the server
Additionally if you run the sfs2x-standalone executable the problem doesn't manifest, so I'd recommend using that.

Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games
hhd90
Posts: 67
Joined: 21 Dec 2012, 05:17

Re: Smartfox 2.9.0 : Error when run from bat file

Postby hhd90 » 31 Jul 2014, 10:54

Lapo wrote:Hi,
thanks for reporting. I tested under Windows 8 and I see a similar log with a number of warnings.
I suspect this has something to do with the initial file-scan that the internal HTTP Server (Jetty) does at boot-time.

It should be of no concern, it is only a "boot thing" and it doesn't affect the functionality of the server
Additionally if you run the sfs2x-standalone executable the problem doesn't manifest, so I'd recommend using that.

Cheers


Thank you ! I want to run from bat file to debug server code.
Ah, I also found out that the file config for jetty server disappeared in this new version. How do I change port for jetty server ?
User avatar
Lapo
Site Admin
Posts: 23027
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Smartfox 2.9.0 : Error when run from bat file

Postby Lapo » 31 Jul 2014, 11:10

No problems with debugging, you can use the start.bat and ignore the errors.

Code: Select all

Ah, I also found out that the file config for jetty server disappeared in this new version. How do I change port for jetty server ?

You can use the AdminTool > ServerConfigurator to setup the HTTP Server.
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 141 guests