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'm going to change it ...
Search found 69 matches
- 04 Aug 2011, 08:51
- Forum: SFS2X Questions
- Topic: dbManager returning expired connections
- Replies: 3
- Views: 7788
- 04 Aug 2011, 04:08
- Forum: SFS2X Questions
- Topic: dbManager returning expired connections
- Replies: 3
- Views: 7788
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 the ...
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 the ...
- 02 Aug 2011, 08:59
- Forum: SFS2X Questions
- Topic: [SOLVED]Disable Zone wide events, still not implemented?
- Replies: 4
- Views: 9011
- 01 Aug 2011, 21:27
- Forum: SFS2X Questions
- Topic: [SOLVED]Disable Zone wide events, still not implemented?
- Replies: 4
- Views: 9011
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.
http://forums.smartfoxserver.com/viewtopic.php?t=8090
Your users should unsubscribe from the room group if they no longer wish to receive the ROOM_ADD events.
http://forums.smartfoxserver.com/viewtopic.php?t=8090
- 18 Jul 2011, 00:59
- Forum: SFS2X Questions
- Topic: sendObjectMessage questions
- Replies: 2
- Views: 6244
- 15 Jul 2011, 10:11
- Forum: SFS2X Questions
- Topic: setUserVariables deletes variables server-side only?
- Replies: 4
- Views: 8168
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 ...
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 ...
- 15 Jul 2011, 09:49
- Forum: SFS2X Questions
- Topic: setUserVariables deletes variables server-side only?
- Replies: 4
- Views: 8168
- 15 Jul 2011, 07:19
- Forum: SFS2X Questions
- Topic: setUserVariables deletes variables server-side only?
- Replies: 4
- Views: 8168
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 ...
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 ...
- 15 Jul 2011, 00:53
- Forum: SFS2X Questions
- Topic: sendObjectMessage questions
- Replies: 2
- Views: 6244
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 ...
Also, is there some way to mimic having a null sender for the cases where the message originates ...
- 15 Jul 2011, 00:26
- Forum: SFS2X Questions
- Topic: log4j rename error.
- Replies: 2
- Views: 7493
- 15 Jul 2011, 00:22
- Forum: SFS2X Questions
- Topic: Was not able to bind socket for my public IP
- Replies: 12
- Views: 21834
- 15 Jul 2011, 00:15
- Forum: SFS2X Questions
- Topic: Hanging on getConnection()
- Replies: 10
- Views: 22168
- 12 Jul 2011, 04:38
- Forum: SFS2X Questions
- Topic: log4j rename error.
- Replies: 2
- Views: 7493
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].
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].
- 12 Jul 2011, 04:35
- Forum: SFS2X Questions
- Topic: How to develop flex client to flex server application
- Replies: 6
- Views: 9854
- 12 Jul 2011, 00:46
- Forum: SFS2X Questions
- Topic: Problem: Server won't launch
- Replies: 14
- Views: 21157