[[NEW]] July 8th, 2014: SmartFoxServer 2X 2.9 Available!

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

Moderators: Lapo, Bax

User avatar
Lapo
Site Admin
Posts: 21007
Joined: 21 Mar 2005, 09:50
Location: Italy

[[NEW]] July 8th, 2014: SmartFoxServer 2X 2.9 Available!

Postby Lapo » 08 Jul 2014, 08:37

We have released version 2.9 for SmartFoxServer 2X which introduces several new features and fixes.
The release is in form of installer, so it requires a new installation and migrating the previous extensions and configuration.

Download SmartFoxServer 2.9.

IMPORTANT: Make sure to also check the documentation homepage for the latest updates and new articles.

Lapo
--
gotoAndPlay()
...addicted to flash games
User avatar
Lapo
Site Admin
Posts: 21007
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: [[NEW]] July 8th, 2014: SmartFoxServer 2X 2.9 Available!

Postby Lapo » 08 Jul 2014, 08:38

Release Notes:

::::: Server Side :::::

[NEW] Improved thread management and scalability via AutoScaling-ThreadPools. The new system renders obsolete the previous manual configuration of System and Extension Controller threads. The AutoScaling-ThreadPool automatically detects higher loads and balances the number of threads and the queue size to handle increasing amounts of workload. The new thread pool are fully configurable in each and every detail although the default settings should cover a large number of scenarios.

[NEW] Jetty 9.x replaces old Jetty 6.x offering improved performance, support for servlet api 3.0 and HTTPS support out of the box.
[NEW] BlueBox v3.0: revamped and improved edition compatible with the latest Jetty 9.
[NEW] HTTP Uploads API with new server side event to manage the uploaded files.
[NEW] Added support for websockets over SSL (WSS).
[NEW] Added support for Scala 2.10.
[NEW] Added VARIABLES_MAP key for server side events such as USER_VARIABLES_UPDATE, ROOM_VARIABLES_UPDATE, BUDDY_VARIABLES_UPDATE. The value from this key is a Map of Variables.

[NEW] SignUp component now allows re-sending of activation email in a later session and activation of the account in a later session.
[NEW] a few updated libraries (SLF4J, HttpClient).

::::: AdminTool :::::

[NEW] Extension Manager module, allows to manage, upload and deploy extensions directly from the Admin GUI.
[NEW] "Thread pools" tab added to the Server Configurator module to configure the new threading system introduced in SmartFoxServer 2X v2.9.
odule. Administrators can now be given access to some modules only and server halting/restarting capability can be inhibited.

[NEW] New settings added to the "Web server" tab in Server Configurator module to activate HTTP and HTTPS support separately in the internal web server. Also, HTTP and HTTPS ports can now be configured from within the Admin Tool itself (no need to edit the Jetty configuration manually anymore).

[NEW] New settings added to the "HTML5 WebSockets" tab in Server Configurator module, now supporting SSL encryption activation.
[NEW] The "new version" alert in the Admin Tool's header now indicates the minimum required version in case the update is provided as a patch.

[NEW] New button to reset realtime charts added to Dashboard module.
[NEW] In the Zone Configurator module a new flag allows to explicitly declare that values entered in the Area of Interest and map limits settings of an MMORoom should be treated as floating point numbers.

[NEW] All passwords in Server Configurator module are now displayed as asterisks.
[NEW] Zone Monitor module now shows if the bad words filter is active on the monitored Room.
[NEW] All tables showing configuration parameters in Server Configurator, Zone Configurator and Zone Monitor modules now retain the column width if resized.

[FIX] Negative numbers couldn't be entered as map limits in the "MMO settings" tab of the Zone Configurator module.
[FIX] Fixed problem with new Zones created at runtime causing an index out of bounds error in the Zone Monitor module.
Lapo

--

gotoAndPlay()

...addicted to flash games
User avatar
foxboy
Posts: 110
Joined: 12 May 2011, 02:47
Location: Optimal Solution Pte. Ltd.

Re: [[NEW]] July 8th, 2014: SmartFoxServer 2X 2.9 Available!

Postby foxboy » 08 Jul 2014, 12:02

Hi Lapo,

I don't know if it is just me but I have already uninstalled SFS 2X v2.7 (patch 2.8.5) and rebooted my machine. Then I tried installing both 32-bit and 64-bit windows version but then I received the following error:

An internal error occurred (error code: 34)
Log: C:\Users\FoxBoy\AppData\Local\Temp\i4j_nlog_7

I opened the log file i4j_nlog_7 and inside contains:

Init done
Starting work
number of sections: 6
size of optional headers: 240
resSectionTableStart: 704
rawDataSize: 2048, rawDataOffset: 394240
starting at 396288
verifying integrity length 61463469
ERROR: check ReadFile failed 0 183 23458796
"Dream it, I'll code it..."
Lead Developer
Optimal Solution Pte. Ltd.
User avatar
rjgtav
Posts: 2813
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Re: [[NEW]] July 8th, 2014: SmartFoxServer 2X 2.9 Available!

Postby rjgtav » 08 Jul 2014, 13:00

Hello guys,

I'm also getting the same error (running Windows 8.1 64-bit over here) with both Windows installers.
It seems the installer that was uploaded is corrupted.
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
User avatar
Lapo
Site Admin
Posts: 21007
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: [[NEW]] July 8th, 2014: SmartFoxServer 2X 2.9 Available!

Postby Lapo » 08 Jul 2014, 13:44

Thanks for reporting. An upload problem I think: the files did not match their original size, unfortunately.
Please try downloading again. We've re-deployed both installers.

Cheers
Lapo

--

gotoAndPlay()

...addicted to flash games
User avatar
rjgtav
Posts: 2813
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Re: [[NEW]] July 8th, 2014: SmartFoxServer 2X 2.9 Available!

Postby rjgtav » 08 Jul 2014, 14:20

Everything installed well now ;)
I've checked both files, and both have 50+MB in size
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
User avatar
Lapo
Site Admin
Posts: 21007
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: [[NEW]] July 8th, 2014: SmartFoxServer 2X 2.9 Available!

Postby Lapo » 08 Jul 2014, 14:46

rjgtav wrote:Everything installed well now ;)
I've checked both files, and both have 50+MB in size

Cheers mate :)
Lapo

--

gotoAndPlay()

...addicted to flash games
User avatar
foxboy
Posts: 110
Joined: 12 May 2011, 02:47
Location: Optimal Solution Pte. Ltd.

Re: [[NEW]] July 8th, 2014: SmartFoxServer 2X 2.9 Available!

Postby foxboy » 08 Jul 2014, 15:59

Same here, it works like a charm. I love the Extension loader feature :) Thanks Lapo! you are the best!
"Dream it, I'll code it..."
Lead Developer
Optimal Solution Pte. Ltd.
jeff
Posts: 14
Joined: 18 Jan 2013, 06:42
Contact:

Re: [[NEW]] July 8th, 2014: SmartFoxServer 2X 2.9 Available!

Postby jeff » 10 Jul 2014, 08:07

Do I need to restart server if I uninstall previous version before I install this?
User avatar
Lapo
Site Admin
Posts: 21007
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: [[NEW]] July 8th, 2014: SmartFoxServer 2X 2.9 Available!

Postby Lapo » 10 Jul 2014, 08:52

You will need to stop the old server before uninstalling it. The uninstall process won't work if your server is running.

However if you need to migrate some settings or extensions from the old version to the new one I would recommend to make a backup or, alternatively, install version 2.9 in another folder so that you can keep them both on the HD and then move your files.

cheers
Lapo

--

gotoAndPlay()

...addicted to flash games
arash
Posts: 14
Joined: 06 Jul 2014, 10:36

Re: [[NEW]] July 8th, 2014: SmartFoxServer 2X 2.9 Available!

Postby arash » 14 Jul 2014, 09:44

I upgraded to the last version but when i start service manually i got an error about SLF4J :

SLF4J : the request version 1.6.99 by your slf4j binding is not compatible with [1.5.5, 1.5.6 , 1.5.7 , 1.5.8 , 1.5.9 , 1.5.10]
SLF4J : Class path contains multiply SLF4J bindings.
User avatar
Lapo
Site Admin
Posts: 21007
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: [[NEW]] July 8th, 2014: SmartFoxServer 2X 2.9 Available!

Postby Lapo » 14 Jul 2014, 10:31

What OS are you running?
If it's Windows are you sure you have chosen to install a "Install in a different directory"?

I ask because the installer will also propose to "Update an old installation", which should not be done because SFS2X 2.9 is not just a patch.
Lapo

--

gotoAndPlay()

...addicted to flash games
User avatar
hoangdoanh
Posts: 253
Joined: 21 Jun 2013, 04:54
Location: Vietnam

Re: [[NEW]] July 8th, 2014: SmartFoxServer 2X 2.9 Available!

Postby hoangdoanh » 22 Jul 2014, 06:35

Hi Lapo

I just installed SmartFoxServer 2.9 on MacOS 10.8.4.

And It seems to be missed file after run bash sfs2x.sh.


Message is the following :
_____ _____ _____ ___ __ __
| __| __| __| |_ | | |
|__ | __|__ | | _|- -|
|_____|__| |_____| |___|__|__|
_____ _____ _____ ____ __ __
| __ | __| _ | \| | |
| -| __| | | |_ _|
|__|__|_____|__|__|____/ |_|
[ 2.9.0 ]

12:14:47,877 INFO [SFSWorker:Sys:1] v2.SmartFoxServer - SmartFoxServer 2X (2.9.0) READY!
java.io.IOException: Cannot read file: modules/npn/npn-1.7.0_51.mod
at org.eclipse.jetty.start.Modules.registerModule(Modules.java:405)
at org.eclipse.jetty.start.Modules.registerAll(Modules.java:395)
at org.eclipse.jetty.start.Main.processCommandLine(Main.java:561)
at org.eclipse.jetty.start.Main.main(Main.java:102)
at com.smartfoxserver.v2.http.JettyServer.start(JettyServer.java:35)
at com.smartfoxserver.v2.SmartFoxServer.start(SmartFoxServer.java:295)
at com.smartfoxserver.v2.Main.main(Main.java:27)


I couldn't find modules/npn/npn-1.7.0_51.mod in /Applications/SmartFoxServer_2X/SFS2X/lib/jetty/modules/npn
Could you please help us to identify this error !

Kind regards,
Doanh
User avatar
Lapo
Site Admin
Posts: 21007
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: [[NEW]] July 8th, 2014: SmartFoxServer 2X 2.9 Available!

Postby Lapo » 22 Jul 2014, 08:39

Start the server with:

Code: Select all

./sfs2x-service start

and everything will be fine.

Cheers
Lapo

--

gotoAndPlay()

...addicted to flash games
User avatar
hoangdoanh
Posts: 253
Joined: 21 Jun 2013, 04:54
Location: Vietnam

Re: [[NEW]] July 8th, 2014: SmartFoxServer 2X 2.9 Available!

Postby hoangdoanh » 22 Jul 2014, 09:54

Thanks Lapo

but with ./sfs2x-service start, I found the following issue on accessing admin tool :

HTTP ERROR 404

Problem accessing /admin/AdminTool.html. Reason:

Not Found
Powered by Jetty://


Anyway, in development I prefer bash sfs2x.sh because I can monitor state of server in real time .

Kind regards,
Doanh

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 18 guests