配置 ClearQuest Report Server for Crystal Reports

這個主題說明如何配置 ClearQuest Report Server for Crystal Reports。

關於這項作業

小心: 在現行版本中,ClearQuest Report Server for Crystal Reports 只可以在 Rational ClearQuest Web 支援的部分平台上才支援,用以執行傳統資料推送報告。請參閱 Technote 1216371
以下變數會用於這個主題的路徑名稱中:
RATIONAL_COMMON
Rational 共用檔的安裝目錄
安裝 ClearQuest Report Server for Crystal Reports 之後,您必須更新這個 Web 元件以納入必要的 Crystal Reports「Java 報告元件」(JRC) 執行時期支援。

程序

  1. 從 Business Objects 網站 http://www.businessobjects.com/ibmrational 下載 Crystal Reports「Java 報告元件」(JRC) 保存檔 CrystalReports_CQ_JRC.zip 獲授權的 IBM Rational ClearQuest 使用者可以免費下載 JRC。
  2. 將 Crystal Reports JRC 複製到 Web 應用程式。
    在 Windows 上:
    執行批次檔 configureJRC.bat
    1. 開啟命令提示字元視窗,然後導覽至安裝 configureJRC.bat 的目錄:
      cd %RATIONAL_COMMON%\CM\profiles\cmprofile\installedApps\dfltCell\RationalClearQuestWebReport.ear\CQWebReportModule.war
    2. CrystalReports_CQ_JRC.zip 檔案複製到這個目錄中。
    3. 執行下列指令:
      configureJRC CrystalReports_CQ_JRC.zip

    在 UNIX 系統和 Linux 上:
    執行 configureJRC.sh Shell Script。
    1. 開啟 UNIX 主控台視窗,然後導覽至安裝 configureJRC.sh 的目錄:
      cd $RATIONAL_COMMON/CM/profiles/cmprofile/installedApps/dfltCell/RationalClearQuestWebReport.ear/CQWebReport.war
    2. CrystalReports_CQ_JRC.zip 檔案複製到這個目錄中。
    3. 在要執行的 configureJRC.sh Script 上設定權限:
      chmod u+x ./configureJRC.sh
    4. 執行下列指令:
      ./configureJRC.sh CrystalReports_CQ_JRC.zip
  3. 停止並重新啟動 IBM WebSphere Application Server 來啟動變更。
    在 Windows 上:
    1. 按一下開始 > 控制台 > 系統管理工具 > 服務
    2. 在「服務」窗格中,用滑鼠右鍵按一下 IBM WebSphere Application Server 6.1 版 - cmprofile,然後選取停止
    3. 服務停止之後,按一下滑鼠右鍵並選取啟動來重新啟動。
    在 UNIX 系統和 Linux 上:
    1. 從 UNIX 主控台視窗導覽至下列目錄:
      cd $RATIONAL_COMMON/eWAS/bin
    2. 鍵入下列指令,以停止並啟動預設設定檔:
      ./stopServer.sh WebSphere-host
      ./startServer.sh WebSphere-host

    如果您在 WebSphere Application Server 實例中使用了多個設定檔(比方說,一個用於 Rational ClearQuest Web,另一個用於 RequisitePro Web),您也必須在指令行中指定該設定檔。例如:

    ./stopServer.sh WebSphere-host -profileName cmprofile
    ./startServer.sh WebSphere-host -profileName cmprofile
  4. 開啟 Web 瀏覽器視窗並輸入下列 URL,來確認 Report Server for Crystal Reports 已適當配置:

    http://localhost:12080/cqwebreport/CRInvoker

    如果您看到以下訊息,表示伺服器已適當配置:

    報告文件已過期。
  5. 在下列狀況下,還需要執行其他配置步驟:
    • 在 ClearQuest 綱目中變更了資料庫欄位名稱
    • ClearQuest 顯示欄位名稱不符合資料庫欄位名稱
    • ClearQuest 顯示欄位名稱超過 30 個字元

    請參閱 Technote 1419660


意見