Patch 2.4.0 problems

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
Scarpelius
Posts: 24
Joined: 12 Mar 2011, 11:33

Patch 2.4.0 problems

Postby Scarpelius » 28 Nov 2012, 12:50

Hello,
I have installed the server (community edition) and it worked well as you can see in the picture bellow:
smartfox.jpg
default smartfox install
(152.29 KiB) Not downloaded yet


But if I apply the 2.4.0 patch something is going horribly wrong in admin and no report is made:
smartfox240.jpg
updated to 2.4.0
(117.98 KiB) Not downloaded yet



I am not sure what to do.
The server is a Debian 6.0 on a 32 bit machine.
User avatar
Scarpelius
Posts: 24
Joined: 12 Mar 2011, 11:33

Re: Patch 2.4.0 problems

Postby Scarpelius » 28 Nov 2012, 13:16

This is patch log and it seems ok.

Code: Select all

[INFO]: *******************************
[INFO]:   SFS2XPatcher                 
[INFO]:   ver 1.0.5                   
[INFO]:   (c) gotoAndPlay -- 2012     
[INFO]: *******************************
[INFO]: SFS2X 2.4.0 Patch Installer
[INFO]: Working... 6 task(s) left...
[INFO]: Working... 5 task(s) left...
[DEBUG]: {Task action: copyDir, src: _patch/Server/admin, dst: www/root/admin/}
[INFO]: Working... 4 task(s) left...
[DEBUG]: {Task action: copyAll, src: _patch/Server/lib/, dst: lib/}
[DEBUG]: _patch/Server/lib/sfs2x.jar --> ../SFS2X/lib/sfs2x.jar
[DEBUG]: _patch/Server/lib/sfs2x-admin.jar --> ../SFS2X/lib/sfs2x-admin.jar
[DEBUG]: _patch/Server/lib/sfs2x-core.jar --> ../SFS2X/lib/sfs2x-core.jar
[DEBUG]: _patch/Server/lib/ws-engine.jar --> ../SFS2X/lib/ws-engine.jar
[INFO]: Working... 3 task(s) left...
[DEBUG]: {Task action: copyAll, src: _patch/Server/descriptors/, dst: config/descriptors/}
[DEBUG]: _patch/Server/descriptors/runtime_game.txt --> ../SFS2X/config/descriptors/runtime_game.txt
[DEBUG]: _patch/Server/descriptors/config_room.txt --> ../SFS2X/config/descriptors/config_room.txt
[DEBUG]: _patch/Server/descriptors/runtime_room.txt --> ../SFS2X/config/descriptors/runtime_room.txt
[DEBUG]: _patch/Server/descriptors/runtime_user.txt --> ../SFS2X/config/descriptors/runtime_user.txt
[DEBUG]: _patch/Server/descriptors/config_zone.txt --> ../SFS2X/config/descriptors/config_zone.txt
[DEBUG]: _patch/Server/descriptors/config_server.txt --> ../SFS2X/config/descriptors/config_server.txt
[DEBUG]: _patch/Server/descriptors/runtime_zone.txt --> ../SFS2X/config/descriptors/runtime_zone.txt
[INFO]: Working... 2 task(s) left...
[DEBUG]: {Task action: copyDir, src: _patch/Server/lib/Lib/, dst: lib/Lib/}
[INFO]: Working... 1 task(s) left...
[DEBUG]: {Task action: copyFile, src: _patch/Server/BlueBox.war, dst: www/BlueBox.war}
[INFO]: Patch installation SUCCESS!
[INFO]: You can now start the Server.
Last edited by Scarpelius on 28 Nov 2012, 13:18, edited 1 time in total.
User avatar
Scarpelius
Posts: 24
Joined: 12 Mar 2011, 11:33

Re: Patch 2.4.0 problems

Postby Scarpelius » 28 Nov 2012, 13:18

An here is the error i found all over the smartfox.log file:

Code: Select all

28 Nov 2012 | 15:05:47,207 | ERROR | com.smartfoxserver.v2.controllers.ExtensionController-1 | v2.controllers.ExtensionController |     | com.smartfoxserver.v2.exceptions.SFSRuntimeException:
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Exception: com.smartfoxserver.v2.exceptions.SFSRuntimeException
Message: Request handler not found: 'runtimeStats.getData'. Make sure the handler is registered in your extension using addRequestHandler()
Description: Error while handling client request in extension: { Ext: Admin, Type: JAVA, Lev: ZONE, { Zone: --=={{{ AdminZone }}}==-- }, {} }
Extension Cmd: runtimeStats.getData
+--- --- ---+
Stack Trace:
+--- --- ---+
com.smartfoxserver.v2.extensions.SFSExtension.handleClientRequest(SFSExtension.java:181)
com.smartfoxserver.v2.controllers.ExtensionController.processRequest(ExtensionController.java:133)
com.smartfoxserver.bitswarm.controllers.AbstractController.run(AbstractController.java:96)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
User avatar
Lapo
Site Admin
Posts: 23026
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Patch 2.4.0 problems

Postby Lapo » 28 Nov 2012, 14:30

All you need to do is clearing your browser's cache :)
Lapo
--
gotoAndPlay()
...addicted to flash games
User avatar
Scarpelius
Posts: 24
Joined: 12 Mar 2011, 11:33

Re: Patch 2.4.0 problems

Postby Scarpelius » 28 Nov 2012, 14:58

Got damn it, so simple...
Can you tell me why is this happening so I dont die stupid :D?
User avatar
Lapo
Site Admin
Posts: 23026
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Patch 2.4.0 problems

Postby Lapo » 28 Nov 2012, 15:49

Yes, it is :)
Here's what's going on: the patch updates the AdminTool which is made up of many SWF modules.
Unfortunately the browser cache plays you a nice trick by stubbornly loading the old version which is no longer fully compatible with the updated server, which in turn complains about it.

Very annoying, there's no doubt. :roll:
Cheers
Lapo

--

gotoAndPlay()

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

Re: Patch 2.4.0 problems

Postby foxboy » 29 Nov 2012, 06:45

Scarpelius wrote:Got damn it, so simple...
Can you tell me why is this happening so I dont die stupid :D?


I found out that by using Chrome instead of Firefox clears the cache automatically when you hit the Refresh button.
Because after I install 2.4.0 or any other previous upgrades, I don't even clear my browser's cache.
But this is not the case if I use Firefox, you need to clear the cache manually.
"Dream it, I'll code it..."
Lead Developer
Optimal Solution Pte. Ltd.

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 95 guests