Search found 20 matches

by aakture
30 Dec 2016, 17:40
Forum: SFS2X Questions
Topic: Change room name fails - server api
Replies: 8
Views: 1995

Re: Change room name fails - server api

Doesn't have too, but would be nice, because I sometimes see issues in our log files where I output the room name. And I have built numerous web api's for room admin functions that require room id as an argument. I would like to easily grab the room id from the name without having to look it up usin...
by aakture
29 Dec 2016, 19:22
Forum: SFS2X Questions
Topic: Change room name fails - server api
Replies: 8
Views: 1995

Re: Change room name fails - server api

One last thing... yes, I was using an incremental ID starting at 0, which coincidentally seems to be the same as the assigned room id, which would probably work fine, but I guess there is no guarantee it would always match the SFS assigned room id. Also, I'm creating these server side, so I guess ba...
by aakture
29 Dec 2016, 02:10
Forum: SFS2X Questions
Topic: Change room name fails - server api
Replies: 8
Views: 1995

Re: Change room name fails - server api

well... I wanted to have the roomId in the room name itself. I don't see a way to create a room and supply a room id (so I could create it with the known id value). So I create the room, then immediately get the room id, and change the room name adding the room id as part of it's name. For example, ...
by aakture
27 Dec 2016, 18:38
Forum: SFS2X Questions
Topic: Change room name fails - server api
Replies: 8
Views: 1995

Re: Change room name fails - server api

Thanks, that helps, I suspect it will solve it. I wanted to rename the room because it's useful for me to have the room id in the room name itself for admin functions using a web api I built that requires roomId (kick user from room, shutdown room, etc). This way I can see what the roomId is as it w...
by aakture
22 Dec 2016, 21:11
Forum: SFS2X Questions
Topic: Change room name fails - server api
Replies: 8
Views: 1995

Change room name fails - server api

I'm trying to change a room name right after the room is created, and it fails. I'm using 2.12.1 server api, this is all triggered when the extension is initialized. I've tried two of the createRoom methods (there is no User in my case, so I am passing null). Seems like it's trying to notify name ch...
by aakture
28 Oct 2015, 03:28
Forum: SFS2X Questions
Topic: GUIDE: Using Java 8 with SFS2X
Replies: 19
Views: 13127

Re: GUIDE: Using Java 8 with SFS2X

You said "then launch SFS2X via start.sh", I think you meant "then launch SFS2X via sfs2x.sh", correct?
by aakture
08 Jul 2013, 20:50
Forum: SFS2X Java / Android API
Topic: possible leaked file descriptors
Replies: 4
Views: 3512

Re: possible leaked file descriptors

Looks like it maybe was fixed, if this is the same issue: https://github.com/netty/netty/issues/1301
by aakture
03 Jul 2013, 18:29
Forum: SFS2X Java / Android API
Topic: possible leaked file descriptors
Replies: 4
Views: 3512

Re: possible leaked file descriptors

It looks like this is fixed in netty 3.6.6.Final. I tried swapping in 3.5.8, and it was still leaking. But with 3.6.6.Final, I don't see the leak.
by aakture
03 Jul 2013, 00:10
Forum: SFS2X Java / Android API
Topic: possible leaked file descriptors
Replies: 4
Views: 3512

possible leaked file descriptors

Hi, for our test harness, we maintain 1000+ SFS 2X clients in a jvm. We have the clients connect and disconnect periodically. I think due to the way netty manages channels, we will see many open file descriptors (50k+ for 1000 SFS 2X clients), and after open/close cycle, there are a continually incr...
by aakture
13 Feb 2013, 23:18
Forum: SFS2X Questions
Topic: Web app log config in Jetty and SFS 2.x
Replies: 11
Views: 3230

Re: Web app log config in Jetty and SFS 2.x

@Lapo, no problem, and many thanks for checking. @moose, thanks for your post. Similarly, for me, after playing around with the classpath entries, a NoSuchMethodException with some logback call led me to a solution. It appears that logback being in my classpath was causing Jetty to only output to st...
by aakture
12 Feb 2013, 06:28
Forum: SFS2X Questions
Topic: Web app log config in Jetty and SFS 2.x
Replies: 11
Views: 3230

Re: Web app log config in Jetty and SFS 2.x

This could be a class loader conflict. I may have a solution, will post an update after a few more tests.
by aakture
11 Feb 2013, 21:45
Forum: SFS2X Questions
Topic: Web app log config in Jetty and SFS 2.x
Replies: 11
Views: 3230

Re: Web app log config in Jetty and SFS 2.x

Hi Lapo not sure if you have time to try this, but I have a webapp with Jersey rest service that just spits out some log messages to a log file. If I deploy this webapp to a standalone Jetty (same version as SFS uses, jetty-6.1.26) or Tomcat instance, I'll see log messages output to the log file I h...
by aakture
05 Feb 2013, 20:11
Forum: SFS2X Questions
Topic: Web app log config in Jetty and SFS 2.x
Replies: 11
Views: 3230

Re: Web app log config in Jetty and SFS 2.x

I also had that configured to DEBUG in config/log4j.properties. I believe the web app logging maybe is configured in a log4j.xml or log4j.properties in the web app's WEB-INF/classes directory though. But I've tried both ways, and don't get log messages. I'll keep trying, but if you know of anything ...
by aakture
05 Feb 2013, 04:36
Forum: SFS2X Questions
Topic: Web app log config in Jetty and SFS 2.x
Replies: 11
Views: 3230

Web app log config in Jetty and SFS 2.x

Hi, have web apps deployed in the extensions/__lib__ directory. In our web app and extension classes, we use slf4j loggers. They all work fine in our extension classes, and can be enabled via config/log4j.properties, and get written to our log file. But, the log message inside any of the web app cla...
by aakture
09 Nov 2012, 20:24
Forum: SFS2X Questions
Topic: Classloading in web app
Replies: 12
Views: 2576

Re: Classloading in web app

This seems to have solved it, thanks very much.

Go to advanced search