使用同一账号在多个xmpp客户端连接openfire服务器的解决方案
2012-12-12 21:56
513 查看
需要两点:
1. 相同的账号需要使用不同的resource,可用时间戳生成,如 vim@gmail/1359956556,vim@gmail/1359956777。
2.
http://stackoverflow.com/questions/10731542/support-multiple-login-at-the-same-time-in-openfire-server
This is by design of XMPP, as can be seen in RFC3921,
section 11.1 "Inbound Stanzas".
To send messages addressed to a bare JID in openfire to all related full JIDs (resources + bare JID), you need to set the system property
the value
Openfire (Admin Console > Server Manager > System Properties). You will have to create this system property. Also you would have to set the same priority in both clients.
See also these igniterealtime
forums posts.
[文章作者]曾健生
[作者邮箱]zengjiansheng1@126.com
[作者QQ]190678908
[博客] http://blog.csdn.net/newjueqi
http://blog.sina.com.cn/h6k65
1. 相同的账号需要使用不同的resource,可用时间戳生成,如 vim@gmail/1359956556,vim@gmail/1359956777。
2.
http://stackoverflow.com/questions/10731542/support-multiple-login-at-the-same-time-in-openfire-server
This is by design of XMPP, as can be seen in RFC3921,
section 11.1 "Inbound Stanzas".
To send messages addressed to a bare JID in openfire to all related full JIDs (resources + bare JID), you need to set the system property
route.all-resourceswith
the value
truein
Openfire (Admin Console > Server Manager > System Properties). You will have to create this system property. Also you would have to set the same priority in both clients.
See also these igniterealtime
forums posts.
[文章作者]曾健生
[作者邮箱]zengjiansheng1@126.com
[作者QQ]190678908
[博客] http://blog.csdn.net/newjueqi
http://blog.sina.com.cn/h6k65
相关文章推荐
- 连接远程oracle和SVN服务器客户端的使用
- 如何使用MSTSC命令远程连接服务器或客户端
- 2.使用windows下的客户端连接虚拟机上的oracle连不上的时候的解决方案
- windows系统下FileZilla客户端 尝试连接“ECONNREFUSED - 连接被服务器拒绝”失败。 解决方案
- Windows Server 2003 使用vSphere5.5连接ESXI5.5 “客户端无法向服务器发送完整的请求” 的解决办法
- Android 使用Socket实现服务器与手机客户端的长连接五:使用队列封装请求
- Android 使用Socket实现服务器与手机客户端的长连接六:二次封装
- 【解决方案】openfire服务器配置好后,电脑客户端能连接上,但移动端就是连接不上
- Android 使用Socket实现服务器与手机客户端的长连接二:多Client对一Server聊天
- 关于xmpp连接openfire服务器的一些常见问题
- Android使用Gson解析JSON连接服务器实现客户端登陆功能
- 不安装Oracle客户端,使用PLSQL连接Oracle服务器
- 使用axis2构建webservice时客户端内存不断增长导致应用服务器频繁重启的解决方案
- WebSocket 的使用,和客户端断电,服务器检测断开连接
- HTTPS-HSTS协议(强制客户端使用HTTPS与服务器创建连接)
- Android客户端基于XMPP的IM(openfire+asmack)的聊天工具之环境搭建及与服务器建立连接(一)
- Strophe.js连接XMPP服务器Openfire、Tigase实现Web私聊、群聊(MUC)
- 使用axis2构建webservice时客户端内存不断增长导致应用服务器频繁重启的解决方案 .
- Oracle 不安装Oracle客户端,使用PLSQL连接Oracle服务器
- Oracle10g 客户端连接服务器故障错误解决方案