openfire

Configuring punjab to send xmpp requests to Openfire

狂风中的少年 提交于 2019-11-30 07:45:31
I am trying to use the punjab connection manager with Openfire. I have an already running Openfire server. I have also installed punjab and the server starts properly, allowing me to navigate to the port 5280 on localhost. (Although http://localhost:5280/http-bind gives a "resource not found message".) I am not sure how to proceed from here. I have enabled a setting in the openfire admin console under connection managers that says "Connection managers can connect to this server. " . How to configure punjab to connect with the xmpp server ? So far I was directly establishing a bosh connection

Retrieving archive messages using openfire monitoring plugin

泪湿孤枕 提交于 2019-11-30 07:17:16
I use XMPP with openfire server for my website im. I've enabled monitoring service plugin, so I can archive messages. When I send an iq stanza to retrieve a collection, the server response is an error iq stanza. This is the request <iq type='get' id='user13' xmlns='jabber:client'> <list xmlns='urn:xmpp:archive' with='b31315847fed0d6728d5fb763e4a53b09d6fb549@user-pc'> <set xmlns='http://jabber.org/protocol/rsm'> <max> 10 </max> </set> </list> </iq> And this is the server response : <iq xmlns='jabber:client' type='error' id='user13' to='dff4bb27259100a5b158ba2477037da823d54229@user-pc/68154bb7'>

Openfire+Spark源码开发环境搭建

纵饮孤独 提交于 2019-11-30 05:35:10
首先第一步,当然是环境搭建了... Openfire官网: http://www.igniterealtime.org/index.jsp 源码下载地址: http://www.igniterealtime.org/downloads/index.jsp Openfire SVN下载地址:http://svn.igniterealtime.org/svn/repos/openfire/trunk 1、下载源码 2、创建JavaProject: openfire(我采用比较笨的方法,新建个空项目,然后将源码copy进去...) 3、右键项目——>Properties,设置项目属性 a) Java Build Path -> Source: openfire/src/conf, openfire/src/i18n, openfire/src/java, (以上output folder均相同) openfire/src/test/java, openfire/src/test/resources(以上2个output folder可设为 openfire/test-classes) Java Build Path -> Libraries: openfire/build/lib/* , openfire/build/lib/dist/*, openfire/build/lib

Android基于XMPP Smack Openfire下学习开发IM(一)实现用户注册、登录、修改

青春壹個敷衍的年華 提交于 2019-11-30 03:22:38
以前学习过用Scoket 建立聊天,简单的建立聊天是没问题的,但如果要实现多人复杂的聊天,后台服务器代码就比较复杂,对于我这新手来讲就比较难了。后来在网上看到用openfire做服务器,利用强大的Smack API库来实现IM聊天就简单多了。 网上也有很多关于这方面的资料,我就在这里把网上的资料和自己的理解总结一下和大家一起交流学习。 需要用到以下几个工具: Openfire 最新版本(openfire 3.8.1) 下载地址: http://www.igniterealtime.org/downloads/index.jsp 安装配置可参考: http://www.cnblogs.com/hoojo/archive/2012/05/17/2506769.html Spark 最新版本(Spark 2.6.3) 下载地址: http://www.igniterealtime.org/downloads/index.jsp ASmack 最新版本 (asmack-jse-buddycloud-2010.12.11.jar) 由于在Android平台下开发 所以我们用到的是 aSmack,与Smack没有很大的区别 下载地址1: http://download.csdn.net/detail/h7870181/6372585 (现在用的就是这个,修改了一些BUG) 下载地址2:

Android推送通知指南

自古美人都是妖i 提交于 2019-11-30 03:22:06
在开发Android和iPhone应用程序时,我们往往需要从服务器不定的向手机客户 端即时推送各种通知消息,iPhone上已经有了比较简单的和完美的推送通知解决方案,可是Android平台上实现起来却相对比较麻烦,最近利用几天的 时间对Android的推送通知服务进行初步的研究。 在Android手机平台上,Google提供了C2DM(Cloudto Device Messaging)服务,起初我就是准备采用这个服务来实现自己手机上的推送功能。 Android Cloud to Device Messaging (C2DM)是一个用来帮助开发者从服务器向Android应用程序发送数据的服务。该服务提供了一个简单的、轻量级的机制,允许服务器可以通知移动应用 程序直接与服务器进行通信,以便于从服务器获取应用程序更新和用户数据。C2DM服务负责处理诸如消息排队等事务并向运行于目标设备上的应用程序分发这些 消息。 但是经过一番研究发现,这个服务存在很大的问题: 1)C2DM内置于Android的2.2系统上,无法兼容老的1.6到2.1系统; 2)C2DM需要依赖于Google官方提供的C2DM服务器,由于国内的网络环境,这个服务经常不可用,如果想要很好的使用,我们的App Server必须也在国外,这个恐怕不是每个开发者都能够实现的; 有了上述两个使用上的制约,导致我最终放弃了这个方案

OpenFire/XMPP 503 service-unavailable error (XEP-0065 using iOS XMPPFramework)

有些话、适合烂在心里 提交于 2019-11-29 21:18:51
问题 Problem : I am attempting a TURN Connection (XEP-0065) using the iOS XMPPFramework and an OpenFire Server. I want to be able to send and receive files. However, I am receiving a 503 service-unavailable error. Note : The base of my code is from the following tutorial : http://mobile.tutsplus.com/tutorials/iphone/building-a-jabber-client-for-ios-server-setup/ XML Error : I've debugged through TURNSocket.m. It goes into processRequestResponse and has the following XML. (If I am not mistaken,

XMPP web client [closed]

不羁岁月 提交于 2019-11-29 21:04:50
Is there any XMPP web client except SparkWeb and JWChat? I'd recommend, you can use strophejs . The examples of the Professional XMPP development with jQuery are very interesting. Especially the chapter 6 application , which is a ... chat client. There is also Jappix, which is a fresh new social-oriented XMPP web-client. You can test it here: http://www.jappix.com/ and get it on the project website (it's open source!). Check out Candy - a pure JavaScript client for XMPP. JAXL IM is something you might want to try out... provides a convenient admin panel for configuration of chat widget, enable

Getting all users from an openfire server using smack android

帅比萌擦擦* 提交于 2019-11-29 12:53:27
i have a openfire server running on my localhost and i am successfully able to send and receive messages to registered users. however i am not been able to get all users from server. i am logged in with user that doesn't have a administration access. so do i need to give any permission on server side? The code i am using for getting all users is.. if ( xmpp.getConnection()== null || !xmpp.getConnection().isConnected()) return; try { UserSearchManager usm = new UserSearchManager(xmpp.getConnection()); Form searchForm = usm.getSearchForm("search." + xmpp.getConnection().getServiceName()); Form

Why can't I connect to the openfire server?

拥有回忆 提交于 2019-11-29 12:27:40
I'm having a little bit of trouble trying to connect to Openfire (which I've installed on my computer) while using Smack. ConnectionConfiguration config = new ConnectionConfiguration("shin-pc" ,5222); config.setCompressionEnabled(true); config.setSASLAuthenticationEnabled(true); XMPPConnection connection = new XMPPConnection(config); connection.connect(); connection.login("test", "test"); When I try debugging or running, there's an error of some sort in the connect() line. XMPPError connecting to localhost:5222.: remote-server-error(502) XMPPError connecting to localhost:5222. -- caused by:

Retrieving archive messages using openfire monitoring plugin

六月ゝ 毕业季﹏ 提交于 2019-11-29 09:18:35
问题 I use XMPP with openfire server for my website im. I've enabled monitoring service plugin, so I can archive messages. When I send an iq stanza to retrieve a collection, the server response is an error iq stanza. This is the request <iq type='get' id='user13' xmlns='jabber:client'> <list xmlns='urn:xmpp:archive' with='b31315847fed0d6728d5fb763e4a53b09d6fb549@user-pc'> <set xmlns='http://jabber.org/protocol/rsm'> <max> 10 </max> </set> </list> </iq> And this is the server response : <iq xmlns=