问题标签 [openfire]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
xmpp - 配置 punjab 以向 Openfire 发送 xmpp 请求
我正在尝试将旁遮普连接管理器与 Openfire 一起使用。我有一个已经在运行的 Openfire 服务器。我还安装了 punjab 并且服务器正常启动,允许我导航到 localhost 上的端口 5280。(虽然http://localhost:5280/http-bind给出了“找不到资源的消息”。)我不知道如何从这里开始。我在 openfire 管理控制台中的连接管理器下启用了一个设置,上面写着“连接管理器可以连接到此服务器。”。
如何配置 punjab 以连接 xmpp 服务器?
到目前为止,我正在使用 apache 中的 xmpp stophe lib 和代理模块直接建立与服务器的 bosh 连接。现在我想使用旁遮普语。
sql - Openfire Sql 数据库集成
我正在按照本指南(http://www.igniterealtime.org/builds/openfire/docs/latest/documentation/db-integration-guide.html)将 Openfire 服务器与 Sql Server 数据库集成。
我像这样配置了 openfire.xml:
当我打开服务器时,它不会显示任何错误,它会将文件恢复为默认值。我检查日志,我找不到任何东西。
xmpp - 发送 XMPP (Smack) 消息
好的,问题应该是微不足道的,但我无法深入了解它。
我有两个用户 A 和 B
他们在本例中的 JID 将是 A@123 和 B@123,其中 123 是服务器的 IP。
我使用以下代码从 A->B 发送消息:
我已经对 IP 进行了硬编码,因此我 100% 确定我在昵称末尾附加了“@123”,因此没有不正确的 JID。
所以 A@123 将 msgObj 发送给 B@123。这就是我理解 XMPP 消息传递工作的方式。您不能从 A->B 发送,但必须是 A@123 -> B@123。
但是,我的服务器似乎不这么认为。它不断通知我以下错误:
在 Openfire 服务器上 A 和 B 的花名册中,他们以正确的 JID(用户名@123)作为联系人。
谁能提供一些见解?我迷路了。
编辑
我正在尝试使用 Wireshark 捕获发送到 Openfire 服务器和从 Openfire 服务器发送的 XML,以确定消息的收件人是否正确命名(A@123 而不是 A)。
使用 Wireshark 后,我收到了正在传输的 XML:
我禁用了 SSL,我的连接不安全。我不确定为什么我会得到 SSL 类型的 XML,是这样吗?
java - 修改和重建 Openfire 插件
我正在尝试修改Openfire中的消息监控插件。
我使用 svn 检查了代码。而且我还可以弄清楚我需要更改代码的内容和位置。但我不清楚重建插件和测试我的更改。
在 Eclipse 中,我可以将“plugins.monitoring”包导出为.jar
,但它不会导出所有类。例如,它导出plugins.monitoring.src.web
但忽略子包中的类(如果我对这个词没有错的话),例如plugins.monitoring.src.java.org.jivesoftware.openfire.reporting.util
.
如何只编译一个包并将其导出到.jar
文件?
谢谢
java - 如果在 java 中使用 smack Api 和 openfire,可以显示 powerpoint 并在客户端聊天中滑动
我想知道使用 Smack Api 创建应用程序聊天,Openfire 是服务器,我的问题是如果我想在聊天框中显示幻灯片(powerpoint),我可以这样做吗?如果可以的话,它看起来像powerpoint吗?这意味着当用户A将ppt文档浏览到聊天框时,用户B可以看到ppt文档的第一张幻灯片,然后用户A单击前进按钮并且ppt文档是幻灯片。用户 B 只看下一张幻灯片。
java - XMPP: RFC on establishing mutual subscription when original requester is offline (subscribed presence)
we've got an XMPP server (OpenFire) and a custom client based on the Java Smack XMPP stack. We're using manual subscription acceptance, so clients have to exchange subscribe and subscribed presences.
As noted in the RFC, subscribe presences ("I want to subscribe to your presences") are stored by the server and resent every time the user logs in until he answers them. Unfortunately, the same does not seem to be true for the answers ("subscribed" or "unsubscribed"). If the original requester if offline when the other users answers the subscription request, he does not receive the answer. I could not find anything in the XMPP RFC about expected behaviour of the server.
What can I do? Is there something I might have missed? Or is there a standard way to implement this use case?
This OpenFire forum post suggests that the behaviour I'm experiencing is the desired one...
Thanks for all pointers, Florian
search - Smack(和 XMPP)执行批量搜索和添加到名册操作的能力?
一般来说,XMPP(特别是 Smack 库和 OpenFire 服务器)是否支持批量搜索和批量添加到名册操作?在这里交叉发布:http: //community.igniterealtime.org/thread/43615
xmpp - 构建 Openfire XMPP 外部组件 - 使用 Tinder 还是 Whack?
我正在尝试为 Openfire XMPP 服务器构建一个外部组件,但我对 Tinder 和 Whack 有点困惑。Tinder 似乎是较新的库,并且具有 Ignite Realtime 推荐的 AbstractComponent 接口而不是标准组件,但是,每当有人谈论构建外部组件时,他们似乎都在使用 Whack 库。
我应该使用 Tinder 还是 Whack?还是两者兼而有之?
非常感谢
android - EC2 亚马逊网络服务 (AWS) 上的 XMPP 服务器
我的公司在其 XMPP Android 应用程序中将 OpenFire 用于服务器端,并将 smack 用于客户端。
AWS 似乎是满足我们需要的良好且可扩展的服务。我们用它来测试我们的应用程序,但我担心服务器会因 20k-50k 用户而崩溃。
我有两个问题:
- AWS 对于 XMPP (OpenFire) 服务器是否足够好?优缺点都有什么?
- 我如何构建这样一个至少可以处理 20k 在线用户的应用程序,比如说 2k 打开的聊天室?
- 这种东西有什么具体的教程吗?
就服务器成本而言,钱不是问题。现在时间对我们来说很重要。
java - 在普通 XMPP 上使用 Apache ActiveMQ + XMPP 进行消息传递
我正在制作一个消息传递系统,并考虑使用带有 XMPP 的 ActiveMQ作为传输。我已经使用普通的 XMPP 和OpenFire服务器在系统的分布式部分之间进行类似的基于消息传递的通信。鉴于 Apache ActiveMQ 中内置的 Jabber 服务器远不如 Openfire Jabber 服务器那样简洁且开箱即用,那么在 XMPP 之上分层 ActiveMQ 会有什么优势。
问题 1) 我可以用 Openfire 替换内置的 Jabber 服务器并仍然使用 ActiveMQ 吗?
所有客户端和服务器组件都将使用 Java,过去我使用过 Openfire Xmpp (Spark) 库。
问题 2) ActiveMQ 对代理 XMPP 有什么吸引力