Page 2 of 3

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

Posted: 22 Jul 2014, 10:38
by Lapo
Problem accessing /admin/AdminTool.html

I think your browser is pointing to an old location in cache, or something like that.

The url to the AdminTool is simply http://<your-ip-address>:8080/admin

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

Posted: 23 Jul 2014, 05:15
by hoangdoanh
Hi Lapo

Sorry I still haven't got it.

By exception
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 understand that jetty server can not start, and jetty server is responsible for admin panel, so admin panel should not work with cache or no cache .

Am I right ?

Kind regards,
Doanh

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

Posted: 23 Jul 2014, 05:37
by hoangdoanh
Hi Lapo

I already resolved that issue.

The reason is jetty require *.mod depend on version of JRE. In jetty npn folder there are only the files from npn-1.7.0_4.mod to npn-1.7.0_45.mod

But my JRE is npn-1.7.0_51, and it causes error.

By check some 4 latests npn files I found that they are the same, so I decided to create copy of npn-1.7.0_45.mod and rename to npn-1.7.0_51.mod.

And it works. This solution is not perfect, but currently I see it is accepted !

I found this issue only in macos installer ( my development environment ), it is not big issue now.

Cheers,
Doanh

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

Posted: 23 Jul 2014, 08:08
by Lapo
It would be best to use ./sfs2x-service start
This way SFS runs with its own runtime.

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

Posted: 28 Jul 2014, 08:22
by hhd90
Today July 28th, 2014, I have just downloaded a new version SmartFoxServer but I can not install it on my server. Here is the error

Code: Select all

[root@B-GATE001 smartfox9]# ls
SFS2X_unix_2_9_0_64.tar.gz
[root@B-GATE001 smartfox9]# tar -xvzf SFS2X_unix_2_9_0_64.tar.gz
SmartFoxServer_2X/
SmartFoxServer_2X/.install4j/
SmartFoxServer_2X/.install4j/MessagesDefault
SmartFoxServer_2X/.install4j/firstrun
SmartFoxServer_2X/.install4j/i4j_extf_0_1uvewu1.utf8
SmartFoxServer_2X/.install4j/i4j_extf_1_1uvewu1_1nt6pqe.png
SmartFoxServer_2X/.install4j/i4j_extf_2_1uvewu1_x0i1l5.png
SmartFoxServer_2X/.install4j/i4j_extf_3_1uvewu1_8we6jo.png
SmartFoxServer_2X/.install4j/i4j_extf_4_1uvewu1_qdbe64.png
SmartFoxServer_2X/.install4j/i4j_extf_5_1uvewu1_66rivk.png
SmartFoxServer_2X/.install4j/i4j_extf_6_1uvewu1.txt
SmartFoxServer_2X/.install4j/i4jparams.conf
SmartFoxServer_2X/.install4j/i4jruntime.jar

gzip: stdin: invalid compressed data--format violated
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

My OS is

Code: Select all

CentOS release 6.4 (Final)

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

Posted: 28 Jul 2014, 09:27
by Lapo
It looks like your download failed, please download it again and retry.
Thanks

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

Posted: 08 Aug 2014, 09:08
by jeff
I got this log on my Log View when I try to restart smartfox, what issue is it?

java.lang.NullPointerException:
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Exception: java.lang.NullPointerException
Message: *** Null ***
Description: Error while handling client request in extension: { Ext: Admin, Type: JAVA, Lev: ZONE, { Zone: --=={{{ AdminZone }}}==-- }, {} }
Extension Cmd: dashboard.getData
+--- --- ---+
Stack Trace:
+--- --- ---+
com.smartfoxserver.v2.admin.handlers.DashboardModuleReqHandler.handleAdminRequest(DashboardModuleReqHandler.java:108)
com.smartfoxserver.v2.admin.handlers.BaseAdminModuleReqHandler.handleClientRequest(BaseAdminModuleReqHandler.java:58)
com.smartfoxserver.v2.extensions.SFSExtension.handleClientRequest(SFSExtension.java:208)
com.smartfoxserver.v2.controllers.v290.ExtensionReqController.processRequest(ExtensionReqController.java:174)
com.smartfoxserver.v2.controllers.v290.ExtensionReqController$1.run(ExtensionReqController.java:68)
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

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

Posted: 08 Aug 2014, 09:36
by Lapo
Make sure you clear your browser's cache and try again.
This is usually caused by the browser using the cached old version of the AdminTool.

Thanks

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

Posted: 12 Aug 2014, 02:34
by jeff
Lapo wrote:Make sure you clear your browser's cache and try again.
This is usually caused by the browser using the cached old version of the AdminTool.

Thanks


I have clear browser's cache but the exception are still showing on the log view, everytime I restart or login to the AdminTool

java.lang.NullPointerException:
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Exception: java.lang.NullPointerException
Message: *** Null ***
Description: Error while handling client request in extension: { Ext: Admin, Type: JAVA, Lev: ZONE, { Zone: --=={{{ AdminZone }}}==-- }, {} }
Extension Cmd: dashboard.getData
+--- --- ---+
Stack Trace:
+--- --- ---+
com.smartfoxserver.v2.entities.managers.SFSStatsManager.getTotalOutBytes(SFSStatsManager.java:114)
com.smartfoxserver.v2.admin.handlers.DashboardModuleReqHandler.handleAdminRequest(DashboardModuleReqHandler.java:114)
com.smartfoxserver.v2.admin.handlers.BaseAdminModuleReqHandler.handleClientRequest(BaseAdminModuleReqHandler.java:58)
com.smartfoxserver.v2.extensions.SFSExtension.handleClientRequest(SFSExtension.java:208)
com.smartfoxserver.v2.controllers.v290.ExtensionReqController.processRequest(ExtensionReqController.java:174)
com.smartfoxserver.v2.controllers.v290.ExtensionReqController$1.run(ExtensionReqController.java:68)
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

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

Posted: 12 Aug 2014, 08:28
by Lapo
What browser and OS is this?
Can you try with an other browser, or maybe from another computer to see if you get the same effect.

We have installed at least 15 copies of SFS2X 2.9 and never had this error, which is client generated. So I highly suspect that it's a client-related problem.

Thanks

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

Posted: 12 Aug 2014, 09:00
by jeff
Lapo wrote:What browser and OS is this?
Can you try with an other browser, or maybe from another computer to see if you get the same effect.

We have installed at least 15 copies of SFS2X 2.9 and never had this error, which is client generated. So I highly suspect that it's a client-related problem.

Thanks


I am using imac and test on safari, chrome and firefox

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

Posted: 13 Aug 2014, 13:28
by Lapo
Which Mac OS X version?
We run M.Lion and Mavericks on most of our machines.

Thanks

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

Posted: 02 Sep 2014, 03:52
by jeff
I am using Mavericks, I have tried to access another machine which install as Windows still show same error every time I login to admin tool.

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

Posted: 02 Sep 2014, 09:49
by Lapo
Unfortunately we have no way to reproduce this problem. It sounds like your installation might be corrupted.

I would suggest to download the installer again and start from a fresh new installation. The new one is expected to work without problems.
Before testing the AdminTool make sure to clean the cache once again, and make sure that when it loads the version number is 1.5.0. You can see the version number if you click on the small icon in the lower right hand corner.

Thanks

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

Posted: 24 Nov 2014, 12:30
by jeff
I have clear my cache and the version is 1.5.0, and I have update to patch 2.9.2, but the error still exist, any idea?