只要應用程式的部署位置,並非其中部署說明 Web 應用程式 (clmhelp.war) 的伺服器,您就必須在 services.xml 和 teamserver.properties 檔中配置說明 WAR 的位置,如此才能從該應用程式內使用任何使用者輔助。
開始之前
您需要具備下列:
- clmhelp.war 的部署位址,其中包括埠號。
- 能夠在安裝應用程式的機器上編輯檔案。
- 能夠在伺服器上重新啟動應用程式。
程序
- 編輯 services.xml 檔:
- 對於部署了 clmhelp.war 的伺服器以外的個別伺服器中所安裝的每一個應用程式,在文字編輯器中開啟 services.xml 檔。 services.xml 檔是在 <JazzInstallDir>\server\conf\application 資料夾中(其中 application 是 jts、ccm、qm 或 rm)。
- 找出下列項目:
<jd:infocenterRoot rdf:resource="%server-URL%/../clmhelp" />
- 將 resource 屬性編輯為部署了 clmhelp.war 之機器的位址。一般而言,這是部署 JTS 之機器的位址:
<jd:infocenterRoot rdf:resource="protocol://host-name:port/clmhelp" />
例如,<jd:infocenterRoot rdf:resource="https://example.com:9443/clmhelp" />
- 儲存檔案。
- 編輯 teamserver.properties 檔:
- 在文字編輯器中,開啟 teamserver.properties 檔。 teamserver.properties 檔是在 <JazzInstallDir>\server\conf\application 資料夾中(其中 application 是 jts、ccm 或 qm;如果是 rm 應用程式,請編輯 jts 資料夾中的 teamserver.properties 檔)。
- 找出 com.ibm.team.repository.web.helpuri 項目。
- 將 resource 屬性編輯為部署了 clmhelp.war 之機器的位址。一般而言,這是部署 JTS 之機器的位址:
com.ibm.team.repository.web.helpuri=protocol://host-name:port/clmhelp/index.jsp
例如,com.ibm.team.repository.web.helpuri=https://example.com:9443/clmhelp/index.jsp
- 儲存檔案。
- 重新啟動應用程式。
- 編輯 fronting.properties 檔(只限 rm):
- 在文字編輯器中,開啟 fronting.properties 檔。 fronting.properties 檔在 <JazzInstallDir>\server\conf\rm 資料夾中。
- 找出 com.ibm.rdm.fronting.server.infocenterRoot 項目。
- 將 resource 屬性編輯為部署了 clmhelp.war 之機器的位址。一般而言,這是部署 JTS 之機器的位址:
com.ibm.rdm.fronting.server.infocenterRoot=protocol://host-name:port/clmhelp
例如,com.ibm.rdm.fronting.server.infocenterRoot=https://example.com:9443/clmhelp
- 儲存檔案。
- 重新啟動應用程式。
- 針對每個應用程式(CCM、QM、RM),登入「管理」頁面,新增 clmhelp 應用程式的位址到出埠 URL 白名單中。 如需存取及修改這份清單的相關資訊,請參閱管理 URL 白名單。
利用下列格式來新增項目:
protocol://host-name:port/clmhelp
例如:https://example.com:9443/clmhelp/