Quantcast
Channel: Ignite Realtime : All Content - Openfire Support
Viewing all 4778 articles
Browse latest View live

Issue transferring users and groups from old openfire server version to a new one

$
0
0

Hi to all supporters of Openfire,

 

I would like to seek your kind assistance regarding my current issue. Our company is using Spark as a messenger between employees for years now and this was turn over to me by our former employee without any proper documentation. Today, January 08, 2015, I saw that there is a new update which is the openfire 3.9.3 and our current version is 3.7.1. What I did is I tried to download the update and installed it to our hive server. My current issue is whenever I used the 3.9.3 version all users and groups are no longer in the admin site but when I open and run the 3.7.1 version they are still available to that admin site.

 

Is there any possibility that I can transfer all the users and groups I have in the admin website of 3.7.1 to the admin website of 3.9.3?

 

Hoping for your kind response regarding this matter as I am only a new employee.

 

Thanks.


stderror.log

$
0
0

We have a stderror.log that is growing at a crazy rate. I just took over administering the server and the only way i know how to delete log is to reboot the server. I'm new to all of this, how do I prevent the server from creating the log to begin with?

 

Thanks.

Conference service discovery

$
0
0

Hello,

 

I recently set up an OpenFire server; everything is fine but I just have a doubt about conferences (or group chats). I notice that when doing a discovery items query for the server (domain.com), nothing is returned. If I do query for conference.domain.com, then chat rooms are returned.

I would expect when querying domain.com that server returns the service conference.domain.com, so the client can discover rooms automatically. Right now, I need the client to support rooms through manual discovery (Spark does, but others not).

 

This is the right behavior? It's configurable somehow?

 

Best regards,

Xavier Romero

Server Certificates "corrupt" every time when restarting Openfire

$
0
0

What could be the reason when restarting Openfire 3.5.0 the Server Certificates are "corrupted"? Obviously the client logins will not succeed since TLS/SSL is required in client end.

When having closer look into the Admin Console, in Server Settings => Server Certificates there is an error message:

 

Unable to access certificate store.  The keystore may be corrupt. One or more certificates are missing. Click here to generate self-signed certificates or here to import a signed certificate and its private key.

In /opt/openfire/resources/security the keystore file is present (before and after restart) and the md5sums are exactly the same than before restart:

 

 

 

cc7365574f58b6daa40f8dcff08b6f2e  keystore (before restart)

 

 

 

cc7365574f58b6daa40f8dcff08b6f2e  keystore (after restart)

 

 

 

If I create Server Certificates via the Admin Console, they are generated and clients can login again. We do not use CA signed ones, only self signed.

 

 

 

Now the question is, why is this happening? Am I missing something configuration-wise here? Many thanks in advance!

Require secure connection to Openfire

$
0
0

So I plan to allow our internal Openfire server to be accessible from the internet.  I have disabled user registration and forced SSL connectivity for clients..  However I notice that the only port required to connect from outside our firewall is 5222 which is supposed to be the none-SSL connection.   when I view connected sessions within the Openfire console I notice the little padlock next to status, but how can I verify the traffic and authentication is SSL encrypted?  What is the difference between forcing SSL client connectivity and the encryption option within a specific chat session initiated by the end user?

 

Regards,

Adam Tyler

Spark for iPhone/iPad/Android?

$
0
0

Anyone know if there is a mobile app that will support Openfire connectivity?

Can't create new xmpp account from Jitsi

$
0
0

Hello everyone,

 

I have openfire installed version 3.9.3 with embedded database.

 

when I create a new xmpp account from Jitsi (view attached file) I have this error:

 

Unknown XMPP error (XMPPError connecting to myxmppdomain:5222.). Verify that the server name is correct.

 

note: It only works if I use the name of openfire machine, but when I use openfire domain it doesn't work.

Unexpected behaviours

$
0
0

In my setup I use ldap for user/group retrieval and I've noticed that modifying system propertie "ldap.groupSearchFilter" does not take any effect.. until i restart OpenFire server. Maybe it's the intended behaviour but I would expect it to have some effect, even if it's some hours later. In my case I use this option to filter goups, and each time I add a new one I need to restart the whole server.

 

Another unexpected behaviour I've noticed: when I edit a system propertie by clicking the edit icon, its always set as encrypted in spite of which encrypton option is choosen. Option "Do not encrypt this property value" is set by default, but its always saved as encrypted and appears as hidden once I click "save property". Then I edit it again for second time, setting again the value and the "not encrypt" option and then it's set right.

 

Best regards,

Xavier ROmero.


How to configure Openfire's caches

$
0
0

Openfire uses caches to improve performance. Caches can be configured to hold more or less objects in memory and also the amount of time an object will be kept in memory. Big caches can improve performance but very big caches may decrease it since more memory will be used and Java may have to work hard to make room for other objects in memory. In summary, the proper size of the cache should be estimated for each installation based on the number of concurrent users, the roster size, vCard size, number of groups, etc.

 

Openfire does not provide the option to configure cache properties from the admin console in an easy way. For now you have to create new system properties in the admin console and set the required value. After changing a cache property you will need to restart the server so that the change is actually used.

 

These are the names of the properties that you can define and configure. The *.size properties define the max size in bytes the cache may be. The *.maxLifetime defines the default max lifetime of the cache, in milliseconds.?

More caches are defined in http://www.igniterealtime.org/fisheye/browse/svn-org/openfire/trunk/src/java/org /jivesoftware/util/cache/CacheFactory.java?r=trunk

 

CacheSizeExpiration
vCardcache.vcardCache.sizecache.vcardCache.maxLifetime
Usercache.userCache.sizecache.userCache.maxLifetime
Existence of remote userscache.remoteUsersCache.sizecache.remoteUsersCache.maxLifetime
Rostercache.username2roster.sizecache.username2roster.maxLifetime
Groupcache.group.sizecache.group.maxLifetime
Group Userscache.userGroup.sizecache.userGroup.maxLifetime
Privacy Listcache.listsCache.sizecache.listsCache.maxLifetime
Support of XEP-133 by remote serverscache.multicast.sizecache.multicast.maxLifetime
Offline Messagecache.offlinemessage.sizecache.offlinemessage.maxLifetime
POP3 auth userscache.pop3.sizecache.pop3.maxLifetime
File Transfercache.fileTransfer.sizecache.fileTransfer.maxLifetime
LDAPcache.ldap.sizecache.ldap.maxLifetime

 

Some values are set in http://fisheye.igniterealtime.org/browse/openfire/trunk/src/java/org/jivesoftwar e/util/cache/DefaultLocalCacheStrategy.java?hb=true

 

The information below contains the settings for Openfire 3.7.1.

 

Default values for size is 256 KB and lifetime 6 hours.

 

cache.fileTransfer.size128 * 1024
cache.fileTransfer.maxLifetime1000 * 60 * 10
cache.multicast.size128 * 1024
cache.multicast.maxLifetimeJiveConstants.DAY
cache.offlinemessage.size100 * 1024
cache.offlinemessage.maxLifetimeJiveConstants.HOUR * 12
cache.pop3.size512 * 1024
cache.pop3.maxLifetimeJiveConstants.HOUR
cache.transferProxy.size-1
cache.transferProxy.maxLifetime1000 * 60 * 10
cache.group.size1024 * 1024
cache.group.maxLifetimeJiveConstants.MINUTE *  15
cache.groupMeta.size512 * 1024
cache.groupMeta.maxLifetimeJiveConstants.MINUTE *  15
cache.javascript.size128 * 1024
cache.javascript.maxLifetime3600 * 24 * 10
cache.ldap.size512 * 1024
cache.ldap.maxLifetimeJiveConstants.HOUR * 2
cache.listsCache.size512 * 1024
cache.offlinePresence.size512 * 1024
cache.lastActivity.size128 * 1024
cache.userCache.size512 * 1024
cache.userCache.maxLifetimeJiveConstants.MINUTE *  30
cache.remoteUsersCache.size512 * 1024
cache.remoteUsersCache.maxLifetimeJiveConstants.MINUTE *  30
cache.vcardCache.size512 * 1024
cache.faviconHits.size128 * 1024
cache.faviconMisses.size128 * 1024
cache.routeServer.size-1
cache.routeServer.maxLifetime-1
cache.routeComponent.size-1
cache.routeComponent.maxLifetime-1
cache.routeUser.size-1
cache.routeUser.maxLifetime-1
cache.routeAnonymousUser.size-1
cache.routeAnonymousUser.maxLifetime-1
cache.routeUserSessions.size-1
cache.routeUserSessions.maxLifetime-1
cache.componentsSessions.size-1
cache.componentsSessions.maxLifetime-1
cache.connManagerSessions.size-1
cache.connManagerSessions.maxLifetime-1
cache.incServerSessions.size-1
cache.incServerSessions.maxLifetime-1
cache.sessionsHostname.size-1
cache.sessionsHostname.maxLifetime-1
cache.secretKeys.size-1
cache.secretKeys.maxLifetime-1
cache.validatedDomains.size-1
cache.validatedDomains.maxLifetime-1
cache.directedPresences.size-1
cache.directedPresences.maxLifetime-1
cache.serverFeatures.size-1
cache.serverFeatures.maxLifetime-1
cache.serverItems.size-1
cache.serverItems.maxLifetime-1
cache.serversConfigurations.size128 * 1024
cache.serversConfigurations.maxLifetimeJiveConstants.MINUTE *  30

Spark 2.6.3 Invalid Username or Password

$
0
0

Hi, fairly new to Openfire here. I'm working on a new 3.10.0 alpha installation. I chose the alpha because apparently 3.9.3 won't work with SparkWeb. I tried the 3.9.3 nightly, but failed. Anyway, Sparkweb is working great, authenticates just fine. However, Spark 2.6.3 clients won't connect, and say Invalid Username or Password. If I go to advanced, check "Use old SSL port method" it connects just fine. This solution isn't preferable, as I don't want my users to have to go through the extra step. I suspect I have a problem in my Openfire config, which is by most respects at all defaults except for my LDAP AD config which is also working. Any help would be appreciated!

Openfire 3.9.3 + Jitsi - Trying to get this to work to replace MS LYNC

$
0
0

Hello,

 

I have a working Openfire 3.9.3 server on Windows 2008 R2, and I'm trying to get the equivalent features of MICROSOFT LYNC working...so far, the only thing missing is decent desktop sharing.

 

I have gotten Redfire to work, and I think it is not that great ... the sharing works so-so and the update speed is not that great.  Definitely LYNC still winning.

 

I am trying to get JITSI / OFMEET to work instead and use the desktop sharing from that service, and I'm also excited to take advantage of multi-participant VideoConferencing.  So far I have the following:

 

- I've installed REDFIRE and gotten the plugin working.

- I've installed the RED5 standalone media server (same windows server) outside of the redfire, and I've seen how that works...I've been able to connect to it

- I've installed JITSI and started the process running (same windows server) and I've configured things according to what I've seen in many of the HOW-TO's:

     Openfire --> Server --> Server settings --> external components --> Service Enabled:  enabled.  Port:  5275 with password (that I specified in the JVB.BAT startup for Jitsi) 

                                                                                                            --> Allowed to connect:  Anyone

      Openfire --> Server --> Server settings --> HTTP Bind Settings --> HTTP Binding:  Enabled, port 7070, SSL port 7443

                                                                                                           --> Script Syntax:  Enabled

                                                                                                           --> Provides support for CORS:  Enabled, domain:  *

                                                                                                           --> Provides support for XFF headers:  Enabled, no details in available fields.

 

This is all the installation of the JITSI server process, running outside of Openfire.

 

I've also obtained the JITSI.JAR plugin, and installed and run THAT, and after I did this, the JITSI tab shows up, and configured options have a low port of 50000 and high port of 60000, but no other options.  This is also how the JITSI process is configured to run (the process that runs with jvb.bat).

 

Even after all this, I am not sure how to get JITSI to work.  There is no JITSI start page, I cannot go to "http://openfireserver:7070/jitsi", and I don't see any documentation on how to complete this.  Open fire, despite this, is working fine except for desktop sharing, and this is really my main goal.

 

Can anyone guide me in a direction?  I'm trying to get this to be the default defacto IM standard, but without desktop sharing, I think Lync gets it and it's burning me up.

 

Help is greatly appreciated!

openfire 3.9.3 ghost Session Problem

$
0
0

hello all

at first excuse me for my English. this is not my native language.

i have a openfire 3.9.3 server. when a user lost connection and goes offline its session in server do not destroy

and will be remain and destroy after 6 minutes. in this 6 minutes if another guy send a message to this user this massage

will be lost. because open fire send this message to its ghost session while user cannot receive message. and this message

will not store in offline message.

 

an suggested way is " Create xmpp.client.idle system property and set it to say 60000 (will be a minute) or even 10000 (10 seconds)"

but this way create another problem for me which is frequently connect and disconnect for my users.

 

can any one help me how can i resolve this problem?

Best free iOS and Android Client for openfire

$
0
0

I have successfully configured openfire (latest version) on my VPS (CentOS 6.5) and from desktop/mobile (IM+) I am able to chat.

 

I tried IM+ for mobile and facing below issues.

 

1. unable to search users.

2. Cannot create groups and add users from IM+

 

Is there a better mobile app for openfire ?

 

Really appreciate response.

Long start Openfire with monitoring plugin

$
0
0

Hello!

 

Have some troubles with monitoring plugin when openfire starts.

It takes about 10-15 minutes for Monitoring plugin initialization, at this time Openfire can't handle incoming user connections, only web page works correctly.

After some research i've found problem SQL query (MSSQL 2012 as DB backend):

 

exec sp_prepare @p1 output,N'@P0 bigint',N'SELECT DISTINCT ofConversation.conversationID, ofConversation.room, ofConversation.isExternal, ofConversation.startDate, ofConversation.lastActivity, ofConversation.messageCount, ofConParticipant.joinedDate, ofConParticipant.leftDate, ofConParticipant.bareJID, ofConParticipant.jidResource, ofConParticipant.nickname, ofMessageArchive.fromJID, ofMessageArchive.toJID, ofMessageArchive.sentDate, ofMessageArchive.body FROM ofConversation INNER JOIN ofConParticipant ON ofConversation.conversationID = ofConParticipant.conversationID INNER JOIN ofMessageArchive ON ofConParticipant.conversationID = ofMessageArchive.conversationID WHERE ofConversation.lastActivity >  @P0 ',1

 

and after that -

exec sp_execute 5,1419117885898 that takes about 15 minutes to complete.

 

I can't understand why SQL server chooses wrong exec plan for this query, if i execute it manually from SSMS - it takes 0 sec to complete because of short time range in where clause.

 

I have huge history tables (ofConversation - 4208721 records, ofMessageArchive - 16286713 records) so SQL server takes very loooong time to prepare this query with wrong plan .

 

Please help to resolve this problem, thanks!

 

P.S. Code line: Openfire/JdbcPersistenceManager.java at ac304ea9cf6abf989338bc5e34af006e45fbddf9 · igniterealtime/Openfire · GitHub

 

UPD:

I've found that hint  - option (OPTIMIZE FOR (@p0 = N))

(where N is the actual @P0 value)

makes query very fast as it should be.

But i doesn't know java and openfire code very well, can it be added to query text in the plugin code?

 

Just sorry for poor english..

Two Openfire servers with same domain over WAN

$
0
0

Hi, after testing different solutions, I come here to ask if you can help me with the better way to resolve this.

I have to set up two Openfire servers on a high-availability, fault tolerant scheme, but the primary objective is closeness to the user. The idea is to have servers on different regions, each one serving the closer users, but allowing the users to communicate between them using the same domain.

 

I've checked the server 2 server solution, but it requires two different domain to work. I've also checked Hazelcast plugin to form a cluster, but this solution seems to be designed to use servers on the same location, and needs to share one MySQL database. I've checked the solution Hazelcast over WAN , but doesn't seems the better solution for what I'm searching. I thought about setting up Hazelcast with MySQL multi-master replication, but I don't know if this will work.

 

What do you recommend? Maybe is there a plugin that I'm missing?


message lost in openfire and ghost sessions

$
0
0

hello all

i am working on a social network program and use openfire and smack.scenario which i face with this problem is here:

two users are chating with each other and every thing is good suddenly a user lost his/her connection to server.

and other does not know this and continue to sending message. server idle time is around 10 sec and server still keep alive

disconnected user's session and send received message to this session. disconnected user does not receive these messages

and server does not keep them as offline message and result is "LOST messages".

i search in google and face with subjects such as XEP-0198 or ejabberd stanza ack.

now i need to know is there an implementation of these subjects in openfire or smack?

and will this subject help me to solve this problem ?

Tinder-68 library

$
0
0

Hi everyone,

 

I'm trying to compile and run Openfire project  in Eclipse but I can't compile successfully because I receive the following error:

 

> cannot find symbol            allowedToCreate.add(new JID(jid.trim().toLowerCase()).asBareJID());

 

The method asBareJID() is supposed to be implemented in the org.xmpp.packet.JID class, but in the latest Tinder  jars (1.2.2 or 1.2.3) it's absent.

I only found the method toBareJID.

Reading this link https://igniterealtime.org/issues/si/jira.issueviews:issue-html/TINDER-68/TINDER -68.html  I learnt that this new method has been introduced for avoiding the workaround new JID(new JID(value).toBareJID())....so my answer is: where can I find the jar with the TINDER-68 patch?

Is there a recent guide about custom openfire plugin implementation?

 

I appreciate any help that you can provide!

Best Regards,

Michela.

Going from One OpenFire Server to Another

$
0
0

Hi guys,

 

New to OpenFire. My company has Openfire setup already on another server. We are doing a fresh Window install on another server. I'm not sure if we are Using None/Blowfish/AES for password encryption, and I hear it's not good to change this. Where can I find what we are using on the old server? We are using the most current Openfire version.

Where to get a usable hazelcast plugin for openfire 3.9.3

$
0
0

hi

Now I can get the latest version of openfire 3.9.3, and download the hazelcast plugin (hazelcast.jar  1.3.3) from the official website Ignite Realtime: Openfire Plugins

But when try to upload the plugin, the stdoutt.log shows that: Ignoring plugin hazelcast: requires server version 3.9.4

The openfire version 3.9.4 has not released yet. I try to find the old version of those plugins but failed. Where can I get a usable hazelcast for openfire 3.9.3?

Is there any table exists for Groupchat offline messages, like there is ofOffline table for storing one to one offline messages?

$
0
0

How group chat offline messages are handled with openfire server? currently all offline messages are received by the members of a group even after setting delayed delivery described in this link XEP-0203: Delayed Delivery and this continues when ever a member log in regardless of whether he have viewed or not. How to handle this?

Viewing all 4778 articles
Browse latest View live




Latest Images