Search found 116 matches

by grhwood
02 Nov 2012, 16:44
Forum: SFS2X Questions
Topic: How to change admin port
Replies: 1
Views: 935

How to change admin port

Hi, I'm running SFS2x 2.2.0. The remote administation works fine with the default port 9933 but when i change it to a new value say 9935 for both admin port and SFS2x port, i cannot connect to it. In the server log, i can see client connection log but it is removed immediately: INFO [23:32:21,505] s...
by grhwood
02 Nov 2012, 08:08
Forum: SFS2X Questions
Topic: SFS2x 2.2.0 GhostHunter NPE
Replies: 5
Views: 2135

SFS2x 2.2.0 GhostHunter NPE

Hi, This happened occasionally. Here is the stacktrace; Scheduler callback exception. Callback: com.smartfoxserver.bitswarm.sessions.DefaultSessionManager$SessionCleaner@90d9c17, Exception: java.lang.NullPointerException com.smartfoxserver.v2.util.monitor.GhostUserHunter.buildReport(GhostUserHunter....
by grhwood
29 Sep 2012, 16:26
Forum: SFS2X Java / Android API
Topic: CONNECTION_LOST in Tris example for android
Replies: 7
Views: 4632

Re: CONNECTION_LOST in Tris example for android

Hi, I have a very related issue that i reported: http://www.smartfoxserver.com/forums/viewtopic.php?f=18&t=15062#p63476 After upgrading the client api version to 1.0.1 and it seems firing only idle CONNECTION_LOST event. But when i shutdown the server, client won't fire anything. Here is the log...
by grhwood
04 Sep 2012, 09:33
Forum: SFS2X Questions
Topic: Duplicate CONNECTION_LOST event
Replies: 3
Views: 1863

Re: Duplicate CONNECTION_LOST event

Can anyone confirm this CONNECT_LOST event being swallowed with Java API 1.0.1 ? It seems to be in the fixed but it still there.

Thanks.

PS: This should be move the Client discussion.
by grhwood
03 Sep 2012, 07:50
Forum: SFS2X Questions
Topic: Duplicate CONNECTION_LOST event
Replies: 3
Views: 1863

Re: Duplicate CONNECTION_LOST event

Hi, I've upgraded the client api version to 1.0.1 and it seems firing only idle CONNECTION_LOST event. But when i shutdown the server, client won't fire anything. Here is the log on the client side: 3053 [New I/O client worker #1-1] ERROR sfs2x.client.core.sockets.TCPSocketLayer - TCPSocketLayer: So...
by grhwood
01 Sep 2012, 17:46
Forum: SFS2X Questions
Topic: Duplicate CONNECTION_LOST event
Replies: 3
Views: 1863

Duplicate CONNECTION_LOST event

Hi,

While testing the idle disconnection on the client side (Java client), I receive 2 CONNECTION_LOST event:

CONNECTION_LOST: idle
CONNECTION_LOST: unknown

Is it the intended behavior ?
by grhwood
27 Aug 2012, 03:31
Forum: SFS2X Questions
Topic: transfer connection to different server
Replies: 5
Views: 2439

Re: transfer connection to different server

Can i do multiple connections with the Java client API ?
by grhwood
02 Aug 2012, 06:52
Forum: SFS2X Java / Android API
Topic: How to shutdown client thread
Replies: 9
Views: 6309

Re: How to shutdown client thread

These theads are Timer threads and Netty threads
by grhwood
02 Aug 2012, 06:04
Forum: SFS2X Java / Android API
Topic: How to shutdown client thread
Replies: 9
Views: 6309

How to shutdown client thread

Hi,

Could anyone tell me how can i shutdown Smartfox client ? It seems disconnect() doesn't release client threads.

Thank.
by grhwood
30 Jun 2012, 07:16
Forum: SFS2X Java / Android API
Topic: Custom Login errorCode
Replies: 3
Views: 4668

Custom Login errorCode

Hi,

I want to add some custom errorCodes return by server but the SFSErrorCodes class has a static errorsByCode array so the java client will throw ArrayIndexOutOfBoundsException.

Thanks
by grhwood
15 Jun 2012, 07:20
Forum: SFS2X Questions
Topic: log4j:ERROR Attempted to append to closed appender named [sf
Replies: 3
Views: 2360

Re: log4j:ERROR Attempted to append to closed appender named

I have resolved the issue by clearing the sfs log4j.properties file.
by grhwood
13 Jun 2012, 18:52
Forum: SFS2X Questions
Topic: log4j:ERROR Attempted to append to closed appender named [sf
Replies: 3
Views: 2360

log4j:ERROR Attempted to append to closed appender named [sf

Hi,

I use my custom log4j.xml that placed at root classpath (same folder with sfs2x-service file) for log4j. The issue is log4j always complains: log4j:ERROR Attempted to append to closed appender named [sfsFileAppender].

Thanks
by grhwood
08 Jun 2012, 11:31
Forum: SFS2X Questions
Topic: RHEL style init script - need pid file
Replies: 5
Views: 2756

Re: RHEL style init script - need pid file

I mean sfs server can be back online w/o any human intervention.
by grhwood
08 Jun 2012, 08:36
Forum: SFS2X Questions
Topic: RHEL style init script - need pid file
Replies: 5
Views: 2756

Re: RHEL style init script - need pid file

+1 for a official init scipt

An init script can help smarfox survive server restart.
by grhwood
05 Jun 2012, 07:11
Forum: SFS2X Questions
Topic: JMX
Replies: 1
Views: 810

JMX

When i try to connect jconsole with sfs, i see that sfs doesn't expose any MBean. Is there any configuration required to enable JMX ?

Thanks

Go to advanced search