【问题标题】:XPages Runtime version reports WCT instead of DSIXPages Runtime 版本报告 WCT 而不是 DSI
【发布时间】:2014-02-21 17:32:05
【问题描述】:

我们有一个现有的 Domino 8.5.3 FP4 服务器,这是第一次用于 XPages 应用程序。 OpenNTF 的最新扩展库已安装,但我们遇到的问题似乎与标准 XPages 运行时有关。

一个简单的 XPage 正在显示:

Error 500
HTTP Web Server: Command Not Handled Exception

在 xpages_exc_XXX.log 中:

Caused by: org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Missing Constraint: Import-Package: org.eclipse.equinox.http.servlet

这似乎是由于 WCT 被报告为版本:

tell http osgi show version
XSP Runtime Version: [WCT8.5.3_FP4] 20130326.1400

什么会导致报告 WCT 而不是 DSI?我读到它应该始终是 Domino XPages 的 DSI。

tell http osgi diag org.eclipse.equinox.http.registry
Cannot find bundle org.eclipse.equinox.http.servlet.

D:\Lotus\Domino\osgi\rcp\eclipse\plugins 中的以下文件似乎在 Domino 安装后已更新:

com.ibm.eclipse.equinox.http.registry.nl_6.2.3.20110815-1128.jar
org.eclipse.equinox.http.registry_1.0.100.v20080427-0830.jar
org.eclipse.equinox.http.servlet_1.0.100.v20080427-0830.jar

谢谢

  • 2014 年 2 月 4 日 09:45 更新

我执行了以下操作:

tell http osgi diag org.eclipse.equinox.http.servlet
Cannot find bundle org.eclipse.equinox.http.servlet.

这没有列出以下内容(显示在工作服务器上) - 尽管列出了捆绑包 0-7 和 10-152:

tell http osgi ss

8 ACTIVE      org.eclipse.equinox.http.registry_1.0.100.v20080427-0830
Fragments=45
9 ACTIVE      org.eclipse.equinox.http.servlet_1.0.100.v20080427-0830

我可以做任何进一步的调试来确定为什么找不到捆绑包吗?

【问题讨论】:

    标签: eclipse xpages lotus-domino xpages-extlib


    【解决方案1】:

    我认为 WCT 与 DSI 标签不是问题。这只是 IBM 如何构建修订包的产物。但是,您系统上安装的 OSGi 插件集似乎确实存在问题。

    它似乎无法加载 equinox.http.registry,因为它找不到所需的插件 -- equinox.http.servlet。您是否尝试过调查为​​什么第二个插件无法加载?换句话说:

    tell http osgi diag org.eclipse.equinox.http.servlet
    

    这可能会帮助您找到缺失的约束。

    【讨论】:

    • 感谢您的建议,我已经用我最近完成的测试更新了问题
    • 对不起,加里。对我来说,出了什么问题并不明显。您说一些插件,包括 equinox.http.servlet,“似乎在安装 Domino 后已经更新”。也许 OSGi 无法加载插件,因为它已损坏。我唯一能想到的就是重新安装 8.5.3 和 FP4。祝你好运。
    • 好的,感谢您的确认。重新安装 Domino 是我的下一步,但我想先检查一下。
    猜你喜欢
    • 2012-05-22
    • 1970-01-01
    • 2012-08-09
    • 1970-01-01
    • 2015-12-03
    • 1970-01-01
    • 2018-07-24
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多