问题(摘要)
[Simplified Chinese] 该技术文档说明了如何解决在安装和配置IBM Rational Common Reporting服务器时可能发生的错误:"DPR-ERR-2109 The dispatcher cannot service the request at this time. The dispatcher is still initializing. Contact administrator if this problem persists"。
症状
从浏览器连接到报告服务器时,您可能收到如下的错误信息:
DPR-ERR-2109 The dispatcher cannot service the request at this time. The dispatcher is still initializing. Contact administrator if this problem persists.
错误信息的截图如下:
注: 错误信息和截图都是从英文版的环境取得。
原因
发生该错误的一种可能的原因是数据库驱动程序(该文档以IBM DB2为例)没有被复制到报告服务器适当的目录。
诊断问题
如果这是该问题的根本原因,您将在cogserver.log中找到以下的错误 [ <code>]
CM-CFG-5034 Content Manager failed to start because it could not load driver "com.ibm.db2.jcc.DB2Driver"
(该日志的缺省位置是 C:\Program Files\IBM\RCPR\cognos\logs)
解决问题
在DB2客户机或服务器的以下目录:
[DB2安装目录]\java\
(Microsoft Windows系统上的缺省位置是 C:\Program Files\IBM\SQLLIB\java\)
复制如下的DB2驱动程序:
- db2java.jar或db2java.zip
- db2jcc*.jar
- db2policy.jar
注: 如果db2java.jar文件丢失但db2java.zip存在,把db2java.zip重命名为db2java.jar。
再把它们拷贝到以下的两个位置:
- [Rational_Common_Reporting安装目录]\cognos\webapps\p2pd\WEB-INF\lib
(Microsoft Windows系统上的缺省位置是 C:\Program Files\IBM\RCPR\cognos\webapps\p2pd\WEB-INF\lib)
- [Rational_insight安装目录]\AppServer\profiles\RationalInsight\installedApps\RCRNode01Cell\IBM Cognos 8.ear\p2pd.war\WEB-INF\lib
(icrosoft Windows系统上的缺省位置是 C:\Program Files\IBM\RCPR\AppServer\profiles\RationalInsight\installedApps\RCRNode01Cell\IBM Cognos 8.ear\p2pd.war\WEB-INF\lib)
重新启动服务器。