对于与帮助 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" />
- 将资源属性编辑为在其中部署了 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 条目。
- 将资源属性编辑为在其中部署了 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 条目。
- 将资源属性编辑为在其中部署了 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/