Openspace extension not initializing on SFS as service

Post here your questions about the OpenSpace 2.x or notify bugs and suggestions.

Moderators: Lapo, Bax

Post Reply
atarim
Posts: 26
Joined: 19 Apr 2010, 04:40

Openspace extension not initializing on SFS as service

Post by atarim »

Hello,

I recently made the upgrade to Openspace V2 but one feature that worked fine on V1, doessn't anymore on V2.

When I install SFS as a windows service, it seems like the Openspace server extension is never initialized at runtime and a trace like the following is shown:
"Requesting initialization data to OpenSpace Extension", but there is not an Initialization success trace.

When I start SFS regulary with the start command, I notice that the configuration file is loaded and everything works as expected but that is not the situation with a service.

Can you refer to that?
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Post by Bax »

You have to edit the sfsInstallFolder/Server/conf/wrapper.conf file.
At the bottom of the wrapper.java.classpath... list, add two new entries:

Code: Select all

wrapper.java.classpath.MM=openSpace/
wrapper.java.classpath.NN=openSpace/OpenSpaceExtension.jar
where MM and NN must be progressive numbers (for example if the last entry of the list is 40, MM must be 41 and NN must be 42).
Paolo Bax
The SmartFoxServer Team
atarim
Posts: 26
Joined: 19 Apr 2010, 04:40

Post by atarim »

Thanks bax!

Worked like a charm.

Please add that to the documentation of Openspace (unless it is already mentioned).
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Post by Bax »

Just done! (thank you for pointing out)
Paolo Bax
The SmartFoxServer Team
Post Reply