openfire

Create jar file from openfire plugin

﹥>﹥吖頭↗ 提交于 2019-12-11 11:51:55
问题 I need to customize openfire plugin and i have made one plugin for openfire but no idea how to compile.I have followed many tutorial but not working. Here is one video for compile openfire but got 505 error. I have followed official tutorial but not able to compile. build\build.xml:238: Must use JDK 1.5.x or higher to build Openfire got this exception. Not get idea how can i make jar file with compilation or without.If with, I tried with ant as well but there is some problem. I'm stack here

create forum with xmpp pubsub

狂风中的少年 提交于 2019-12-11 10:39:42
问题 i just wanted to know if I want a collection node act as topic and this collection node has leaf nodes for different questions wouldn't it be highly inefficient to have a dedicated leaf nodes for each question (collection node-leaf1, leaf2, ..., leafN)? This will end up with thousands of different leaf nodes in the database for different questions and not just items (for questions and answers) in one leaf node per topic (collection node)... (collection node-leaf node (where Q&A with big chunk

Converse.js and OpenFire passwordless authentication (certificates)

浪子不回头ぞ 提交于 2019-12-11 07:59:46
问题 I want to enable passwordless authentication in Converse.js, using CA signed certificates, but I am having troubles with it. Here is what I've done: Added the CA in the truststore for OpenFire; Added the OpenFire certificate in its keystore; Created a client valid and signed certificate. I have also set some properties in the OpenFire server, i.e., sasl.mechs: EXTERNAL , xmpp.client.certificate.verify: true and xmpp.client.cert.policy: wanted . My converse script looks like: converse

C# Client to Client Messaging

醉酒当歌 提交于 2019-12-11 07:35:27
问题 I will try and explain exactly what I want to achieve first. Imagine two users are using a windows forms application, when User A opens a particular form a lock is applied to the data record underlying the form so that only that user can make changes at that time. User B has a list of all records (in a grid) which among others contains a reference to the record already opened by User A. What we want to do is when User A opens the records User B's list of records is updated to show a lock icon

XMPP Multiple tabs synchronize sent message

守給你的承諾、 提交于 2019-12-11 06:43:30
问题 I am implementing an Openfire chat client in a web site with Strophe.js. I managed to get multiple sessions and multiple windows reloading page and reconnecting back. Now I have challenge in restoring the chat history. But the first issue I am stuck at when a user opens two tabs of our site it creates two xmpp sessions with different resource ID's but now say a@example.com/tab1 sent a message to friend this should be synchronized in tab2 Example if you send chat message from gtalk user sent

Smack Openfire Android Unable to send message to Group/Room Error 403 forbidden

此生再无相见时 提交于 2019-12-11 06:20:53
问题 MultiUserChatManager manager = MultiUserChatManager.getInstanceFor(xmppconnection.getConnection()); try { MultiUserChat muc = manager.getMultiUserChat("test2@conference.cca"); muc.join("test2@conference.cca"); Message msg = new Message("test2@conference.cca", Message.Type.groupchat); msg.setBody("Hi Testing..Group chat.."); muc.sendMessage(msg); // muc.join("test", "1234"); } catch (SmackException.NotConnectedException e) { e.printStackTrace(); } catch (SmackException e) { e.printStackTrace()

Xmpp, Strophe Js : Multiple active connections for same user

主宰稳场 提交于 2019-12-11 06:19:16
问题 I have implemented web chat using xmpp + openfire + strophe. On the same openfire and xmpp server we have developed IOS chat as well. I am facing below problem. Lets say a user A connected in xmpp in IOS app and user A chat with user B. Now same user A connect with web chat to xmpp using strophe and user B sends the message to user A then User A will have message in the web chat connection only. Now user A connect with xmpp in IOS and User B send message then User A will get message in IOS

How to uses Smack API UserSearchManager with local server?

人盡茶涼 提交于 2019-12-11 05:58:17
问题 This may look a very basic question but I am having a problem accessing OpenFire search function using this code: try { UserSearchManager search = new UserSearchManager(connection.getConnection()); Form searchForm = search.getSearchForm("search." + server); ... } catch (Exception e) {...} The server here is a String with value something like "192.168.242.132", the code gets error from this line: Form searchForm = search.getSearchForm("search." + server); Essentially, the server is up and

Problem adding buddy with smack api and openfire server

依然范特西╮ 提交于 2019-12-11 05:19:27
问题 Hi I am new in Java. And its giving me a lot of stress. I need to chat with smack api and openfire server. For this my java code is below import java.util.*; import java.io.*; import org.jivesoftware.smack.Chat; import org.jivesoftware.smack.ConnectionConfiguration; import org.jivesoftware.smack.MessageListener; import org.jivesoftware.smack.Roster; import org.jivesoftware.smack.RosterEntry; import org.jivesoftware.smack.XMPPConnection; import org.jivesoftware.smack.XMPPException; import org

XMPP Query Group Chat (MUC) directory using search term

帅比萌擦擦* 提交于 2019-12-11 04:56:23
问题 Creating an XMPP client, part of which involves querying the directory for chat rooms whose name matches a specific search term. Lets call this search term SEARCH. The following XML (with the correct to/from) gives me a list of all chat rooms. <iq from='hag66@shakespeare.lit/pda' id='disco2' to='chat.shakespeare.lit' type='get'> <query xmlns='http://jabber.org/protocol/disco#items'/> </iq> example result: <iq xmlns="jabber:client" type="result" id="disco2" from="chat.shakespeare.lit" to=