附加步骤:在 WebSphere Application Server 8 上阻止 URL 编码

手动部署远程服务应用程序并且正在使用 WebSphere® Application Server 8 时,必须将 com.ibm.ws.classloader.encodeResourceURLs 属性设置为 false

关于此任务

WebSphere Application Server 8 会对 URL 进行编码,以使 Rational® Publishing Engine Web Service 应用程序无法读取这些 URL。对 URL 进行编码后,客户机应用程序无法连接至远程服务应用程序,因此远程文档生成无法成功运行。要阻止 WebSphere Application Server 8 对远程服务 URL 进行编码,请设置 com.ibm.ws.classloader.encodeResourceURLs 属性。

过程

  1. 在浏览器中打开管理控制台。 示例:http://server:port/ibm/console/logon.jsp
  2. 展开服务器 > 服务器类型
  3. 单击 WebSphere Application Server
  4. 通过单击 server_name 打开服务器属性。
  5. 在“服务器基础结构”部分中,展开 Java 和进程管理
  6. 单击进程定义
  7. 在“其他属性”部分中,单击 Java 虚拟机
  8. 单击新建以添加编码标志:
    • 名称:com.ibm.ws.classloader.encodeResourceURLs
    • 值:false
    单击确定
  9. 重新启动远程服务应用程序。

反馈