這個主題說明如何配置 ClearQuest Report Server
for Crystal Reports。
安裝 ClearQuest Report Server for Crystal Reports 之後,您必須更新這個 Web 元件以納入必要的 Crystal Reports「Java 報告元件」(JRC) 執行時期支援。
- 從以下 Business Objects 網站下載 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 Script 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 6.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
如果您看到以下訊息,表示伺服器已適當配置:
報告文件已過期。