设置 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. 如果要将 Crystal Reports 与 Report Server for ClearQuest 一起使用,请验证或修改以下属性的值(缺省值如下所示):
    # 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. 保存并关闭文件。

反馈