Need SFS2X 2.16 setup

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

Moderators: Lapo, Bax

sitnik
Posts: 19
Joined: 24 Jan 2018, 08:49

Need SFS2X 2.16 setup

Postby sitnik » 25 Mar 2021, 11:11

Hi

I want to move from SFS2X 2.13.5 to 2.16 version, but currently it's showing 2.17 available on site.
Where can I download the 2.16 version.

Our organization's other products run on 2.16 version only so I cannot upgrade to 2.17.

Please guide.
I need setup for both windows and Linux machine

Also please confirm if the client side API 2.13 will also get changed for 2.16?
User avatar
Lapo
Site Admin
Posts: 23009
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Need SFS2X 2.16 setup

Postby Lapo » 25 Mar 2021, 11:21

Hi,
if you have a SFS2X commercial license, get in touch with us via our support@... email.
Add a link to this discussion and we'll send the links.

Also please confirm if the client side API 2.13 will also get changed for 2.16?

Client API are independent from server releases, so it all depends on what client platform and version you're using.
In any case all most recent API are 100% compatible with SFS2X 2.13 and higher.

Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games
sitnik
Posts: 19
Joined: 24 Jan 2018, 08:49

Re: Need SFS2X 2.16 setup

Postby sitnik » 01 Apr 2021, 21:00

Okay, just confirm me one thing.
Currently my setup it at 2.13, will I just have to apply patches for 2.14 to 2.15 to 2.16
Or
I have to setup fresh again from scratch with new 2.16 install?
User avatar
Lapo
Site Admin
Posts: 23009
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Need SFS2X 2.16 setup

Postby Lapo » 02 Apr 2021, 07:33

I recommend installing 2.17.0 instead, which is the latest version.
https://www.smartfoxserver.com/download#p=installer

Cheers
Lapo

--

gotoAndPlay()

...addicted to flash games
sitnik
Posts: 19
Joined: 24 Jan 2018, 08:49

Re: Need SFS2X 2.16 setup

Postby sitnik » 02 Apr 2021, 15:47

i have started installing 2.17 on my staging machine
however on startup i am facing this exception, however rest all is happening without any issue- game rooms creation etc.
Can you let me know what could be the cause of this?

Apr 02, 2021 9:10:53 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib]
Apr 02, 2021 9:10:53 PM org.apache.catalina.startup.Catalina load
SEVERE: Error initializing Catalina
org.apache.catalina.LifecycleException: Failed to initialize component [StandardServer[8005]]
at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:139)
at org.apache.catalina.startup.Catalina.load(Catalina.java:584)
at org.apache.catalina.startup.Catalina.load(Catalina.java:607)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:304)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:474)
at com.smartfoxserver.v2.http.TomcatServer.start(TomcatServer.java:43)
at com.smartfoxserver.v2.SmartFoxServer$1.run(SmartFoxServer.java:343)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.w3c.dom.ls.LSException: java.lang.NullPointerException
at org.apache.xml.serialize.DOMSerializerImpl.writeToString(Unknown Source)
at org.apache.catalina.core.JreMemoryLeakPreventionListener.lifecycleEvent(JreMemoryLeakPreventionListener.java:366)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:135)
... 11 more


sitnik
Posts: 19
Joined: 24 Jan 2018, 08:49

Re: Need SFS2X 2.16 setup

Postby sitnik » 02 Apr 2021, 16:19

getting one more exception

org.apache.jasper.servlet.TldScanner scanJars
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Apr 02, 2021 9:49:33 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory [/website/SmartFoxServer_2X/SFS2X/www/host-manager] has finished in [1,224] ms
Apr 02, 2021 9:49:33 PM org.apache.catalina.startup.Catalina start
SEVERE: The required Server component failed to start so Tomcat is unable to start.
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]]
at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:421)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:932)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.startup.Catalina.start(Catalina.java:633)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:344)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:475)
at com.smartfoxserver.v2.http.TomcatServer.start(TomcatServer.java:43)
at com.smartfoxserver.v2.SmartFoxServer$1.run(SmartFoxServer.java:343)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:941)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
... 14 more


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

Re: Need SFS2X 2.16 setup

Postby Lapo » 02 Apr 2021, 16:27

I suspect this is caused by changes to the configuration, otherwise the server is expected to run without errors on any Linux machine.
If you have modified the configuration I would highly recommend the following steps:

- install another copy of SFS2X 2.17 in a different folder
- stop any other SFS2X instance that might be running
- start the newly installed 2.17

Up to this point you should have no problems running the server without errors.
If you confirm that this is the case, then I would recommend testing any changes to the HTTP server config one by one, so that you can pinpoint which one is causing this problem, exactly.

Thanks
Lapo

--

gotoAndPlay()

...addicted to flash games
sitnik
Posts: 19
Joined: 24 Jan 2018, 08:49

Re: Need SFS2X 2.16 setup

Postby sitnik » 02 Apr 2021, 17:27

I followed the same approach, it worked fine with default example zone files.
Now i will make changes one by one and will see whats causing the problem.

Thanks for guiding!

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 43 guests