Search found 69 matches

by jurekf
04 Aug 2011, 08:51
Forum: SFS2X Questions
Topic: dbManager returning expired connections
Replies: 3
Views: 1578

My bad, we're using this: _dbManager.executeUpdate("select 1"); which might be different from us calling getConnection(). We log a "PING" command right after, and we're using default timeouts now, so we only really see this if we leave a server running alone overnight. I'...
by jurekf
04 Aug 2011, 04:08
Forum: SFS2X Questions
Topic: dbManager returning expired connections
Replies: 3
Views: 1578

dbManager returning expired connections

Hi, We're still getting "Last packet sent was xxxxxxx milliseconds ago" exceptions in spite of the fact that we send periodic SELECT statements to keep the connection alive. It seems that when calling getConnection, the connections returned are from a pool, and there's no guarantee that th...
by jurekf
02 Aug 2011, 08:59
Forum: SFS2X Questions
Topic: [SOLVED]Disable Zone wide events, still not implemented?
Replies: 4
Views: 1935

In the first message in the link I gave you Lapo states that you can join any room even if the room is not in your room list. The room list doesn't affect any other functionality. I would turn off subscriptions entirely (perhaps by creating the rooms in a non-subscribed group) and just have the serv...
by jurekf
01 Aug 2011, 21:27
Forum: SFS2X Questions
Topic: [SOLVED]Disable Zone wide events, still not implemented?
Replies: 4
Views: 1935

ROOM_ADD is only sent to users who are listening to that room group.

Your users should unsubscribe from the room group if they no longer wish to receive the ROOM_ADD events.

viewtopic.php?t=8090
by jurekf
18 Jul 2011, 00:59
Forum: SFS2X Questions
Topic: sendObjectMessage questions
Replies: 2
Views: 1414

No, the code I posted shows sendObjectMessage originating from the server in an extension. It's not a waste of resources to send it to UserA because the message did not originate from him. I could of course just replace it with sendMessageExtension. I was just curious why the second form wasn't impl...
by jurekf
15 Jul 2011, 10:11
Forum: SFS2X Questions
Topic: setUserVariables deletes variables server-side only?
Replies: 4
Views: 1917

We're using the signature without parameters. Also, we're setting two variables in one setVariables call; the other variable is getting set. Oh, I should mention I've only seen it happen on NPC users and it's pretty consistent. We're also doing the variable change at the same time that we're doing a...
by jurekf
15 Jul 2011, 09:49
Forum: SFS2X Questions
Topic: setUserVariables deletes variables server-side only?
Replies: 4
Views: 1917

We're setting all user variables from the server.
by jurekf
15 Jul 2011, 07:19
Forum: SFS2X Questions
Topic: setUserVariables deletes variables server-side only?
Replies: 4
Views: 1917

setUserVariables deletes variables server-side only?

Hi, We have a couple of setUserVariables calls that are supposed to delete some UserVariables by setting them to null. Oddly, the variables are deleted on the server, but are still present on the client. Am I misunderstanding how setUserVariables is supposed to work or is this expected behaviour or ...
by jurekf
15 Jul 2011, 00:53
Forum: SFS2X Questions
Topic: sendObjectMessage questions
Replies: 2
Views: 1414

sendObjectMessage questions

Its behaviour a bit inconsistent; in a handler it seems to not send the object message back to the sender. If it's called in a separate thread however, the sender does seem to get the message as well. Also, is there some way to mimic having a null sender for the cases where the message originates fr...
by jurekf
15 Jul 2011, 00:26
Forum: SFS2X Questions
Topic: log4j rename error.
Replies: 2
Views: 2022

No idea. It's possible, but I rarely check logs when I'm running in console mode.
by jurekf
15 Jul 2011, 00:22
Forum: SFS2X Questions
Topic: Was not able to bind socket for my public IP
Replies: 12
Views: 7092

It's possible you're on a NAT and your public IP is not actually yours but shared among a subnet. In that case, your machine cannot be a publicly visible server without you talking to your ISP and have them redirect a port to you specifically.
by jurekf
15 Jul 2011, 00:15
Forum: SFS2X Questions
Topic: Hanging on getConnection()
Replies: 10
Views: 3576

Yup, that looks about right; we were missing one finally block.
Odd that getConnection hangs for so long instead of throwing an exception though.

Thanks a lot falcan!
by jurekf
12 Jul 2011, 04:38
Forum: SFS2X Questions
Topic: log4j rename error.
Replies: 2
Views: 2022

log4j rename error.

Hi,

Here's a new error we've just seen recently in our logs:

log4j:ERROR Failed to rename [logs/smartfox.log] to [logs/smartfox.log.2011-07-12-12].
by jurekf
12 Jul 2011, 04:35
Forum: SFS2X Questions
Topic: How to develop flex client to flex server application
Replies: 6
Views: 2105

Not possible with SFS2X, only with SFS 1.6 Pro
by jurekf
12 Jul 2011, 00:46
Forum: SFS2X Questions
Topic: Problem: Server won't launch
Replies: 14
Views: 5398

Perhaps SFS2X is starting twice. Check TaskManager or ps -A and see how many java processes are started.

Go to advanced search