I turned on bluebox and now I get an error

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

Moderators: Lapo, Bax

Post Reply
jamieyg3
Posts: 84
Joined: 25 Sep 2008, 16:01

I turned on bluebox and now I get an error

Post by jamieyg3 »

I always had the webserver off, now i turned it on for bluebox.

When starting up my SFS I get this error msg:

Code: Select all

INFO   | jvm 1    | 2009/03/15 18:49:21 | --- [ Zones & Rooms ] -------------------------------------
INFO   | jvm 1    | 2009/03/15 18:49:21 |
INFO   | jvm 1    | 2009/03/15 18:49:21 |       DB Manager Activated ( org.gjt.mm.mysql.Driver )
INFO   | jvm 1    | 2009/03/15 18:49:23 | java.net.ConnectException: Connection refused
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at sun.nio.ch.Net.connect(Native Method)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at sun.nio.ch.SocketChannelImpl.connect(Unknown Source)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at sun.nio.ch.SocketAdaptor.connect(Unknown Source)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at sun.nio.ch.SocketAdaptor.connect(Unknown Source)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.xsocket.stream.io.impl.IoProvider.openSocket(IoProvider.java:346)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.xsocket.stream.io.impl.IoProvider.createClientIoHandler(IoProvider.java:209)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.xsocket.stream.Connection.<init>(Connection.java:160)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.xsocket.stream.NonBlockingConnection.<init>(NonBlockingConnection.java:394)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.xsocket.stream.NonBlockingConnection.<init>(NonBlockingConnection.java:209)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at it.gotoandplay.utils.net.xmlsocket.XMLSocket.connect(XMLSocket.java:54)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at it.gotoandplay.smartfoxserver.httpbox.util.SFSHandshake.<init>(SFSHandshake.java:29)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at it.gotoandplay.smartfoxserver.httpbox.filter.SessionIDFilter.doFilter(SessionIDFilter.java:113)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.mortbay.jetty.Server.handle(Server.java:285)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:835)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:641)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:368)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
INFO   | jvm 1    | 2009/03/15 18:49:23 | Invalid connection = null
INFO   | jvm 1    | 2009/03/15 18:49:23 | java.lang.NullPointerException
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at it.gotoandplay.utils.net.xmlsocket.XMLSocket.send(XMLSocket.java:93)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at it.gotoandplay.smartfoxserver.httpbox.util.SFSHandshake.<init>(SFSHandshake.java:30)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at it.gotoandplay.smartfoxserver.httpbox.filter.SessionIDFilter.doFilter(SessionIDFilter.java:113)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.mortbay.jetty.Server.handle(Server.java:285)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:835)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:641)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:368)
INFO   | jvm 1    | 2009/03/15 18:49:23 |       at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
everything seems to work ok though? can anyone help?
jamieyg3
Posts: 84
Joined: 25 Sep 2008, 16:01

Post by jamieyg3 »

also, after I made this changed... in the admin tool the active threads is now around 50, it used to be around 25ish.

is that ok?
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

It seems that the connection between the BlueBox and SFS is not happening.
Again I would need to see the BBox configuration.
Please also specify which sfs/bbox version are you using

thanks
Lapo
--
gotoAndPlay()
...addicted to flash games
jamieyg3
Posts: 84
Joined: 25 Sep 2008, 16:01

Post by jamieyg3 »

Lapo wrote:It seems that the connection between the BlueBox and SFS is not happening.
Again I would need to see the BBox configuration.
Please also specify which sfs/bbox version are you using

thanks
how do i determine the bluebox version?
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Check the server boot logs either in the console or log files.
As soon as the server starts it shows many system infos including the BlueBox version. If you don't see it the BlueBox is not active from the config.xml
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply