在分布式环境中配置帮助的位置

对于与帮助 Web 应用程序 (clmhelp.war) 部署在不同服务器上的任何应用程序,必须在 services.xml 和 teamserver.properties 文件中配置帮助 WAR 的位置,以在该应用程序内可以使用任何用户帮助。

开始之前

您将需要下列信息:

过程

  1. 编辑 services.xml 文件:
    1. 对于安装在不是部署了 clmhelp.war 的服务器的其他服务器上的每个应用程序,在文本编辑器中打开 services.xml 文件。 services.xml 文件位于 <JazzInstallDir>\server\conf\application 文件夹中(其中 application 是 jts、ccm、qm 或 rm)。
    2. 找到此条目:
      <jd:infocenterRoot rdf:resource="%server-URL%/../clmhelp" />
    3. 将资源属性编辑为在其中部署了 clmhelp.war 的机器地址的资源属性。通常,这将是在其中部署 JTS 的机器地址:
      <jd:infocenterRoot rdf:resource="protocol://host-name:port/clmhelp" />
      例如,
      <jd:infocenterRoot rdf:resource="https://example.com:9443/clmhelp" />
    4. 保存文件。
  2. 编辑 teamserver.properties 文件:
    1. 在文本编辑器中打开 teamserver.properties 文件。 teamserver.properties 文件位于 <JazzInstallDir>\server\conf\application 文件夹中(其中 application 是 jts、ccm 或 qm;对于 rm 应用程序,请编辑 jts 文件夹中的 teamserver.properties 文件)。
    2. 找到 com.ibm.team.repository.web.helpuri 条目。
    3. 将资源属性编辑为在其中部署了 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
    4. 保存文件。
    5. 请重新启动应用程序。
  3. 编辑 fronting.properties 文件(仅限于 rm):
    1. 在文本编辑器中打开 fronting.properties 文件。 fronting.properties 文件位于 <JazzInstallDir>\server\conf\rm 文件夹中。
    2. 找到 com.ibm.rdm.fronting.server.infocenterRoot 条目。
    3. 将资源属性编辑为在其中部署了 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
    4. 保存文件。
    5. 请重新启动应用程序。
  4. 对于每个应用程序(CCM、QM 和 RM),登录管理页面并将 clmhelp 应用程序的地址添加到出站 URL 白名单。 有关访问和修改此列表的更多信息,请参阅管理 URL 白名单。请使用以下格式添加此条目:
    protocol://host-name:port/clmhelp
    例如:
    https://example.com:9443/clmhelp/

反馈