在 WebSphere Application Server 上部署和配置 Rational ClearQuest Web

本主题总结了如何在 Websphere Application Server 上部署和配置 Rational® ClearQuest® Web。

在本主题中,路径名使用下列变量:

表 1. 路径名变量
变量 定义
CQServerInstallDir Rational ClearQuest Web 服务器组件的安装目录。
WebSphereInstallDir WebSphere Application Server 的安装目录。
WebSphereComputer 安装 WebSphere Application Server 的计算机。
HTTPComputer 安装 HTTP Server 的计算机。

要部署 WebSphere Application Server 和 Rational ClearQuest Web 一起使用:

  1. 根据 IBM Rational ClearQuest and ClearQuest MultiSite Installation and Upgrade Guide 内的指示信息,安装 Rational ClearQuest Web 的 Rational ClearQuest 服务器组件。 安装 ClearQuest 服务器组件时,ClearQuest Web Application EAR 将复制到以下位置:
    • 在 Windows 上

      drive:\CQServerInstallDir\cqweb\cqwebws.ear

    • 在 UNIX 和 Linux 系统上

      CQServerInstallDir/cqweb/cqwebws.ear

    不要安装 Rational ClearQuest Web 应用程序组件。

  2. 使用 WebSphere Application Server 管理控制台从步骤 1 指定的位置安装 ClearQuest Web Application EAR 文件。安装 EAR 文件时,请遵循以下指示信息:
    • 不要更改缺省参数值。
    • 如果更改了 ClearQuest Web 应用程序的名称,名称中不允许嵌入空格。
    • 在主配置中保存安装。

    不要启动 Rational ClearQuest Web 应用程序。

  3. 如果 Rational ClearQuest Request Manager 和 WebSphere Application Server 不是安装在同一台机器上,请按在多台计算机上配置 Rational ClearQuest 服务器属性中的描述修改 jtl.properties 文件。 当您在 WebSphere Application Server 上部署 New ClearQuest Web 时,该文件将复制到下列位置:
    • 在 Windows 上

      drive:\WebSphereInstallDir\installedApps\ WebSphereComputer\RationalClearQuestWeb.ear\CQWebModule.war\WEB-INF\classes\jtl.properties

    • 在 UNIX 和 Linux 系统上

      WebSphereInstallDir/installedApps/WebSphereComputer/RationalClearQuestWeb.ear/CQWebModule.war/WEB-INF/classes/jtl.properties

  4. 编辑 common.properties 文件中的下列属性值,该文件与 jtl.properties 文件位于同一目录。

    在 common.properties 文件中,Windows、Linux 和 UNIX 系统的路径名都需要一个正斜杠(/)作为路径定界符。

    CQ_WEB_SERVER_NAME
    如果 HTTP Server 和 WebSphere Application Server 运行在不同的机器上,请将该值更改为运行 HTTP Server 的计算机名称。否则,请保持缺省值。

    缺省值:localhost

    PROPERTIES_DIR
    使用下列语法输入复制 Rational ClearQuest Web 应用程序 EAR 文件的完整路径名:
    • 在 Windows 上

      drive:/WebSphereInstallDir/installedApps/WebSphereComputer/RationalClearQuestWeb.ear/CQWebModule.war/WEB-INF/classes

    • 在 UNIX 和 Linux 系统上

      WebSphereInstallDir/installedApps/WebSphereComputer/RationalClearQuestWeb.ear/CQWebModule.war/WEB-INF/classes

    例如,在 Windows 上:

    PROPERTIES_DIR=C:/Program Files/WebSphere/AppServer/installedApps/mickey/RationalClearQuestWeb.ear/CQWebModule.war/WEB-INF/classes

    UPLOAD_DIR
    输入 Rational ClearQuest Web 应用程序将附件上传到 ClearQuest 服务器时使用的完整路径名。使用下列语法:
    • 在 Windows 上

      drive:/WebSphereInstallDir/installedApps/WebSphereComputer/RationalClearQuestWeb.ear/ CQWebModule.war/htdocs/cqattachments

    • 在 UNIX 和 Linux 系统上

      WebSphereInstallDir/installedApps/WebSphereComputer/RationalClearQuestWeb.ear/CQWebModule.war/htdocs/cqattachments

    例如,在 Windows 上:

    UPLOAD_DIR=C:/Program Files/WebSphere/AppServer/installedApps/mickey/RationalClearQuestWeb.ear/CQWebModule.war/htdocs/cqattachments

    DOWNLOAD_DIR
    输入 Rational ClearQuest 服务器将附件下载到 Rational ClearQuest Web 应用程序时所使用的相对路径名(即相对于 WebSphere Application Server 的安装目录)。使用下列语法:

    /cqweb/htdocs/cqattachments

    例如:

    DOWNLOAD_DIR=/cqweb/htdocs/cqattachments

    CHTRPT_DOWNLOAD_DIR
    输入 Rational ClearQuest Web 应用程序用于存储从服务器接收的报告和图表数据的完整路径名。使用下列语法:
    • 在 Windows 上

      drive:/WebSphereInstallDir/installedApps/WebSphereComputer/RationalClearQuestWeb.ear/CQWebModule.war/htdocs/cqchtrpts

    • 在 UNIX 和 Linux 系统上

      WebSphereInstallDir/installedApps/WebSphereComputer/RationalClearQuestWeb.ear/CQWebModule.war/htdocs/cqchtrpts

    例如,在 Windows 上:

    CHTRPT_DOWNLOAD_DIR=C:/Program Files/WebSphere/AppServer/installedApps/micky/RationalClearQuestWeb.ear/CQWebModule.war/htdocs/cqchtrpts

    CHTRPT_DOWNLOAD_URL
    输入 WebSphere Application Server 存储图表和报告数据的相对路径名(即相对于 WebSphere Application Server 安装目录)。HTTP Server 使用此相对路径来构造关联的 Web 地址。使用下列语法:

    /cqweb/htdocs/cqchtrpts

    例如:

    CHTRPT_DOWNLOAD_URL=/cqweb/htdocs/cqchtrpts

  5. 使用 WebSphere 管理控制台的“更新 Web 服务器插件配置”页面重新生成插件配置。
  6. 重新启动 HTTP Server。
  7. 启用 Rational ClearQuest Web 应用程序。
  8. 通过在客户端的浏览器中输入下列 Web 地址来验证 WebSphere Application Server 上的 Rational ClearQuest Web 应用程序配置:

    http://HTTPComputer/cqweb/login

    如果配置是正确的,登录页面将打开。



反馈