openfire

openfire(deb)安装成功后,但是无法启动service

孤者浪人 提交于 2019-12-07 09:05:27
1、 openfire(deb安装)安装成功后,首次无法启动service(使用/etc/init.d/openfire restart)? 问题解决: 我遇到的这个问题原因在于openfire运行需要的jvm环境变量出现问题, /etc/init.d/openfire 默认的JAVA_HOMEs不包含java-7-oracle,这个手动添加即可。 来源: oschina 链接: https://my.oschina.net/u/1049256/blog/131393

XMPP Openfire Messages inserting late in database

纵然是瞬间 提交于 2019-12-06 18:43:27
Goal:- Inserting messages in faster way to database. I have integrated xmpp openfire one-to-one chat over my website. I am using Monitoring Service plugin for storing messages into the database. What i am facing is when user send a message from one user to another user at that time messages are stored in the database. Now messages are stored, but i am facing issue of inserting messages late into the database. I am loading messages via ajax call when user clicks on another user message thread but if the messages does not store in the database ofcourse it will not be returned in ajax call

File transfer using XMPP (Extension XEP-0065)

a 夏天 提交于 2019-12-06 17:21:42
问题 Not sure why I am getting turn socket failed (turnSocketDidFail called). Anybody can help me in figure out this? Please point me what am I doing wrong here. I know there are lots of question like this and I have already checked all of these and from that I have taken little help already. One of client is Spark and other is simulator. Settings: Server: testXyz Senderjid: user1@testXyz Receiverjid: user2@testXyz XMPPJID *jid = [XMPPJID jidWithString:Receiverjid]; [TURNSocket setProxyCandidates:

openfire无法启动

主宰稳场 提交于 2019-12-06 16:43:11
sudo chmod -R 777 /usr/local/openfire/bin sudo su cd /usr/local/openfire/bin export JAVA_HOME= ` /usr/libexec/ java _home ` echo$JAVA_HOME/Library/Java/JavaVirtualMachines/ jdk 1.8.0_51.jdk/Contents/Home cd /usr/local/openfire/bin . /openfire.sh 来源: oschina 链接: https://my.oschina.net/u/2346786/blog/661969

Error Binding Resource while Connecting to Openfire server using Jabber-Net

荒凉一梦 提交于 2019-12-06 13:33:09
My struggles with finding a C# xmpp library continues as I have now been force to rule out using both the Soapbox Studio SDK and aggXmpp / Matrix SDK. I have moved on to Jabber-net one of the few remaining C# libraries available and am thus far unable to connect to my Openfire Server. From what I understand this library like most xmpp libraries I have used thus far executes asynchronously so I am first calling the JabberClients 'Connect method' and bind a method that Logs into the server to the JabberClient's OnConnect handler. Below is my Connect method that connects to the xmpp sever and

Openfire server, multiple connection, route.all-resources doesn't work

我的梦境 提交于 2019-12-06 11:51:55
问题 We use http-bind with BOSH and Openfire (3.8.2) as backend and Strophe library (JS) on frontend for our chat application. Every user gets a specified unique resource by connection. That means, that a user can be logged in different devices/browsers at once (multiple connection, e.g user@example.com/resource1 , user@example.com/resource2 etc.). Ideally, we want messages to be sent to all connected resources. We set route.all-resources setting="true" and the connection priority is equal for all

file transfer in multi user chat to muliple users

萝らか妹 提交于 2019-12-06 10:49:28
i want to send files to multiple users in a one chat room so that i will be broadcasted to everyone. so far i havent found anything or any help on internet which resolve this issue. currently what i tried is to send a single file to each users one by one but i think that is not an efficient way so if someone has another approach then please do let know. i have tried sending file using si-filetransfer and bystream also. socks5 bytestream is not possible in javascript i guess so i havent tried that. i am using openfire server and stophe.js to send files using javascript and XMPP protocol Upload

How to retrieve vCard in iOS from XMPP/OpenFire

六月ゝ 毕业季﹏ 提交于 2019-12-06 09:11:28
As the name suggests I am trying to retrieve a vCard for a user using one of the next XMPPFrameworks methods: - (XMPPvCardTemp *)fetchvCardTempForJID:(XMPPJID *)jid; - (XMPPvCardTemp *)fetchvCardTempForJID:(XMPPJID *)jid useCache:(BOOL)useCache; My current implementation is: dispatch_queue_t queue = dispatch_queue_create("queue", DISPATCH_QUEUE_PRIORITY_DEFAULT); dispatch_async(queue, ^{ XMPPvCardCoreDataStorage* xmppvCardStorage = [XMPPvCardCoreDataStorage sharedInstance]; XMPPvCardTempModule* m = [[XMPPvCardTempModule alloc] initWithvCardStorage:xmppvCardStorage]; [m fetchvCardTempForJID:

Online and Offline users using strophe.js in real time

谁都会走 提交于 2019-12-06 08:15:28
问题 I am using strophe.js javascript client library for connecting to xmpp server( openfire ) using below code. var BOSH_SERVICE = 'http://127.0.0.1:7070/http-bind/'; connection = new Strophe.Connection(BOSH_SERVICE); connection.connect("jid", "password", onConnect); and callback function(onConnect) as below : function onConnect(status) { if (status == Strophe.Status.CONNECTING) { log('Strophe is connecting.'); } else if (status == Strophe.Status.CONNFAIL) { log('Strophe failed to connect.'); $('

smack message sent status

老子叫甜甜 提交于 2019-12-06 07:59:31
问题 I am using smack and openfire for create chat app in android . for message status I have no problem with delivered and displayed message in other client (double check). I will send a simple json message like bellow to sender: {"delivery":timestapmp} and parse it and double check messages with lower than timestamp that sent before. the problem is about sent status (one check). When i send message the server no response anything that message has sent . is it possible in smack to send message