how to disable bluebox

Submit all your BlueBox related questions or report a bug here!

Moderators: Lapo, Bax

Post Reply
User avatar
marsoups
Posts: 167
Joined: 14 Apr 2008, 03:30

how to disable bluebox

Post 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.
User avatar
marsoups
Posts: 167
Joined: 14 Apr 2008, 03:30

Post 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..
BigFIsh
Posts: 1698
Joined: 25 Feb 2008, 19:26
Location: New Zealand

Post by BigFIsh »

You could disable it with the admin tool.
User avatar
marsoups
Posts: 167
Joined: 14 Apr 2008, 03:30

Post 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.
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post 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.
Lapo
--
gotoAndPlay()
...addicted to flash games
User avatar
marsoups
Posts: 167
Joined: 14 Apr 2008, 03:30

Post 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.
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post 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
Lapo
--
gotoAndPlay()
...addicted to flash games
User avatar
marsoups
Posts: 167
Joined: 14 Apr 2008, 03:30

Post by marsoups »

Thanks Lapo, turning the webserver setting to off stops this problem from happening, cheers for your help.

:)
PeredereevBoris
Posts: 16
Joined: 09 Aug 2010, 13:49

How disable calls to BlueBox from flash side (client)

Post 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?
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Set the smartConnect parameter (either via code or configuration) of the SmartFoxClient class to false.
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply