設定 Rational ClearQuest 資料庫內容

必須在 /RCQR/server/reportserver.properties 檔案中設置正確的值,才能啟用 Report Server for ClearQuest 範例報告。
如果要檢查或變更資料庫內容,請執行下列動作:
  1. 在文字編輯器中,開啟 /RCQR/server/reportserver.properties
  2. 在檔案中找出下面這幾行:
    user.registry.cq.dbSet=7.0.0
    user.registry.cq.userDb=SAMPL
  3. 驗證這些值與顯示的值相同,並依需求加以修改。 請注意,這些值應該符合 ClearQuest Maintenance Tool 中的資料庫值。
  4. 如果您是使用遠端 CM 伺服器,也請檢查下面這一行:
    user.registry.cq.connectionUrl=http://localhost:12080/TeamWeb/services/Team
  5. 如果您是使用含有 Report Server for ClearQuest 的 Crystal Reports, 請驗證或修改下列內容的值(會顯示預設值):
    # Crystal Reports 配接器內容
    report.service.crystal.serverPath=/cqwebreport/CRInvoker
    report.service.crystal.serverPort=12080
    report.service.crystal.reportViewerHeight=600

    report.service.crystal.serverPath 內容會用來建置 Report Server for Crystal Reports 要求的 URL。 您可以指定部分 URL 路徑或完整 URL 路徑。在使用部分路徑時,Crystal Reports 配接器會使用伺服器的 IP 位址和 report.service.crystal.serverPort 內容來建構完整 URL。

    report.service.crystal.serverPort 內容會用來建構 URL,以在 Report Server for Crystal Reports 啟動報告。使用預設值時,產生的 URL 如下:
    http://<host_ip>:12080/cqwebreport/CRInvoker 
    如果要指定 https URL,請對 serverPath 設定輸入完整的 URL。例如:
    report.service.crystal.serverPath=https://<host>:12043/cqwebreport/CRInvoker
  6. 儲存並關閉檔案。

意見