IBM Cognos报告工具显示错误:"Context Root not found (找不到上下文根)"
适用场景
- OnCommand Insight 数据仓库( DWH ) 7.3.x
- Microsoft Windows Server
问题描述
症状 1 :
- 在尝试访问OnCommand Insight数据Warhouse的Web界面时、用户将看到IBM Webserver通知:
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.
DPR-ERR-2109 The dispatcher cannot service the request at this time. The dispatcher is still initializing.
Contact your administrator if this problem persists
- 要查看基于此设置的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 time 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
p2pd_messages.log
根据您的OnCommand Insight数据Warhouse版本、""文件通常位于以下目录中:C:\Program Files\SANscreen\cognos\c10_64\logs
C:\Program Files\SANscreen\cognos\analytics\logs