【发布时间】:2016-08-04 05:40:06
【问题描述】:
我正在尝试安装 Openfire 4.0.2 。我的问题是重新启动 Openfire 并按管理控制台后,我总是看到设置页面。我该怎么做才能解决它?
这是我的 openfire.xml 文件
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file stores bootstrap properties needed by Openfire.
Property names must be in the format: "prop.name.is.blah=value"
That will be stored as:
<prop>
<name>
<is>
<blah>value</blah>
</is>
</name>
</prop>
Most properties are stored in the Openfire database. A
property viewer and editor is included in the admin console.
-->
<!-- root element, all properties must be under this element -->
<jive>
<adminConsole>
<!-- Disable either port by setting the value to -1 -->
<port>7090</port>
<securePort>7091</securePort>
</adminConsole>
<locale>en</locale>
<!-- Network settings. By default, Openfire will bind to all network interfaces.
Alternatively, you can specify a specific network interfaces that the server
will listen on. For example, 127.0.0.1. This setting is generally only useful
on multi-homed servers. -->
<!--
<network>
<interface>127.0.0.1</interface>
</network>
-->
<!-- SPDY Protocol is npn.
(note: npn does not work with Java 8)
add -Xbootclasspath/p:/OPENFIRE_HOME/lib/npn-boot.jar to .vmoptions file -->
<!--
<spdy>
<protocol>npn</protocol>
</spdy>
-->
<!-- XEP-0198 properties -->
<stream>
<management>
<!-- Whether stream management is offered to clients by server. -->
<active>true</active>
<!-- Number of stanzas sent to client before a stream management
acknowledgement request is made. -->
<requestFrequency>5</requestFrequency>
</management>
</stream>
</jive>
谢谢。
【问题讨论】:
-
在设置向导中,您是否至少成功完成了一次?因为您共享的 openfire.xml 中没有可见的数据库配置。
-
@shoaib-ahmad-gondal 这就是我已经多次完成设置向导(在浏览器中)的问题,我猜至少有 20 次或更多。
-
尝试在
en 之后添加true 作为的直接子级,然后检查问题是否仍然存在。 -
@shoaib-ahmad-gondal 现在它给了我“数据库设置或配置错误”。
标签: openfire