Hello,
I've just finished developping a game based on smartFox, my developpement was done on iMac with smartFox Server Pro 1.6.6 with the 1.6.8 patch.
I have only two zones and two exensions (Zone extension).
Everything works fine, but when I put all this on the server (Debian 5 64bits). Only one zone works fine, the other zone gives this error :
[ WARNING ] > it.gotoandplay.smartfoxserver.exceptions.MissingExtensionException: Unrecognized extension name: [ zone2Ext ]! Zone: zone1, Room: 14.
The mac os and Debian have the same swf, the same java code and the same configuration.
Please help
MissingExtensionException
Yea, that happens when none of us know the answer (Lapo is an exception)..
I would only suggest you double-checking things, starting with your config.xml file (make sure the config.xml matches to the one you got on Mac) - and the required (and updated) zone extensions are included.
I would only suggest you double-checking things, starting with your config.xml file (make sure the config.xml matches to the one you got on Mac) - and the required (and updated) zone extensions are included.
Smartfox's forum is my daily newspaper.
I checked all the .jar and all the config.
The problem happened only when I use "./sfs start" command.
And I guess the "./sfs start" command and the "./start.sh" one use the same config File, so If It works for "./start.sh" command It may mean that the config.xml file is OK?
To start from the "./sfs start" command I follow the documentation. I remove the jre folder, and I change the wrapper.conf file, In this config file, I changed the java entry to JRE 64bit installed in the Debian OS. And I replaced all the tree files as mentionned on this URL http://smartfoxserver.com/docs/index.ht ... lation.htm
The problem happened only when I use "./sfs start" command.
And I guess the "./sfs start" command and the "./start.sh" one use the same config File, so If It works for "./start.sh" command It may mean that the config.xml file is OK?
To start from the "./sfs start" command I follow the documentation. I remove the jre folder, and I change the wrapper.conf file, In this config file, I changed the java entry to JRE 64bit installed in the Debian OS. And I replaced all the tree files as mentionned on this URL http://smartfoxserver.com/docs/index.ht ... lation.htm
They are not the same.And I guess the "./sfs start" command and the "./start.sh" one use the same config File, so If It works for "./start.sh" command It may mean that the config.xml file is OK?
The proper way to start the server under Linux/Unix is to use the ./sfs script.
Also there is no good reason that they create problems such as the one you have described unless you have modified them, in which case we cannot predict what could be wrong.
The error that you have reported:
tells that there isn't an extension called zone2Ext in the Zone called zone1[ WARNING ] > it.gotoandplay.smartfoxserver.exceptions.MissingExtensionException: Unrecognized extension name: [ zone2Ext ]! Zone: zone1, Room: 14.
Check your logs and make sure that no errors is generated when the server starts. If an extension cannot be loaded it will spit out a warning.
Also double check your configuration file and make sure that names are matching (must be case sensitive)
Finally you can also check if an Extension exists for a certain Zone by connecting to the server via the Admin Tool and check via the Zone Browser If you are not familiar with it check the docs:
http://www.smartfoxserver.com/docs/docP ... anager.htm
I've just reinstalled the server. But I have exactly the same error.
When I start the server using the start.sh command, everything is fine, but when I started It using "./sfs start" command, the server take only the last extension activated !!!!
I checked the log file. The two extensions was been created withoud problem. But when the flash wanted to connect to the first one, the error descibed happened.
I run the AdminTool and I found that the two zones are activated with their extensions. when I reload the 1st extension, !! the 1st one worked but not the second one !!
Conclusion : Only the last extension activated is working, not the other one !! And this happens only when using the .sfs command !!!
When I start the server using the start.sh command, everything is fine, but when I started It using "./sfs start" command, the server take only the last extension activated !!!!
I checked the log file. The two extensions was been created withoud problem. But when the flash wanted to connect to the first one, the error descibed happened.
I run the AdminTool and I found that the two zones are activated with their extensions. when I reload the 1st extension, !! the 1st one worked but not the second one !!
Conclusion : Only the last extension activated is working, not the other one !! And this happens only when using the .sfs command !!!