修改核心配置檔

festival.xml 檔是 Rational® DOORS® Web Access 中的核心配置檔。請修改 f:brokerf:repository-mappingf:properties 的項目,以符合您的分配管理系統、儲存庫及授權伺服器設定。

程序

  1. festival.xml 檔有三個說明分配管理系統位置的 f:broker 項目。請編輯這些項目,來指向您使用預設埠 (61616) 安裝分配管理系統之系統的 URL。 如果分配管理系統與 Rational DOORS Web Access 伺服器位於相同的系統上,您就不需編輯這些項目。
    <!-- Brokers we know about -->
    <f:endpoints>
       <f:broker 
          .
          url="tcp://127.0.0.1:61616?wireFormat.tcpNoDelayEnabled=true&amp;wireFormat.maxInactivityDuration=0" 
          .
          .
             
       <f:broker 
          .
          url="tcp://127.0.0.1:61616?wireFormat.tcpNoDelayEnabled=true&amp;wireFormat.maxInactivityDuration=0" 
          .
          .
             
       <f:broker 
          .
          url="tcp://127.0.0.1:61616?wireFormat.tcpNoDelayEnabled=true&amp;wireFormat.maxInactivityDuration=0" 
          .
          .
             
    </f:endpoints>
  2. f:repository-mapping 項目定義儲存庫的 URN。
    1. name 屬性是在 Rational DOORS Web Access 登入頁面上所顯示的名稱。您可以變更這個屬性。預設值是 DOORS ERS Repository
    2. repositoryUrn 屬性必須符合您在識別資料庫統一資源名稱中所識別之 Rational DOORS 資料庫伺服器的統一資源名稱(URN)。您必須變更這個屬性。
    <!-- Mapping from Repository IDs to the broker we use to reach the repository -->
       <f:mappings>
          <f:repository-mapping
             .
             .
             name="DOORS ERS Repository"
             repositoryUrn="urn:rational:ers-46dd5d7806b96973:" />
       </f:mappings>
  3. 您必須變更檔案的 f:properties 區段。
    1. 必要性的: 請輸入授權伺服器的位置。更新此行中的值:
      <f:properties>
        <f:property name="licence.server.location" value="19353@localhost"/>
      此位置會新增到您系統上保留的授權位置清單中。
    2. 選擇性的: 您可以將 Rational DOORS Web Access 設定成顯示介面中現行模組的 URL。如果要顯示 URL,請將下列一行中的 value="false" 變更成 value="true"
       <f:property name="display.redirector.urls" value="false"/>
    3. 選擇性的: 如果 Rational DOORS 資料庫使用公司 LDAP 來進行使用者鑑別,您必須新增下列一行,從「歡迎使用」畫面中移除變更密碼選項。請新增這一行:
       <f:property name="change.password.enabled" value="false"/>
    4. 必要性的: 將兩個 URL 值變更成您在配置 Rational DOORS 資料庫伺服器dbadmin 指令中所輸入的值。將 http://MYHOSTNAME.8080/ 變更成您對 -dwaProtocol-dwaHost 以及 –dwaPort 所輸入的值,例如,如果您輸入 -dwaProtocol http-dwaHost dwa_server 以及 –dwaPort 8080,請將下列幾行變更成:
       <f:property name="published.url.prefix" value="http://dwa_server:8080/doors/redirector/"/>
                            
       <f:property name="oauth.domain" value="http://dwa_server:8080/dwa" />
    5. 必要性的: ForceHttpsForAuthenticationForOAuth 設成 false
       <f:property name="ForceHttpsForAuthenticationForOAuth" value="false" />
      註: 如果 Tomcat 已配置成使用 SSL,請將 ForceHttpsForAuthenticationForOAuth 設成 true
  4. 儲存並關閉檔案。

意見