Smack needs those files on initialization in order to be usable.
Re: Could not determine Smack version - on Unity/Android
Re: Packet Filter Question Active Directory Groups
speedy,
I've looked at the packet filter plugin readme and the directions are not detailed and do not cover all possibilities included in the drop down selections within a filter rule. It seems the settings I have to prevent (drop) all im traffic within group Staff should stop all traffic. Would you suggest I add separate rules to drop each type of traffic (seems redundant). Is there some other, more detailed documentation in regards to the filter rules options?
I do not want the Staff (group) users to even see other Staff users; let alone chat... so no to the 'Presence' filter for them. I only want Staff group users to see and chat to the Management (group) users. Again, since 'all' im traffic is opened both ways between both groups, I would expect Staff to be able to see Mgmt - but they don't.
??
Re: Openfire configuration for 50000 concurrent users
A server with 12GB or 16GB RAM. Any decent Intel Xeon server from even 3-4 years ago should be fine. The problem is if the server goes down and all users start to reconnect at the same exact time. Your server will not be able to handle that many users trying to connect at the same time. If you are using a custom jabber client, then have it set a random reconnect time between a few seconds to 5 minutes if the connection was lost. I currently use Windows 2008 and 2012 for my setup. I've load tested each server to over 100k users. I've also setup clusters. You need to make sure you are using the modification (found somewhere on these forums) to run 64 bit Java or else you will suffer from low RAM problems since 32 bit java does not use more than 1.5GB RAM. Also, use these custom properties which you can add on the server menu:
(For your use, you should be able to cut these values in half for 50k users)
cache.ClientSessionInfoCache.size 384857600
cache.group.maxLifetime 3600000
cache.group.size 5242880
cache.groupMeta.maxLifetime 3600000
cache.groupMeta.size 25097152
cache.lastActivity.size 3600000
cache.offlinePresence.size 15600000
cache.userCache.maxLifetime 3600000
cache.userCache.size 35971520
cache.userGroup.maxLifetime 3600000
cache.userGroup.size 5242880
cache.username2roster.maxLifetime 3600000
cache.username2roster.size 992428800
REST and Sessions link stop working after > 80k online users
REST API and the (Sessions link inside OpenFire admin area) stops working after > 80k online users.
I've tested this prior to v4 OpenFire and it had the same issue. I currently have the latest version 4.0.3 and it also has this issue.
It is not exactly 80k users, but somewhere between 80k - 90k.
I have 4 tsung servers being used to load test this 2 node cluster. After approximately 80k users are online the issue happens. Even when all 110k users are online and the load on the CPUs goes down to zero I cannot use REST and it times out if I click on the Sessions link within OpenFire. I'll also add that even when there's 20k users or less, the Sessions link is terribly slow to respond and many times, will timeout.
As soon as I start dropping clients via tsung servers, once it gets below 80k users online mark, then REST and Sessions link start working again. I've tested without the Hazelcast plugin on a single server and I never have this issue. Sessions link responds very fast and REST work the entire time.
Re: Receiving new Spark message opens window but doesn't display message
Yes, I'm sure that this is the same with Spark 2.7.7 and I only had it reported to me after the 4.0.3 update. I enabled the debugger so hopefully that will give me some good information. I'll post back once I have some data from that. The only error being logged is being logged every time I log in to spark:
SEVERE: Profile contains wrong format: "gretchen" located at: C:\Users\gretchen\AppData\Roaming\Spark\user\gretchen
It has apparently been being logged for months though so I think it's not likely to be related.
Re: How to install Spark on Ubuntu 16.04
Thank you very much Wroot & Curt Smith !
Also I am sorry for late reply as I was not in my work station.
Re: Mobile client application for openfire server
Check here XMPP | XMPP Clients
Re: users/groups HTTP ERROR 500 only when clustering enabled
Same issue here. This issue occurred occasionally. Is there any problem with cluster setup?
Re: How to disable clear history in spark
Since 2.7.3 there is such option https://issues.igniterealtime.org/browse/SPARK-1638 (read the comment)
You can modify default.properties and then replace spark.jar for your users with that setting. Here's a document about editing default.properties Spark default.properties guide (updated)
Keep in mind, that users will still be able to delete their history manually by just deleting C:\Users\username\AppData\Roaming\Spark\user\username@servername\transcripts\ folder, where history is stored.
Re: Not closing smack threads by disconnect (4.1.0-alpha1-SNAPSHOT)
I am using 4.1.8 and facing the same issue as originally reported in this post. Has anybody found a solution to this?
Re: Unable to create a connection
Do not set configBuilder.setSocketFactory(SSLSocketFactory.getDefault());
Use port 5222 instead of 5223. 5223 is obsolete old SSL port.
Re: Receiving new Spark message opens window but doesn't display message
I have the same issue with 4.0.3 / 2.8 - I can see the message in the debug window but not on spark's chat window. Further chats within the same session are normal. This does not happens every time.
SSO in multi domain environment
I can't get SSO to work in a multi domain environment... Has anyone ran into this problem before?
Re: Reconnection Error Stream Management
Sorry for the delay! It was a bug of Smack 4.1.5, with version 4.1.7 the problem disappears!
REST API Plugin: MUC affiliation update kicks all users
Hi there,
I'm using the REST API Plugin to configure "team-internal" MUCs that are set to members-only. When a new user should be added to the channel, I send an update request to the REST API. The problem is that the Role update is implemented such that all roles are revoked first and requested roles are then re-added afterwards, which makes the server temporarily kick all users. While they're being re-added with the "member" role afterwards, their XMPP clients display a message saying that they have been removed from the channel due to an affiliation change, and they have to manually re-join all members-only channels.
I tracked down the problem to the method org.jivesoftware.openfire.plugin.rest.controller.MUCRoomController#setRoles. This method would have to read the list of current roles and compute a diff that it then needs to apply, instead of wiping and re-applying everything.
I'd be happy to help, provided that a potential PR is welcome and has the chance of being merged in a not-too-distant future (otherwise, I'd have to implement a workaround...)
Using Openfire 4.0.3.
Best regards,
Mike
Re: Manual acknowledge of stanzas
No, i don't want to add additional semantic. I want to reuse the same standard ack messages.
Suppose I'm offline, all the messages sent to me are stored into offline DB.
When I will be online, I receive the first message and I have to manage it before managing the other. Moreover, when I receive this first message, I automatically send the ack and Openfire delete this message from the DB.
If for some reason my app crashes before managing the first message, when it goes online again, it cannot receive that first message anymore, so it cannot be able to manage the other messages.
This is my problem.
Do you have any idea?
Openfire losing config after reboot CentOS 7
I'd installed Openfire 4.0.3 into a new CenOS 7, and now I am having problems with lost of configuration after rebooting OS. Clients can't connect and administrators can't sign in to Openfire admin area. Everytime when I need to reboot my CentOS, I need to edit /opt/openfire/conf/openfire.xml and change setup = true, to reconfigure all again. I had lucky that I'm using external database (MySQL) to store data, thus avoiding further losses. Someone could help me to identify the problem? I attached my logs. Thank you.
Re: Spark 2.8.0 não autentica
The described solution solved the problem. Thank you so much for your help and attention.
Re: Openfire losing config after reboot CentOS 7
Did you install Openfire with the RPM provided by this website?
Are you running openfire via the sysvinit (systemd) script? `systemctl start openfire`
`rpm -Va openfire` output would be useful as well.
Re: Smack v4.1.3 XMPPTCPConnection.sendSmAcknowledgement() not been called
Hi, did you find a solution for that?