在 Microsoft Windows Server 更新后, IBM Cognos 报告工具显示错误: " 未找到上下文根目录 "
适用场景
- OnCommand Insight 数据仓库( DWH ) 7.3.x
- Microsoft Windows Server
问题描述
症状 1 :
- 尝试访问 OnCommand Insight 数据 Warhouse 的 Web 界面时,用户将看到 IBM WebSphere 应用程序服务器通知: "Context Root not found" 。
症状 2 :
- 尝试通过 IBM Cognos Configuration 手动启动 IBM Cognos 时,操作将失败,并显示以下内容。
[Launching a JVM using 'Maximum memory in MB']
Successfully launched a test JVM with the memory setting of '4096'. Note that this does not guarantee that the IBM Cogn os service will start and run successfully.
- 要查看基于此设置的 JVM 选项,请查看 ibmcognos_location/bin64/bootstrap_wlP_<os>.xml ,并查看我们的 JVM 文档以了解这些选项的说明。
[Archive Local File System Root]
Since the value is empty, the feature is disabled. There is nothing to test.
[Start Service]
[ ERROR ] CFG-ERR-0106 IBM Cognos Configuration did not receive a response from the IBM Cognos service in the tim e allotted.
Check that IBM Cognos service is available and properly configured.
症状 3.
- 在 "p2pd_messages.log" 文件中,可以找到以下行。
[com.ibm.ws.kernel.filemonitor.internal.scan.ScanningCoreServiceImpl(21) ] The setMonitor method has thrown an exception Bundle:com.ibm.ws.kernel.filemonitor(id=17) java.lang.IllegalArgumentException
- 或者,也可以在 "p2pd_messages.log" 文件中看到这些行。
[8/9/19 13:13:59:835 MST] 00000023 com.ibm.ws.kernel.feature.internal.FeatureManager E CWWKF0003E: An exception was generated when installing or uninstalling bundle INSTALL file:/F:/Program%20Files/SANscreen/cognos/analytics/wlp/usr/extension/lib/logging-feature-log4j2.jar (resolved from: com.ibm.bi.logging.onlog4j2/[1.0.0,2.0.0)@file:/F:/Program%20Files/SANscreen/cognos/analytics/wlp/usr/extension/lib/lo gging-feature-log4j2.jar). Exception: java.lang.NullPointerException
- 根据您的 OnCommand Insight 数据 Warhouse 版本, "p2pd_messages.log" 文件通常位于以下目录中:
- C : \Program Files\SANscreen\cognos\c10_64\logs
- C : \Program Files\SANscreen\cognos\Analytics \logs