设置 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 Server,请通过将 localhost 替换为远程 CM Server 的 IP 地址或主机名来修改以下行。
    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.serverPathreport.service.crystal.serverPort 属性用于构造 URL,以在 Report Server for Crystal Reports 上运行报告。 对于值 report.service.crystal.serverPath,可以指定一个相对路径或 URL。 如果指定一个相对路径,Crystal Reports 适配器会使用服务器的 IP 地址和 report.service.crystal.serverPort 属性的值构造 URL。

    要指定一个 SSL(安全套接字层)URL,请针对 report.service.crystal.serverPath 属性值输入 URL。 例如:
    report.service.crystal.serverPath=https://host-ip-address-or-name:12043/cqwebreport/CRInvoker
  6. 保存并关闭文件。

反馈