在 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 伺服器的電腦。

如果要搭配 Rational ClearQuest Web 來部署和使用 WebSphere Application Server:

  1. 遵循 IBM Rational ClearQuest 及 ClearQuest MultiSite 安裝與升級手冊的指示來安裝 Rational ClearQuest Web 的 Rational ClearQuest Server 元件。 安裝 ClearQuest Server 元件時,ClearQuest Web 應用程式 EAR 檔會複製到這個位置:
    • 在 Windows 上

      drive:\CQServerInstallDir\cqweb\cqwebws.ear

    • 在 UNIX 系統與 Linux 上

      CQServerInstallDir/cqweb/cqwebws.ear

    請勿安裝 Rational ClearQuest Web 應用程式元件。

  2. 利用 WebSphere Application Server 管理主控台,從第 1 步驟指定的位置安裝 ClearQuest Web 應用程式 EAR 檔。 當安裝 EAR 檔時,請遵循下列準則:
    • 不要變更預設參數值。
    • 如果您變更 ClearQuest Web 應用程式的名稱,請勿使用內含空格的名稱。
    • 將安裝儲存在主要配置中。

    請勿啟動 Rational ClearQuest Web 應用程式。

  3. 如果 Rational ClearQuest Request Manager 和 WebSphere Application Server 安裝在不同的機器上,請修改 jtl.properties 檔案, 如配置多部電腦的 Rational ClearQuest 伺服器內容所述。 當新的 ClearQuest Web 部署到 WebSphere Application Server 時,這個檔案會複製到下列位置:
    • 在 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. jtl.properties 檔案所在的相同目錄中,在中編輯 common.properties 檔案中的下列內容值。

    在 common.properties 檔案中,Windows、Linux 及 UNIX 系統的路徑名稱需要以斜線 (/) 做為路徑定界字元。

    CQ_WEB_SERVER_NAME
    如果 HTTP 伺服器和 WebSphere Application Server 是在不同的電腦中執行,請將這個值改成執行 HTTP 伺服器的電腦名稱。 否則,請保留預設值。

    預設值: 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
    輸入相對路徑名稱(也就是相對於 WebSphere Application Server 安裝目錄), 供 Rational ClearQuest Server 將附件下載至 Rational ClearQuest Web 應用程式。 請使用下列語法:

    /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 伺服器利用這個相對路徑來建構相關聯的網址。 請使用下列語法:

    /cqweb/htdocs/cqchtrpts

    例如:

    CHTRPT_DOWNLOAD_URL=/cqweb/htdocs/cqchtrpts

  5. 利用 WebSphere 管理主控台的「更新 Web 伺服器外掛程式配置」頁面來重新產生外掛程式配置。
  6. 重新啟動 HTTP 伺服器。
  7. 啟動 Rational ClearQuest Web 應用程式。
  8. 在用戶端電腦瀏覽器中輸入下列網址,驗證 WebSphere Application Server 上的 Rational ClearQuest Web 應用程式配置:

    http://HTTPComputer/cqweb/login

    如果配置正確,則會開啟登入頁面。



建議與意見