本主题解释如何配置 ClearQuest Report Server for Crystal Reports。
安装 ClearQuest Report Server for Crystal Reports 之后,必须更新此 Web 组件以包含所需的 Crystal Reports Java 报告组件(JRC)运行时支持。
- 从下列地址的业务对象 Web 站点下载 Crystal Reports JRC:http://www.businessobjects.com/ibmrational。 IBM Rational ClearQuest 许可用户可免费下载此 JRC。
- 在 Windows 上,运行批处理文件 configureJRC.bat,以便将 Crystal Reports JRC 复制到该 Web 应用程序。
- 打开命令提示符窗口,并浏览至安装 configureJRC.bat 的目录:
cd drive:\Program Files\IBM Rational\common\CM\profiles\cmprofile\installedApps\profile\RationalClearQuestWebReport.ear\CQWebReportModule.war
- 运行以下命令:
configureJRC JRC-archive-path
在 UNIX 系统和 Linux 上,运行 shell 脚本 configureJRC.sh,以便将 Crystal Reports JRC 复制到该 Web应用程序。
- 打开 UNIX 控制台窗口,并浏览至安装 configureJRC.sh 的目录:
cd /opt/rational/common/cmprofile/installedApps/dfltCell/RationalClearQUestWebREport.ear/CQWebReport.war
- 运行以下命令:
./configureJRC.sh JRC-archive-path
- 重新启动 IBM WebSphere Application Server 以激活更改。
在 Windows 上:
- 单击。
- 在“服务”窗格中,右键单击 IBM WebSphere Application Server V6.1 - cmprofile,然后选择停止。
- 服务停止之后,通过右键单击并选择启动将其重新启动。
在 UNIX 系统和 Linux 上:
- 从 UNIX 控制台窗口,浏览至以下目录:
cd /opt/rational/common/eWAS/bin
- 停止并重新启动 WebSphere Application Server。以下命令将停止和启动缺省概要文件:
./stopServer.sh server1
./startServer.sh server1
如果在该 WebSphere Application Server 实例中使用多个概要文件(例如,一个用于 Rational ClearQuest Web,另一个用于 RequisitePro Web),那么还必须在命令行上指定概要文件。
例如:
./stopServer.sh server1 -profileName cmprofile
./startServer.sh server1 -profileName cmprofile
- 通过打开 Web 浏览器窗口并输入以下 URL 来验证 Report Server for Crystal Reports 是否已正确配置:
http://localhost:12080/cqwebreport/CRInvoker
如果看到以下消息,就说明服务器已正确配置:
The report document has expired.