SmartFoxServer 2X Release Candidate 3
No Main class for Zone Extensions
Hi, i'm currently evalutating game engines for our project, and currently trying to create a very simple project, but I am stuck at the Main class selection.
I'm on Win7.
I've installed the SFS2X in C:/work/SFS2X-RC1a, patched it following the directions, and regarding to the log it looks fine.
I've created a simple Extension like the one in the examples, named it TestExtension and put it in C:\work\SFS2X-RC1a\SFS2X\extensions\MyTest.
The extension shows up in the "Name" DropDownBox in the ZoneExtension tab on the Zone Configurator, but the "Main class" DropDownBox stays empty, whatever I do.
I've also downloaded the examples package, just copied the 3 files from the battleFarm extensions dir to my extensions dir. It also shows up, but doesn't show any main class, and i'm running out of ideas what to try.
Thanks in advance,
Andreas Neumann
I'm on Win7.
I've installed the SFS2X in C:/work/SFS2X-RC1a, patched it following the directions, and regarding to the log it looks fine.
I've created a simple Extension like the one in the examples, named it TestExtension and put it in C:\work\SFS2X-RC1a\SFS2X\extensions\MyTest.
The extension shows up in the "Name" DropDownBox in the ZoneExtension tab on the Zone Configurator, but the "Main class" DropDownBox stays empty, whatever I do.
I've also downloaded the examples package, just copied the 3 files from the battleFarm extensions dir to my extensions dir. It also shows up, but doesn't show any main class, and i'm running out of ideas what to try.
Thanks in advance,
Andreas Neumann
bax wrote:mmilen wrote:On my RC3 admin the extension is listed in the zone file but no classes.
Please send us your Extension JAR file by email. Thank you.
As the AdminTool documentation explains, you have to use a naming convention for the JAR file: it must forcefully end with the word Extension, for example SocialBridgeExtension.jar.
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
bax wrote:@AndreasN, no errors are reported in the server logs when you load the Zone configuration?
The "Main class" drop down should show all the classes contained in your Extension's JAR file.
Thanks for the reply.
I was busy the last days evaluating photon.
Regarding the issue that i had, no, i didn't see any errors, i may have overlooked them though. I helped myself by replacing the dropdown box with a textbox in the admin interface - I found the descriptor files while searching for an error. Later I found that I've also just could have changed the zone config file by hand.
Then I just put my FQ Extension class in there and it worked like a charm.
We're still not done evaluating, but so far SFS looks good, and as a Java Developer I naturally prefer SFS over Photon. I'll probably come up with more questions as we progress forward.
Thanks again,
Andreas Neumann
Hi,
I've just installed patch with RC3 succefully. But the minor issue still bothers me in admin tool - unable to bind to property 'icon' on class 'com.smartfoxserver.v2.admin.data::ModuleConfigData' (class is not an IEventDispatcher) - none of icons in the menu on the left is displayed. Any suggestions?
I've just installed patch with RC3 succefully. But the minor issue still bothers me in admin tool - unable to bind to property 'icon' on class 'com.smartfoxserver.v2.admin.data::ModuleConfigData' (class is not an IEventDispatcher) - none of icons in the menu on the left is displayed. Any suggestions?
-
- Posts: 34
- Joined: 16 Feb 2011, 06:01
- Location: Philippines
copet80 wrote:Hi Bax, thanks for pointing that out, but the problem still persists even after I replaced my SWC with the one in the link you mentioned in that post. Any ideas?
Hi,
Updated the API but we still get the same error.
Code: Select all
VerifyError: Error #1111: de.polygonal.ds::ListSet cannot implement de.polygonal.ds.Set.
Li Ramen
on sleepless roads the sleepless go
on sleepless roads the sleepless go
-
- Posts: 34
- Joined: 16 Feb 2011, 06:01
- Location: Philippines
bax wrote:li_ramen07, check the following message from copet80.
You must have a similar issue with conflicting libraries.
Checked our files and it seems we're not using this lib (ds_release_fp9.swc). Any other ideas?
This is what we've done so far:
1. applied RC3 patch [previous version was rc1b]
2. updated API - from viewtopic.php?t=11741
3. recompiled swf files
4. re-built jar extension files
5. restarted server
Have we missed anything?
Li Ramen
on sleepless roads the sleepless go
on sleepless roads the sleepless go
-
- Posts: 1297
- Joined: 14 Mar 2008, 07:52
- Location: Sweden
Re: SmartFoxServer 2X Release Candidate 3
The issue on CentOS with
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
comes from CentOS not liking the rt.jar.pack file. If you uncompress the rt.jar.pack file (or copy an already uncompressed rt.jar file into jre/lib) then it works!
No idea why - but just ran into this myself
(CentOS 6.3 minimal)
/Thomas
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
comes from CentOS not liking the rt.jar.pack file. If you uncompress the rt.jar.pack file (or copy an already uncompressed rt.jar file into jre/lib) then it works!
No idea why - but just ran into this myself
(CentOS 6.3 minimal)
/Thomas
Full Control - maker of Unity/C# and Java SFS API and indie games
Follow on twitter: http://twitter.com/thomas_h_lund
Follow on twitter: http://twitter.com/thomas_h_lund
Who is online
Users browsing this forum: No registered users and 49 guests