Hello,
It is quite embarrassing, but I cannot make the examples run. I didn't have any problems with v1 examples but I do with v2.
Here's the error message:
Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: http://<my IP address>:8080/openspace/osExampleFlash.swf cannot load data from http://127.0.0.1:8080/BlueBox/HttpBox.do.
at it.gotoandplay.smartfoxserver.http::LoaderFactory()
at it.gotoandplay.smartfoxserver.http::HttpConnection()
at it.gotoandplay.smartfoxserver::SmartFoxClient()
at it.gotoandplay.smartfoxbits.bits::Connector$cinit()
at global$init()
What is a security sandbox violation and how do I solve it?
Also, I see that it looks for something on 127.0.0.1:8080. I remember that in v1 I had to edit sfsClient.xml to configure the server address. Should I do it in v2 too? I didn't see any mentions of it in the documentation. I tried to put the old sfsClient.xml into the config directory, but it didn't have any effect.
Thanks you.
Failing to run the example
Thanks,
It indeed solved the issue. Maybe you should update it in the example installation documentation. I'm afraid this isn't obvious. Thanks for help.
But although I manage to connect I still don't see the map. That is, I hit the connect button, it turns green and I get a list of maps to the left of the screen. From this point on nothing happens. Clicking the maps doesn't help either. Any ideas what should I do?
Thanks again
It indeed solved the issue. Maybe you should update it in the example installation documentation. I'm afraid this isn't obvious. Thanks for help.
But although I manage to connect I still don't see the map. That is, I hit the connect button, it turns green and I get a list of maps to the left of the screen. From this point on nothing happens. Clicking the maps doesn't help either. Any ideas what should I do?
Thanks again
Thanks Bax for the guidance, I've checked the error logs and found the following in the SFS logs:
Any ideas?
Thanks a lot
Code: Select all
12:25:51.398 - [ INFO ] > [OpenSpace] Map load request received from user falcon3 [0]
12:25:51.398 - [ INFO ] > [OpenSpace] Joining user falcon3 [0] to Room 'House1Inside' [1]
Exception in thread "ExtensionHandler-1" java.lang.NoSuchMethodError: it.gotoandplay.smartfoxserver.data.UserVariable.<init>(Ljava/lang/String;)V
at com.smartfoxserver.openspace.utils.Utility.setUserAvatarPosition(Utility.java:68)
at com.smartfoxserver.openspace.commands.LoadMapCommand.execute(LoadMapCommand.java:74)
at com.smartfoxserver.openspace.OpenSpaceExtension.handleRequest(OpenSpaceExtension.java:209)
at it.gotoandplay.smartfoxserver.controllers.ExtensionHandler.processEvent(ExtensionHandler.java:500)
at it.gotoandplay.smartfoxserver.controllers.ExtensionHandler.run(ExtensionHandler.java:344)
at java.lang.Thread.run(Unknown Source)
Thanks a lot