I have the same problem. That is my post
http://smartfoxserver.com/forums/viewtopic.php?f=18&t=18962&p=82639#p82639
Server shutdown after start SFS2X 2.12
Re: Server shutdown after start SFS2X 2.12
I also have the same problem, 2.9 worked fine, did an update to 2.12, didn't work, did a fresh install to a new folder, still not working, same issue, starting the service, it stops right away. Nothing weird in the log as far as I can see.
OS: Windows Server 2012 R2 Standard
http://127.0.0.1:8080 gives me
This page can’t be displayed
OS: Windows Server 2012 R2 Standard
http://127.0.0.1:8080 gives me
This page can’t be displayed
Re: Server shutdown after start SFS2X 2.12
Hi,
we have tested a fresh install using Windows Server 2008 SP1, Server 2012, Server 2012R2 and have not found a single problem.
Given these reports I am inclined to think that there must be something else going on.
Did you install the 64 bit version of SFS2X?
Also, could you tell me what other services are running on your system?
thanks
we have tested a fresh install using Windows Server 2008 SP1, Server 2012, Server 2012R2 and have not found a single problem.
Given these reports I am inclined to think that there must be something else going on.
Did you install the 64 bit version of SFS2X?
Also, could you tell me what other services are running on your system?
thanks
Re: Server shutdown after start SFS2X 2.12
It's the 64 bits version, just like the previous 2.9 version, so for now I went back to 2.9 and it's working.
The services attached as an image
Thank you for your time
The services attached as an image
Thank you for your time
- Attachments
-
- Services.gif
- (42 KiB) Not downloaded yet
Re: Server shutdown after start SFS2X 2.12
Thanks.
The list is not going to help us very much because it doesn't show which server is running and which is not. In any case I was just asking in general to understand what other services were running, such as database server, or another HTTP server etc...
We already tested in a Windows Server 2012 environment running IIS and MSSQL and were not able to reproduce the problem, so I am currently baffled by this.
The list is not going to help us very much because it doesn't show which server is running and which is not. In any case I was just asking in general to understand what other services were running, such as database server, or another HTTP server etc...
We already tested in a Windows Server 2012 environment running IIS and MSSQL and were not able to reproduce the problem, so I am currently baffled by this.
Re: Server shutdown after start SFS2X 2.12
Yeah seems like a very weird issue and hard to track or understand. For now I'm back on 2.9 which works fine.
Is there a 2.10 or 2.11 version which could improve the server without breaking like 2.12 does?
In any case, I will try 2.12 again when I'm further in the dev cycle of this game so I can give you more info.
Thanks
Is there a 2.10 or 2.11 version which could improve the server without breaking like 2.12 does?
In any case, I will try 2.12 again when I'm further in the dev cycle of this game so I can give you more info.
Thanks
Re: Server shutdown after start SFS2X 2.12
You can apply patch 2.11.1:
http://smartfoxserver.com/download/sfs2x#p=updates
(see the yellow box at the bottom of the page)
cheers
http://smartfoxserver.com/download/sfs2x#p=updates
(see the yellow box at the bottom of the page)
cheers
Re: Server shutdown after start SFS2X 2.12
ok thanks I will try that, cheers
Re: Server shutdown after start SFS2X 2.12
Hi Lapo,
I'm having the same issue, on AWS EC2 Linux instance, Win7 and Mac.
After 2.12 the example project can run, but not my extension.
Clean install doesn't seem to be the fix.
I'm having the same issue, on AWS EC2 Linux instance, Win7 and Mac.
After 2.12 the example project can run, but not my extension.
Clean install doesn't seem to be the fix.
Code: Select all
09:16:53,998 INFO [main] managers.SFSRoomManager - Room created: { Zone: --=={{{ AdminZone }}}==-- }, [ Room: AdminRoom, Id: 0, Group: default, isGame: false ], type = SFSRoom
09:16:54,073 INFO [main] core.AdminToolService - AdminTool Service started
09:16:54,169 INFO [SFSWorker:Sys:1] v2.SmartFoxServer - Listening Sockets: { 0.0.0.0:9933, (Tcp) } { 172.31.55.6:9933, (Udp) }
09:16:54,170 INFO [SFSWorker:Sys:1] v2.SmartFoxServer -
_____ _____ _____ ___ __ __
| __| __| __| |_ | | |
|__ | __|__ | | _|- -|
|_____|__| |_____| |___|__|__|
_____ _____ _____ ____ __ __
| __ | __| _ | \| | |
| -| __| | | |_ _|
|__|__|_____|__|__|____/ |_|
[ 2.12.2 ]
09:16:54,172 INFO [SFSWorker:Sys:1] v2.SmartFoxServer - SmartFoxServer 2X (2.12.2) READY!
09:16:55,758 INFO [main] v3.SessionFilter - BlueBox-2X Service (3.1.0) READY.
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/SFS2X/lib/jetty/l ib/servlet-api-3.1.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/SFS2X/lib/jetty/l ib/jetty-schemas-3.1.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/SFS2X/lib/jetty/l ib/jetty-http-9.3.11.v20160721.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/SFS2X/lib/jetty/l ib/jetty-server-9.3.11.v20160721.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/SFS2X/lib/jetty/l ib/jetty-xml-9.3.11.v20160721.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/SFS2X/lib/jetty/l ib/jetty-util-9.3.11.v20160721.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/SFS2X/lib/jetty/l ib/jetty-io-9.3.11.v20160721.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/SFS2X/lib/jetty/l ib/jetty-jndi-9.3.11.v20160721.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/SFS2X/lib/jetty/l ib/jndi/javax.mail.glassfish-1.4.1.v201005082020.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/SFS2X/lib/jetty/l ib/jndi/javax.transaction-api-1.2.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/SFS2X/lib/jetty/l ib/jetty-security-9.3.11.v20160721.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/SFS2X/lib/jetty/l ib/jetty-servlet-9.3.11.v20160721.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/SFS2X/lib/jetty/l ib/jetty-webapp-9.3.11.v20160721.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/SFS2X/lib/jetty/l ib/jetty-deploy-9.3.11.v20160721.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/SFS2X/lib/jetty/l ib/jetty-plus-9.3.11.v20160721.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/SFS2X/lib/jetty/l ib/jetty-annotations-9.3.11.v20160721.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/jre/lib/resources .jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/jre/lib/rt.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/jre/lib/jsse.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/jre/lib/jce.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/jre/lib/charsets. jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/jre/lib/jfr.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/jre/lib/ext/sunpk cs11.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/jre/lib/ext/jfxrt .jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/jre/lib/ext/zipfs .jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/jre/lib/ext/sunjc e_provider.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/jre/lib/ext/dnsns .jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/jre/lib/ext/sunec .jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/jre/lib/ext/local edata.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/jre/lib/ext/nasho rn.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/jre/lib/ext/cldrd ata.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/jre/lib/ext/jacce ss.jar'
java.lang.reflect.InvocationTargetException
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.eclipse.jetty.start.Main.invokeMain(Main.java:214)
at org.eclipse.jetty.start.Main.start(Main.java:457)
at org.eclipse.jetty.start.Main.main(Main.java:75)
at com.smartfoxserver.v2.http.JettyServer.start(JettyServer.java:35)
at com.smartfoxserver.v2.SmartFoxServer.start(SmartFoxServer.java:321)
at com.smartfoxserver.v2.Main.main(Main.java:27)
Caused by: MultiException[java.net.BindException: Address already in use, java.net.BindExceptio n: Address already in use]
at org.eclipse.jetty.server.Server.doStart(Server.java:353)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1510)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1435)
... 10 more
Suppressed: java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:433)
at sun.nio.ch.Net.bind(Net.java:425)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:317)
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkCon nector.java:80)
at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:235)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.j ava:68)
at org.eclipse.jetty.server.Server.doStart(Server.java:390)
... 14 more
Caused by: java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:433)
at sun.nio.ch.Net.bind(Net.java:425)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:317)
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.j ava:80)
at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:235)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.server.Server.doStart(Server.java:390)
... 14 more
Usage: java -jar start.jar [options] [properties] [configs]
java -jar start.jar --help # for more information
09:16:59,310 INFO [Thread-0] managers.SFSZoneManager - BuddyList saveAll...
09:16:59,311 WARN [SFS2X ShutdownHook] core.SFSShutdownHook - SFS2X is shutting down. The process may take a few seconds...
09:16:59,321 INFO [Thread-1] managers.SFSBannedUserManager - BanUser data saved.
Re: Server shutdown after start SFS2X 2.12
Hi,
I don't understand... you're saying you can't run the server on any of those OS?
Can you please be more specific? What Linux (brand and version), What Mac OS X? etc...?
Also if you're having problems with all those OSes (sounds extremely weird) can you please post the complete SFS2X startup logs for each OS?
Thanks
I'm having the same issue, on AWS EC2 Linux instance, Win7 and Mac.
I don't understand... you're saying you can't run the server on any of those OS?
Can you please be more specific? What Linux (brand and version), What Mac OS X? etc...?
Also if you're having problems with all those OSes (sounds extremely weird) can you please post the complete SFS2X startup logs for each OS?
Thanks
Re: Server shutdown after start SFS2X 2.12
Hi Lapo,
Is there still a link that I download 2.9? My server is down
I tried on Amazon AWS EC2 Linux, Windows 7 64bit and Mac OS 10.12 Sierra, and the example extention came with 2.12 can run without any problem.
Here are the logs:
Amazon AWS EC2 Linux
Win7 64bit
Didn't have the Mac log right now but it's the same jetty exception.
Is there still a link that I download 2.9? My server is down
I tried on Amazon AWS EC2 Linux, Windows 7 64bit and Mac OS 10.12 Sierra, and the example extention came with 2.12 can run without any problem.
Here are the logs:
Amazon AWS EC2 Linux
Code: Select all
09:16:52,768 INFO [main] v2.SmartFoxServer - Boot sequence starts...
09:16:53,493 INFO [main] core.SFSEventManager - AnonymousService-1 initialized
09:16:53,532 INFO [main] impl.DefaultFileReplicator - Using "/tmp/vfs_cache" as temporary files store.
09:16:53,627 INFO [main] v2.SmartFoxServer - License loaded:
==========================================
LICENSE DETAILS
------------------------------------------
Type : Community Edition
Max users : 100
==========================================
09:16:53,628 INFO [main] managers.SFSBannedUserStorage - BanUserStorage initialized
09:16:53,646 INFO [main] managers.SFSBannedUserManager - BanUser data loaded: 0 records.
09:16:53,659 INFO [main] v2.SmartFoxServer - Protocol Type is: BINARY
09:16:53,661 INFO [main] config.DefaultConfigLoader - Loading: zones/BreezyBayHomelandZone .zone.xml
09:16:53,718 INFO [main] managers.SFSZoneManager -
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
>> Zone: HomelandZone
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
09:16:53,998 INFO [main] managers.SFSRoomManager - Room created: { Zone: --=={{{ AdminZone }}}==-- }, [ Room: AdminRoom, Id: 0, Group: default, isGame: false ], type = SFSRoom
09:16:54,073 INFO [main] core.AdminToolService - AdminTool Service started
09:16:54,169 INFO [SFSWorker:Sys:1] v2.SmartFoxServer - Listening Sockets: { 0.0.0.0:9933, (Tcp) } { 172.31.55.6:9933, (Udp) }
09:16:54,170 INFO [SFSWorker:Sys:1] v2.SmartFoxServer -
_____ _____ _____ ___ __ __
| __| __| __| |_ | | |
|__ | __|__ | | _|- -|
|_____|__| |_____| |___|__|__|
_____ _____ _____ ____ __ __
| __ | __| _ | \| | |
| -| __| | | |_ _|
|__|__|_____|__|__|____/ |_|
[ 2.12.2 ]
09:16:54,172 INFO [SFSWorker:Sys:1] v2.SmartFoxServer - SmartFoxServer 2X (2.12.2) READY!
09:16:55,758 INFO [main] v3.SessionFilter - BlueBox-2X Service (3.1.0) READY.
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/SFS2X/lib/jetty/l ib/servlet-api-3.1.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/SFS2X/lib/jetty/l ib/jetty-schemas-3.1.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/SFS2X/lib/jetty/l ib/jetty-http-9.3.11.v20160721.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/SFS2X/lib/jetty/l ib/jetty-server-9.3.11.v20160721.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/SFS2X/lib/jetty/l ib/jetty-xml-9.3.11.v20160721.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/SFS2X/lib/jetty/l ib/jetty-util-9.3.11.v20160721.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/SFS2X/lib/jetty/l ib/jetty-io-9.3.11.v20160721.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/SFS2X/lib/jetty/l ib/jetty-jndi-9.3.11.v20160721.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/SFS2X/lib/jetty/l ib/jndi/javax.mail.glassfish-1.4.1.v201005082020.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/SFS2X/lib/jetty/l ib/jndi/javax.transaction-api-1.2.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/SFS2X/lib/jetty/l ib/jetty-security-9.3.11.v20160721.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/SFS2X/lib/jetty/l ib/jetty-servlet-9.3.11.v20160721.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/SFS2X/lib/jetty/l ib/jetty-webapp-9.3.11.v20160721.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/SFS2X/lib/jetty/l ib/jetty-deploy-9.3.11.v20160721.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/SFS2X/lib/jetty/l ib/jetty-plus-9.3.11.v20160721.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/SFS2X/lib/jetty/l ib/jetty-annotations-9.3.11.v20160721.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/jre/lib/resources .jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/jre/lib/rt.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/jre/lib/jsse.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/jre/lib/jce.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/jre/lib/charsets. jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/jre/lib/jfr.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/jre/lib/ext/sunpk cs11.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/jre/lib/ext/jfxrt .jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/jre/lib/ext/zipfs .jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/jre/lib/ext/sunjc e_provider.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/jre/lib/ext/dnsns .jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/jre/lib/ext/sunec .jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/jre/lib/ext/local edata.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/jre/lib/ext/nasho rn.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/jre/lib/ext/cldrd ata.jar'
*sys-package-mgr*: processing new jar, '/home/ec2-user/SmartFoxServer_2X_2_12/jre/lib/ext/jacce ss.jar'
java.lang.reflect.InvocationTargetException
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.eclipse.jetty.start.Main.invokeMain(Main.java:214)
at org.eclipse.jetty.start.Main.start(Main.java:457)
at org.eclipse.jetty.start.Main.main(Main.java:75)
at com.smartfoxserver.v2.http.JettyServer.start(JettyServer.java:35)
at com.smartfoxserver.v2.SmartFoxServer.start(SmartFoxServer.java:321)
at com.smartfoxserver.v2.Main.main(Main.java:27)
Caused by: MultiException[java.net.BindException: Address already in use, java.net.BindExceptio n: Address already in use]
at org.eclipse.jetty.server.Server.doStart(Server.java:353)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1510)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1435)
... 10 more
Suppressed: java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:433)
at sun.nio.ch.Net.bind(Net.java:425)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:317)
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkCon nector.java:80)
at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:235)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.j ava:68)
at org.eclipse.jetty.server.Server.doStart(Server.java:390)
... 14 more
Caused by: java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:433)
at sun.nio.ch.Net.bind(Net.java:425)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:317)
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.j ava:80)
at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:235)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.server.Server.doStart(Server.java:390)
... 14 more
Usage: java -jar start.jar [options] [properties] [configs]
java -jar start.jar --help # for more information
09:16:59,310 INFO [Thread-0] managers.SFSZoneManager - BuddyList saveAll...
09:16:59,311 WARN [SFS2X ShutdownHook] core.SFSShutdownHook - SFS2X is shutting down. The process may take a few seconds...
09:16:59,321 INFO [Thread-1] managers.SFSBannedUserManager - BanUser data saved.
Win7 64bit
Code: Select all
17:05:49,379 INFO [main] v2.SmartFoxServer - Boot sequence starts...
17:05:49,669 INFO [main] core.SFSEventManager - AnonymousService-1 initiali
zed
17:05:49,684 INFO [main] impl.DefaultFileReplicator - Using "C:\Users\Zanea
rn\AppData\Local\Temp\vfs_cache" as temporary files store.
17:05:49,728 INFO [main] v2.SmartFoxServer - License loaded:
==========================================
LICENSE DETAILS
------------------------------------------
Type : Community Edition
Max users : 100
==========================================
17:05:49,729 INFO [main] managers.SFSBannedUserStorage - BanUserStorage ini
tialized
17:05:49,737 INFO [main] managers.SFSBannedUserManager - BanUser data loade
d: 0 records.
17:05:49,740 INFO [main] v2.SmartFoxServer - Protocol Type is: BINARY
17:05:49,743 INFO [main] config.DefaultConfigLoader - Loading: zones\Breezy
BayHomelandZone.zone.xml
17:05:49,760 INFO [main] managers.SFSZoneManager -
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
>> Zone: HomelandZone
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
17:05:49,881 INFO [main] managers.SFSRoomManager - Room created: { Zone: --
=={{{ AdminZone }}}==-- }, [ Room: AdminRoom, Id: 0, Group: default, isGame: fal
se ], type = SFSRoom
17:05:49,907 INFO [main] core.AdminToolService - AdminTool Service started
17:05:50,010 WARN [main] bootLogger - Was not able to bind socket: { 0.0.0.
0:9933, (Tcp) }
17:05:50,011 WARN [main] bootLogger - Was not able to bind socket: { 127.0.
0.1:9933, (Udp) }
17:05:50,015 ERROR [main] bootLogger - No bound sockets! Check the boot logs
for possible problems!
17:05:50,017 INFO [SFSWorker:Sys:1] v2.SmartFoxServer - Listening Sockets:
17:05:50,018 INFO [SFSWorker:Sys:1] v2.SmartFoxServer -
_____ _____ _____ ___ __ __
| __| __| __| |_ | | |
|__ | __|__ | | _|- -|
|_____|__| |_____| |___|__|__|
_____ _____ _____ ____ __ __
| __ | __| _ | \| | |
| -| __| | | |_ _|
|__|__|_____|__|__|____/ |_|
[ 2.12.0 ]
17:05:50,018 INFO [SFSWorker:Sys:1] v2.SmartFoxServer - SmartFoxServer 2X (
2.12.0) READY!
17:05:51,205 INFO [main] v3.SessionFilter - BlueBox-2X Service (3.1.0) READ
Y.
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.jetty.start.Main.invokeMain(Main.java:214)
at org.eclipse.jetty.start.Main.start(Main.java:457)
at org.eclipse.jetty.start.Main.main(Main.java:75)
at com.smartfoxserver.v2.http.JettyServer.start(JettyServer.java:35)
at com.smartfoxserver.v2.SmartFoxServer.start(SmartFoxServer.java:321)
at com.smartfoxserver.v2.Main.main(Main.java:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)
at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)
Caused by: MultiException[java.net.BindException: Address already in use: bind,
java.net.BindException: Address already in use: bind]
at org.eclipse.jetty.server.Server.doStart(Server.java:353)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
Cycle.java:68)
at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:15
10)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:143
5)
... 17 more
Suppressed: java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Unknown Source)
at sun.nio.ch.Net.bind(Unknown Source)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at org.eclipse.jetty.server.ServerConnector.open(ServerConnector
.java:317)
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(Abs
tractNetworkConnector.java:80)
at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnec
tor.java:235)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(Abst
ractLifeCycle.java:68)
at org.eclipse.jetty.server.Server.doStart(Server.java:390)
... 21 more
Caused by: java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Unknown Source)
at sun.nio.ch.Net.bind(Unknown Source)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:31
7)
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNet
workConnector.java:80)
at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java
:235)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
Cycle.java:68)
at org.eclipse.jetty.server.Server.doStart(Server.java:390)
... 21 more
Usage: java -jar start.jar [options] [properties] [configs]
java -jar start.jar --help # for more information
17:05:51,246 INFO [Thread-1] managers.SFSZoneManager - BuddyList saveAll...
17:05:51,246 WARN [SFS2X ShutdownHook] core.SFSShutdownHook - SFS2X is shut
ting down. The process may take a few seconds...
17:05:51,248 INFO [Thread-2] managers.SFSBannedUserManager - BanUser data s
aved.
Didn't have the Mac log right now but it's the same jetty exception.
Re: Server shutdown after start SFS2X 2.12
For me the solution is to reboot the machine after installation, and then restart sfs2x service.
For AWS EC2 instance, reboot the instance in management console
For AWS EC2 instance, reboot the instance in management console
Re: Server shutdown after start SFS2X 2.12
So, is it working?
Re: Server shutdown after start SFS2X 2.12
Found out the problem to this issue (since I ran into this also). It's port 8843 that Smartfox was trying to binding into. Event set isActive to false in webSocket block and/or set to another port inside server.xml. It's still binding into port 8843. So either Smartfox's dev. was hard coded the port and/or there are some other setting somewhere else beside server.xml that I was not aware off. In any case Smartfox should have a try-catch to log.error the port number for easier troubleshooting.
The only way to get this to work is turn off the other application that also using this port. (use TclView.exe or Resource Monitor to know the PID).
The only way to get this to work is turn off the other application that also using this port. (use TclView.exe or Resource Monitor to know the PID).
Re: Server shutdown after start SFS2X 2.12
Yes or you can do this:
viewtopic.php?f=18&t=18962&p=83623#p83623
viewtopic.php?f=18&t=18962&p=83623#p83623
Who is online
Users browsing this forum: No registered users and 143 guests