Search found 9 matches

by bgarde
10 Jun 2011, 12:39
Forum: SFS2X Questions
Topic: Extensions not working
Replies: 6
Views: 9048

Hi Lapo,

I am running 2.0.0-RC2a. Increasing the permspace fixed the problem, we might have some code that increases the permspace and are looking into it.

It is very annoying that errors that are displayed on stdout are not displayed in the smartfox.log. You would expect this from a server ...
by bgarde
09 Jun 2011, 16:53
Forum: SFS2X Questions
Topic: Extensions not working
Replies: 6
Views: 9048

As I should have known I figured this one out myself and found the way to create a threaddump. Now I am logging the console I do see what is going on and that's that a lot warnings a displayed:

17:46:37,089 WARN [com.smartfoxserver.v2.controllers.ExtensionController-5] controllers ...
by bgarde
09 Jun 2011, 09:15
Forum: SFS2X Questions
Topic: Extensions not working
Replies: 6
Views: 9048

I have looked into this and am quite sure the problem is that the extensioncontroller threads are dead or doing something else/hanging. I do have 5 extension controller threads in the pool. Also the server needs a restart to response again so it is not the case that the threads are temporarily busy ...
by bgarde
09 Jun 2011, 09:12
Forum: SFS2X Questions
Topic: Disconnecting a lot of users gives exceptions
Replies: 5
Views: 9208

I have created a load test application that simulates multiple clients in one Adobe air application. When I run e.g. 10 clients in this application (10 connections with different users for smartfox server) and close the application so no disconnect is send through the smartfox api I get this error ...
by bgarde
05 Jun 2011, 13:47
Forum: SFS2X Questions
Topic: Disconnecting a lot of users gives exceptions
Replies: 5
Views: 9208

Disconnecting a lot of users gives exceptions

When disconnecting multiple clients simultaniously (same application) we get exceptions from smartfox:

com.smartfoxserver.v2.exceptions.SFSExtensionException: Extension Request refused. Sender is not a User: { Id: 5, Type: DEFAULT, Logged: Yes, IP: 212.64.125.31:55667 }
com.smartfoxserver.v2 ...
by bgarde
05 Jun 2011, 13:44
Forum: SFS2X Questions
Topic: Extensions not working
Replies: 6
Views: 9048

Extensions not working

We occasionally get some issues with sfs2x. The issue is that clients can connect, they can login to a zone but after that everything is quiet. It seems that all Extension requests are being dropped or ignored or.... What's interesting is that the admin tool is also not displaying any data (but I ...
by bgarde
05 Jun 2011, 13:05
Forum: SFS2X Questions
Topic: SQLException 'Already closed'
Replies: 8
Views: 13204

Update

Hi,

I had some other things going on so wasn't able to get back to this. Thanks for the suggestions!

I have adjusted the code to use a connection directly, hopefully that works around the bug (have to test tomorrow morning).

I was aware of the SQL injection in this query, there was a big FIXME ...
by bgarde
18 Apr 2011, 11:59
Forum: SFS2X Questions
Topic: SQLException 'Already closed'
Replies: 8
Views: 13204

SQLException 'Already closed'

Hi, every morning the first user that tries to login into the server fails. In the logs we see an 'Already closed' message. It seems that something goes wrong with the sql connection pool after a long period of inactivity. The code that connects to the server is:

String query = "SELECT * FROM ...
by bgarde
15 Feb 2011, 12:15
Forum: SFS2X Questions
Topic: SFS2X Infrastructure clustering, monitoring and optimizing
Replies: 3
Views: 7487

SFS2X Infrastructure clustering, monitoring and optimizing

We are currently setting up our SFS2X environment for a realtime multiplayer game we developed. I have a few questions about the new versions that I couldn't find answers for:

Clustering

We want to setup a cluster with (initially) 2 Smartfox servers. We looked into the Terracotta whitepaper and ...