[NEW] SFS2X 2.14.0 is available!
[NEW] SFS2X 2.14.0 is available!
SmartFoxServer 2X 2.14.0 is available for download with new features, bug fixes and a focus on improved performance for all http-related services. Especially the BlueBox and Websocket where you can expect a performance boost in the range of 60-100%.
Additionally we’re launching the beta version of the new HTML5 AdminTool which will eventually replace the Flash based version.
Download SFS2X 2.14.0 from here.
Also make sure check these new articles talking about the recent changes and the new admin tool:
NOTE: this is a new full release. It can't be applied as a patch to previous versions of SFS2X.
Re: [NEW] SFS2X 2.14.0 is available!
Release Notes:
::::: Server Side :::::
[NEW] Jetty webserver replaced by Apache Tomcat 9.0.x.
[NEW] New revision of BlueBox and Websocket services.
[NEW] X-Forwarded-For directive support is now optional and turned off by default.
[NEW] New attribute 'storable' for RoomVariables, allows to selectively exclude variables to be saved by the Room Persistence API.
[NEW] Configurable limits for API's FindRoom and FindUser methods in Zone Configurator (default value = 50).
[NEW] Beta release of the new HTML5 AdminTool (see below).
[UPD] Updated geolocation database.
[FIX] Issue whereby an Admin user would not be able to login if the server was full.
[FIX] SFSApi.removeRoom() might log that a Room is removed when in fact it isn't.
[FIX] Potential concurrency case where proximityUpdate event would report duplicates of the same entity.
::::: AdminTool :::::
[NEW] Improved BlueBox monitor now reports both last message time and last polling time.
[NEW] New tab in Dashboard to launch Tomcat's own manager GUI.
[NEW] Under Server Configurator > Web Server, new panel to add/remove users that can access Tomcat's manager GUI.
::::: AdminTool HTML5 (beta) :::::
[NEW] Provides 8 complete modules --> Dashboard, Server Configurator, Zone Configurator, Zone Monitor, BlueBox Monitor, Extension Manager, Servlet Manager and License Manager.
[NEW] In Dashboard module, live update of charts can be paused to better explore the data points moving the mouse over the series.
::::: Server Side :::::
[NEW] Jetty webserver replaced by Apache Tomcat 9.0.x.
[NEW] New revision of BlueBox and Websocket services.
[NEW] X-Forwarded-For directive support is now optional and turned off by default.
[NEW] New attribute 'storable' for RoomVariables, allows to selectively exclude variables to be saved by the Room Persistence API.
[NEW] Configurable limits for API's FindRoom and FindUser methods in Zone Configurator (default value = 50).
[NEW] Beta release of the new HTML5 AdminTool (see below).
[UPD] Updated geolocation database.
[FIX] Issue whereby an Admin user would not be able to login if the server was full.
[FIX] SFSApi.removeRoom() might log that a Room is removed when in fact it isn't.
[FIX] Potential concurrency case where proximityUpdate event would report duplicates of the same entity.
::::: AdminTool :::::
[NEW] Improved BlueBox monitor now reports both last message time and last polling time.
[NEW] New tab in Dashboard to launch Tomcat's own manager GUI.
[NEW] Under Server Configurator > Web Server, new panel to add/remove users that can access Tomcat's manager GUI.
::::: AdminTool HTML5 (beta) :::::
[NEW] Provides 8 complete modules --> Dashboard, Server Configurator, Zone Configurator, Zone Monitor, BlueBox Monitor, Extension Manager, Servlet Manager and License Manager.
[NEW] In Dashboard module, live update of charts can be paused to better explore the data points moving the mouse over the series.
Installation issues
I tried installing 2.14 over my old 2.13 version on MacOS 10.14.6. That caused a bunch of errors. The server did seem to start though. But I had to install a clean version to get rid of the errors.
Code: Select all
10-Dec-2019 14:10:10.318 SEVERE [main] org.apache.catalina.startup.ContextConfig.processAnnotationsFile Unable to process file [/Applications/SmartFoxServer_2X/SFS2X/lib/Lib/reindex$py.class] for annotations
org.apache.tomcat.util.bcel.classfile.ClassFormatException: It is not a Java .class file
14:10:10,768 INFO [main] v3.SessionFilter - BlueBox-2X Service (3.3.1) READY.
10-Dec-2019 14:10:12.301 SEVERE [main] org.apache.catalina.startup.ContextConfig.processAnnotationsFile Unable to process file [/Applications/SmartFoxServer_2X/SFS2X/lib/Lib/reindex$py.class] for annotations
org.apache.tomcat.util.bcel.classfile.ClassFormatException: It is not a Java .class file
14:10:12,631 INFO [main] bluebox.BBSessionFilter - BlueBox Service (4.0.0) READY.
10-Dec-2019 14:10:15.135 SEVERE [main] org.apache.catalina.startup.ContextConfig.processAnnotationsFile Unable to process file [/Applications/SmartFoxServer_2X/SFS2X/lib/Lib/reindex$py.class] for annotations
org.apache.tomcat.util.bcel.classfile.ClassFormatException: It is not a Java .class file
10-Dec-2019 14:10:17.002 SEVERE [main] org.apache.catalina.startup.ContextConfig.processAnnotationsFile Unable to process file [/Applications/SmartFoxServer_2X/SFS2X/lib/Lib/reindex$py.class] for annotations
org.apache.tomcat.util.bcel.classfile.ClassFormatException: It is not a Java .class file
10-Dec-2019 14:10:17.205 WARNING [main] org.apache.catalina.startup.SetContextPropertiesRule.begin [SetContextPropertiesRule]{Context} Setting property 'antiJARLocking' to 'true' did not find a matching property.
10-Dec-2019 14:10:18.732 SEVERE [main] org.apache.catalina.startup.ContextConfig.processAnnotationsFile Unable to process file [/Applications/SmartFoxServer_2X/SFS2X/lib/Lib/reindex$py.class] for annotations
org.apache.tomcat.util.bcel.classfile.ClassFormatException: It is not a Java .class file
10-Dec-2019 14:10:20.061 SEVERE [main] org.apache.catalina.startup.ContextConfig.processAnnotationsFile Unable to process file [/Applications/SmartFoxServer_2X/SFS2X/lib/Lib/reindex$py.class] for annotations
org.apache.tomcat.util.bcel.classfile.ClassFormatException: It is not a Java .class file
10-Dec-2019 14:10:21.670 SEVERE [main] org.apache.catalina.startup.ContextConfig.processAnnotationsFile Unable to process file [/Applications/SmartFoxServer_2X/SFS2X/lib/Lib/reindex$py.class] for annotations
org.apache.tomcat.util.bcel.classfile.ClassFormatException: It is not a Java .class file
10-Dec-2019 14:10:23.319 SEVERE [main] org.apache.catalina.startup.ContextConfig.processAnnotationsFile Unable to process file [/Applications/SmartFoxServer_2X/SFS2X/lib/Lib/reindex$py.class] for annotations
org.apache.tomcat.util.bcel.classfile.ClassFormatException: It is not a Java .class file
-
- Posts: 38
- Joined: 07 Oct 2013, 19:33
Re: [NEW] SFS2X 2.14.0 is available!
Hi Lapo,
It seems BlueBox and Websocket do not work. There's no web.xml file in BlueBox.war. Could you please check?
Thanks.
It seems BlueBox and Websocket do not work. There's no web.xml file in BlueBox.war. Could you please check?
Thanks.
Re: Installation issues
Rob wrote:I tried installing 2.14 over my old 2.13 version on MacOS 10.14.6. That caused a bunch of errors. The server did seem to start though. But I had to install a clean version to get rid of the errors.
Rob, you should NOT install the new SFS2X over an existing one. This is not a patch update, as per the release notes.
Pleas just reinstall the server to a new folder.
Thanks
Re: [NEW] SFS2X 2.14.0 is available!
htbn_hoang wrote:Hi Lapo,
It seems BlueBox and Websocket do not work. There's no web.xml file in BlueBox.war. Could you please check?
Thanks.
The new release does not use on web.xml
Websocket is not active by default. You need to turn it on via AdminTool > Server Configurator > Web Server
Did you actually test the BlueBox with a client? If it didn't work can you provide the details of the issue?
Thanks
Re: Installation issues
Lapo wrote:you should NOT install the new SFS2X over an existing one. This is not a patch update, as per the release notes.
Pleas just reinstall the server to a new folder.
The installer defaulted to that option though, saying something about "do you want to preserve your old settings" or something. So I guess that should be changed to only install fresh copies.
Re: Installation issues
Rob wrote:Lapo wrote:you should NOT install the new SFS2X over an existing one. This is not a patch update, as per the release notes.
Pleas just reinstall the server to a new folder.
The installer defaulted to that option though, saying something about "do you want to preserve your old settings" or something. So I guess that should be changed to only install fresh copies.
Thanks, we'll fix the installer so that it doesn't search for a previous installation.
Re: [NEW] SFS2X 2.14.0 is available!
Hello
Which java version is supported?
Which java version is supported?
-
- Posts: 38
- Joined: 07 Oct 2013, 19:33
Re: [NEW] SFS2X 2.14.0 is available!
Lapo wrote:htbn_hoang wrote:Hi Lapo,
It seems BlueBox and Websocket do not work. There's no web.xml file in BlueBox.war. Could you please check?
Thanks.
The new release does not use on web.xml
Websocket is not active by default. You need to turn it on via AdminTool > Server Configurator > Web Server
Did you actually test the BlueBox with a client? If it didn't work can you provide the details of the issue?
Thanks
Hi Lapo,
I've already turned it on but I cannot load data from https://myserver:8843/websocket. Did I miss something here?
Thank you in advance.
- Attachments
-
- Screen Shot 2019-12-13 at 11.08.24 AM.png
- (136.83 KiB) Not downloaded yet
Re: [NEW] SFS2X 2.14.0 is available!
htbn_hoang wrote:I've already turned it on but I cannot load data from https://myserver:8843/websocket. Did I miss something here?
What does it mean that you cannot "load data"?
Is there a connection error? Can you pleas post the details of the client and/or server side errors?
Also you're using port 8443, which is HTTPS and requires a valid SSL certificate. Did you deploy one?
Thank you
-
- Posts: 38
- Joined: 07 Oct 2013, 19:33
Re: [NEW] SFS2X 2.14.0 is available!
Lapo wrote:htbn_hoang wrote:I've already turned it on but I cannot load data from https://myserver:8843/websocket. Did I miss something here?
What does it mean that you cannot "load data"?
Is there a connection error? Can you pleas post the details of the client and/or server side errors?
Also you're using port 8443, which is HTTPS and requires a valid SSL certificate. Did you deploy one?
Thank you
I received 404 error from this https://myserver:8843/websocket on client side, after upgrade SFS to version 2.14. I’m using port 8843 (not 8443) with a SSL connection.
-
- Posts: 6
- Joined: 13 Dec 2019, 10:31
Re: [NEW] SFS2X 2.14.0 is available!
We have faced same issue after update to 2.14.
$ curl -X GET -I https://server:8443/websocket
HTTP/1.1 404
Content-Type: text/html;charset=utf-8
Content-Language: en
Content-Length: 1083
Date: Fri, 13 Dec 2019 10:33:44 GMT
Looks like it is something with Tomcat configuration.
$ curl -X GET -I https://server:8443/websocket
HTTP/1.1 404
Content-Type: text/html;charset=utf-8
Content-Language: en
Content-Length: 1083
Date: Fri, 13 Dec 2019 10:33:44 GMT
Looks like it is something with Tomcat configuration.
Re: [NEW] SFS2X 2.14.0 is available!
getmanshchuk wrote:We have faced same issue after update to 2.14.
$ curl -X GET -I https://server:8443/websocket
HTTP/1.1 404
Content-Type: text/html;charset=utf-8
Content-Language: en
Content-Length: 1083
Date: Fri, 13 Dec 2019 10:33:44 GMT
1) Why are using curl for a websocket connection?
2) The url you're using is not correct. That's not the URL that the standard Websocket API use.
3) Have you actually tried connecting a real Websocket client, based on our API?
If the answer to #3 is Yes, then please post the details of the issues you're seeing and if there's any server side errors, tell us about those too. Thanks
Re: [NEW] SFS2X 2.14.0 is available!
htbn_hoang wrote:I received 404 error from this https://myserver:8843/websocket on client side, after upgrade SFS to version 2.14. I’m using port 8843 (not 8443) with a SSL connection.
I don't know why you're using that URL. That's incorrect.
Are you actually testing with a client built with our API? If so tell us all the details (API version, platform, error details etc..)
Thank you
Who is online
Users browsing this forum: No registered users and 141 guests