i have made my SFS PRO project on ubuntu and trying to execute it on windows plateform(64 bit) but this is giving me error
15:46:01.463 - [ WARNING ] > Problems loading extension called: PokerLobbyExtension, Error: java.lang.ClassNotFoundException: PokerLobbyExtension
i have put the jar in javaExtensions folder
and in wrapper.conf file
i have added by giving the path
wrapper.java.classpath.40=javaExtensions/poker.jar
and i gave all correct information in cofig.xml
i think the problem is in wrapper.conf
this is because i have entered entries of jar in wrapper.conf
but on running start.bat in smartfoxserver(windows platform) it is not reading jar entered by me....
i have entered two jar file classpath rummy.jar and rummyeng.jar in wrapper.conf
but when i start server start.bat it does not take start.bat
i have read the document http://www.smartfoxserver.com/docs/1x/
in which i have to entered entries in start.bat
i don't want to do that
what should i do....
running project on windows platform...Wrapper Conf entries
Re: running project on windows platform...Wrapper Conf entri
[MOVED]
This is the 2nd post of yours that goes in the the wrong forums. Questions about SFS PRO should be posted under the relevant sub-forums in the SmartFoxServer 1.x Pro/Basic section.
Thanks
This is the 2nd post of yours that goes in the the wrong forums. Questions about SFS PRO should be posted under the relevant sub-forums in the SmartFoxServer 1.x Pro/Basic section.
Thanks
Re: running project on windows platform...Wrapper Conf entri
15:46:01.463 - [ WARNING ] > Problems loading extension called: PokerLobbyExtension, Error: java.lang.ClassNotFoundException: PokerLobbyExtension
What is the package name of the class?
According to this error you are not using any packages. Is this correct?
It is not recommended to use the default package (i.e. no package). Even if this is not the cause of the issue I'd suggest to correct it, otherwise classes may eventually generate name collisions.
but when i start server start.bat it does not take start.bat
This is confusing, sorry. Please clarify what you mean, if there are errors tell us what they are.
Re: running project on windows platform...Wrapper Conf entri
15:46:01.463 - [ WARNING ] > Problems loading extension called:com.skilrock.communication. PokerLobbyExtension, Error: java.lang.ClassNotFoundException: com.skilrock.communication.PokerLobbyExtension
you know there are two methods of defining your jar path
first one is standalone means insert into start.bat
if you have one or two you can insert but i want to insert 20 jar files
i will add jars in lib and extension jar in javaExtensions folder
problem is
there is a jar file (PokerExtension.jar) javaExtension folder that contains com.skilrock.communication.PokerLobbyExtension class. I have given the path of PokerExtension.jar in wrapper.conf file but it is not taking on starting server then it gives above error
if i give any jar fie path in wrapper.config file it does not take. It only takes by default jar that is provided on installing SFS PRO
you know there are two methods of defining your jar path
first one is standalone means insert into start.bat
if you have one or two you can insert but i want to insert 20 jar files
i will add jars in lib and extension jar in javaExtensions folder
problem is
there is a jar file (PokerExtension.jar) javaExtension folder that contains com.skilrock.communication.PokerLobbyExtension class. I have given the path of PokerExtension.jar in wrapper.conf file but it is not taking on starting server then it gives above error
if i give any jar fie path in wrapper.config file it does not take. It only takes by default jar that is provided on installing SFS PRO
Re: running project on windows platform...Wrapper Conf entri
Yes there is evidently a classpath problem.
If the classpath was accurately set you wouldn't be seeing the error.
Now the problem is finding out what is not working. Since I can't physically put my hands on your computer and do this for you I have already suggested what you should look into. Even a small error or typo in your configuration will fail to point to your files and cause this issue, so you must make sure there are no errors.
The places I would double check are:
1- That the class is deployed correctly.
2- That the classpath is pointing to the proper file path, making sure that the relative path is correct.
3- That the fully qualified name of the class referenced in the config.xml matches the deployed class.
Other than that I can't come up with other ideas.
If the classpath was accurately set you wouldn't be seeing the error.
Now the problem is finding out what is not working. Since I can't physically put my hands on your computer and do this for you I have already suggested what you should look into. Even a small error or typo in your configuration will fail to point to your files and cause this issue, so you must make sure there are no errors.
The places I would double check are:
1- That the class is deployed correctly.
2- That the classpath is pointing to the proper file path, making sure that the relative path is correct.
3- That the fully qualified name of the class referenced in the config.xml matches the deployed class.
Other than that I can't come up with other ideas.
Return to “Server Side Extension Development”
Who is online
Users browsing this forum: No registered users and 26 guests