Page 1 of 1

how to disable bluebox

Posted: 23 May 2008, 01:12
by marsoups
I read on teh bluebox page that there is a way to disable the bluebox in the configs, but I cannot find any information on this in the documentation.

It would be helpful if I can shut this down as for some reason it is getting stuck on this for many minutes when I am starting the server ---
jvm 1 | |::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
jvm 1 | | |
jvm 1 | | ...::: SmartFoxServer :::... |
jvm 1 | | Multiplayer Socket Server |
jvm 1 | | version 1.6.2 |
jvm 1 | | --- |
jvm 1 | | (c) 2004 - 2007 gotoAndPlay() |
jvm 1 | | www.smartfoxserver.com |
jvm 1 | | www.gotoandplay.it |
jvm 1 | | |
jvm 1 | |::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
jvm 1 |
jvm 1 | 2008-05-23 11:49:27.069::INFO: Logging to STDERR via org.mortbay.log.StdErrLog
jvm 1 | 2008-05-23 11:49:27.216::WARN: Deprecated configuration used for ./webserver/webapps
jvm 1 | 2008-05-23 11:49:27.299::INFO: jetty-6.1.3
jvm 1 | 2008-05-23 11:49:27.349::INFO: Extract jar:file:/var/www/SmartFoxServer/SFS_PRO_1.6.2/Server/webserver/webapps/BlueBox.war!/ to /tmp/Jetty_0_0_0_0_8080_BlueBox.war__BlueBox__-udbwk9/webapp


And it sits there for quite some time...

Can somebody explain how to disable this and config, and a solution for it
sitting on this line when starting up the server would be appreciated also.

Posted: 26 May 2008, 01:08
by marsoups
please some help would be appreciated here , it's slowing down development time as it takes so long to restart the server for me to check the extension updates are working correctly..

Posted: 26 May 2008, 05:10
by BigFIsh
You could disable it with the admin tool.

Posted: 26 May 2008, 05:24
by marsoups
From where in the admin tool ? I'm looking at it now, there is no setting in the Bluebox monitor to turn it off that I can see.

Posted: 26 May 2008, 06:37
by Lapo
If you don't need the web-server turned on, simply turn it off from the config.xml
Otherwise you could rename the Server/webserver/webapps/BlueBox.war to something else (simply change the .war extension to anything else)

It would be helpful if I can shut this down as for some reason it is getting stuck on this for many minutes when I am starting the server ---

I confirm that I've seen the same behavior under certain Linux distributions. Never happened under Windows and Macosx. We are investigating.

Posted: 26 May 2008, 22:44
by marsoups
hey Lapo,

We've had a look in the config.xml file in the server directory and couldn't find configuration settings for the bluebox, also we looked in the documentation for Bluebox and could not find this.

Could you please let us know the path to the config.xml for the settings required on how to turn the BlueBox server off.

We did as you suggested and renamed the bluebox.war file to another extension name and when we restarted the server it hung on jetty.

If there's any other information I can supply you with to help resolve this, then please let me know.

Many thanks.

Posted: 27 May 2008, 06:08
by Lapo
We've had a look in the config.xml file in the server directory and couldn't find configuration settings for the bluebox, also we looked in the documentation for Bluebox and could not find this.


in your config xml, you should turn off the web server, if you don't use it.

Code: Select all

<WebServer active="false">
   <CfgFile>webserver/cfg/jetty.xml</CfgFile>
</WebServer>


We did as you suggested and renamed the bluebox.war file to another extension name and when we restarted the server it hung on jetty.

Try removing the file

Posted: 28 May 2008, 04:37
by marsoups
Thanks Lapo, turning the webserver setting to off stops this problem from happening, cheers for your help.

:)

How disable calls to BlueBox from flash side (client)

Posted: 13 Jan 2011, 19:47
by PeredereevBoris
We have exceptions into the client side (flash). When client try to connect to server and server is busy client try to connect to BlueBox but it's disabled, we want to turn off this behaviour. How can we do this?

Posted: 14 Jan 2011, 09:21
by Lapo
Set the smartConnect parameter (either via code or configuration) of the SmartFoxClient class to false.