openfire

Setup Eclipse for OpenFire server

╄→гoц情女王★ 提交于 2019-12-24 15:11:53
问题 I want to add configurations to the OpenFire server. I downloaded Openfire 3.9.2 from When I try to Open project eclipse says no project found, because it has no .project and .classpath and .settings file. What I should do to run openfire library project in eclipse, I am using eclipse EE edition. 回答1: Check this link to setup: http://www.programering.com/a/MDNyITNwATc.html Check this link to build: https://community.igniterealtime.org/docs/DOC-1200 contact me on skype : cvofjaspreet for

XMPP - user search in iphone sdk ? use of XEP-0055 in iphone sdk?

ぐ巨炮叔叔 提交于 2019-12-24 04:46:14
问题 i am sending this IQ to openfire server < iq type="set" from="admin@localhost.localdomain" to="localhost.localdomain" id="search2" xml:lang="en" > < query xmlns="jabber:iq:search" > < first > admin < /first > < /query > < /iq > but getting following response from server, < iq type="error" id="search2" from="localhost.localdomain" to="admin@localhost.localdomain/b91c09e5"><query xmlns="jabber:iq:search" > < first > admin < /first > < /query > < error code="501" type="cancel" > < feature-not

Join XMPP MUC with one JID simultaneously from different resources with openfire

瘦欲@ 提交于 2019-12-24 03:40:29
问题 I need to join in xmpp chat room with one jid but from different resources at same time. It is not works. Server sends chat messages only to last joined device. How do I configure jabber server (Open Fire) to allows room keep connection with same JID different resources? 回答1: Openfire does not support multiple resources from the same JID in one MUC. See OF-103 来源: https://stackoverflow.com/questions/12478871/join-xmpp-muc-with-one-jid-simultaneously-from-different-resources-with-openfire

XMPPHP to Openfire

怎甘沉沦 提交于 2019-12-24 01:56:16
问题 (This is my first ever question so please excuse the noobness) I have a Ubuntu VPS from DigitalOcean that I have Openfire installed and running. I'm trying to use XMPPHP to send alerts but it doesn't send the message. My Code: include("../XMPPHP/XMPP.php"); $conn = new XMPPHP_XMPP('***.***.***.***', 5222, 'alert', 'password', 'xmpphp', '***.***.***.***', $printlog=false, $loglevel=XMPPHP_Log::LEVEL_INFO); $conn->useEncryption(false); $conn->connect(); $conn->processUntil('session_start');

How to know Typing Status in XMPP openfire using Smack

北城以北 提交于 2019-12-24 00:34:26
问题 I am developing chat application by using Openfire XMPP server. I can text chat between two user. But i want to know Typing status when some one is typing message. So i created a class :- public class typingStatus implements ChatStateListener { @Override public void processMessage(Chat arg0, Message arg1) { // TODO Auto-generated method stub } @Override public void stateChanged(Chat arg0, ChatState arg1) { // TODO Auto-generated method stub System.out.println(arg0.getParticipant() + " is " +

Ubuntu12.04(64bit)上部署编译运行Openfire+Spark环境

爱⌒轻易说出口 提交于 2019-12-23 11:06:40
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 一、环境 一、下载 Openfire 源码 htp://www.igniterealtime.org/downloads/source.jsp openfire_src_3_9_1.zip 点击下载 下载完毕后解压资源到某个路径下 relsese版本下载连接: http://www.igniterealtime.org/downloads/index.jsp 二、编译源码 打开 Eclipse ,新建工程, use default location 选择 openfire 解压路径 新建编译项 Window->Show view->Ant 在 ant 窗口中点击 Add buildfiles ,在 buildfile selection 窗口中选择 openfile 工程中的 build.xml, 点击 OK 展开 Openfire XMPP Server 项,在众多项中选择 openfire[default] ,右键 Run as->Ant Build 进行编译。 编译通过后提示 BUILD SUCCESSFUL 编译成功后,工程目录结构下多出两个目录 target 和 work 三、添加 lib 库 将刚才生成的目录 target/openfire/lib 下所有 jar 包添加到工程中 四、配置 run

XMPPHP and Openfire

丶灬走出姿态 提交于 2019-12-23 06:57:41
问题 I'm a newbie to XMPP and I'm looking to basically connect the PHP to an OpenFire installation on my localhost. This is a piece of code I found (hack and slash I know but I can't seem to wrap my head around this). Anyway code just simply sends a message: <?php include("xmpp.php"); //username = user without domain, "user" and not "user@server" - home is the resource $conn = new XMPPHP_XMPP('my.server', 5222, 'username', 'password', 'home'); // Enables TLS - enabled by default, call before

Get Friends list from openfire Server

送分小仙女□ 提交于 2019-12-23 06:39:07
问题 How to get all friends programmatically from openfire server in objective C, I am using XMPP Framework for chat Functionality. 回答1: Here is a function to fetch friends. Add your host name in below function. func getList() { let query = try! XMLElement(xmlString: "<query xmlns='http://jabber.org/protocol/disco#items' node='all users'/>") let iq = XMPPIQ(type: "get", to: XMPPJID(string: "Your Host Name"), elementID: xmppStream.generateUUID(), child: query) iq?.addAttribute(withName: "id",

Openfire help. Custom database (tables,fields)

拈花ヽ惹草 提交于 2019-12-23 05:01:15
问题 I created a database for my chat application, which has, for example, more fields on the "user" table. How can I implement it in openfire? I've already connected openfire to a mysql external database on my server. Thanks. 回答1: Have you tried with vCard? Surely if you connect your Openfire instance with an LDAP server you can retrieve other user fields (Organization unit, phone number, ...) using vCard. Maybe this approach could work also for custom database integrated in Openfire; check also

Openfire help. Custom database (tables,fields)

蹲街弑〆低调 提交于 2019-12-23 05:01:02
问题 I created a database for my chat application, which has, for example, more fields on the "user" table. How can I implement it in openfire? I've already connected openfire to a mysql external database on my server. Thanks. 回答1: Have you tried with vCard? Surely if you connect your Openfire instance with an LDAP server you can retrieve other user fields (Organization unit, phone number, ...) using vCard. Maybe this approach could work also for custom database integrated in Openfire; check also