Sappho wrote:Here is the info for you bax and how we solved it:
OS: Solaris
due to a conflicts with existing installed JAVA following lines were removed from sfs2x.sh script:
if [ -d "$JRE_FOLDER" ]; then
JAVA_CMD="../jre/bin/java"
fi
Thank you for reporting.
You might still have an issue in case you use the JVM Settings tab in the AdminTool's Server Configurator. The tool, in fact, recreates the sfs2x.sh file each time you change those settings. The good news is that you can modify the template it uses. Edit the /config/templates/sfs2x.unix.txt file.
Hi guys thanks for the answers and support, I got my server up and running, now in testing. And also I successfully got the license server working.
Just heads up though, I tried restarting the server from AdminTool several time, and each time, whenever I stopped the server (after restarting from the AdminTool), it would still left java process which ended up preventing me to start the AdminTool again, complaining about Bind Error/Exception. So I have to kill the java process before I can start my server again. So currently I would not use the restart from AdminTool .
aaulia wrote:Hi guys thanks for the answers and support, I got my server up and running, now in testing. And also I successfully got the license server working.
Just heads up though, I tried restarting the server from AdminTool several time, and each time, whenever I stopped the server (after restarting from the AdminTool), it would still left java process which ended up preventing me to start the AdminTool again, complaining about Bind Error/Exception. So I have to kill the java process before I can start my server again. So currently I would not use the restart from AdminTool .
I'm on CentOS 64 bit, I know SFS is not very CentOS friendly (from what I read) but I have no choice.
BTW, just to clarify, I restart the server from the AdminTool, and then stopped it from the command line. Afterwards when I try to start the server again, it always give me BindSocket exception (IIRC), just after the Start AdminTool message.
rjgtav wrote:Hi. Yes it is happening with all my zones... It gives that error in every zone... Do you want me to send you their configuration files to check if it is due to one of the new parameters be missing?
Will do now the tests, will then edit this post according to the results
1# Test: tried to edit all of them, one by one. Results:
- All zones give the nullPointerException, including their rooms
2#Test: tried to add a new zone. Result:
- It gives the same nullPointerException when trying to add a new one
3# Test: removed all of the zones. Tried to add a new one. Result:
- It still gives the same nullPointerException error...
Any ideas? If you need more information just ask
rjgtav, can you please send your zones and extensions folder?
Is the error happening when opening the a zone in the zone configurator?
Just sent the files to support [at] smartfoxserver [dot] com. The error happens with every zone and, even after removing all of them, it happens when adding a new one.
Issue solved: rjgtav had an empty extension folder.
@aaulia
To be honest it's quite the contrary... CentOS has several times shown to be unstable for high end java apps With this said it's also worth mentioning the the vast majority of SFS installation running on CentOS work just fine.
As regards restarting/stopping:
you can't do what you have mentioned. If you restart from the AdminTool you will create a new process which is not detected by the command line tool. So you either control the server via command line or AdminTool, but you can't mix the two.
When I made some changes to my zones via the admin tool, then save the changes, then restart the server - all zones are missing and there are no errors in the logs.
i'm using windows 7 64bit Ver.
when applying the new rc3 patch and yes i did followed the directions, the jar file neigther the .bat seem to install it correctly it shows lots of warning and it says cannor write files.
Perhaps I'm being daft, but in the release notes it's mentioned that the Java client now has JavaDoc; however, I can't find them. I see the single jar within ClientAPI/Java/ and the ClientAPI/Java/dependancies (sic) folder, but no javadoc...
ok i reinstalled smartfox2x and now it's out of the programs and files folder so the update did fine and successfully now when using my admin tool i'm not able to load the zone configurator nor the server configurator, it just doesn't load.
it does let me monitor the zone and rooms, ban manager and runstime statistics.
nanodeath wrote:Perhaps I'm being daft, but in the release notes it's mentioned that the Java client now has JavaDoc; however, I can't find them. I see the single jar within ClientAPI/Java/ and the ClientAPI/Java/dependancies (sic) folder, but no javadoc...
Check the API documentation section of the online doc: you will find a link to the Java client API doc.