适用于 Microsoft Windows 的 Sun Java Enterprise System 5 安装指南

Procedure使用 psadmin.bat 配置 SRA

  1. 将所需 SRA 组件的模板属性文件从 PortalServer-base\template\sra 目录复制到 portalserver-base\ data

    模板属性文件为:

    • GatewayGWConfig.properties.template

    • Netlet ProxyNLPConfig.properties.template

    • Rewriter ProxyRWPConfig.properties.template

  2. 启动 Directory Server。

  3. 启动 Cacao 实例。

  4. 启动 Web 容器。

  5. 编辑模板属性文件。

  6. 开启 SRA。

    PortalServer-base\bin\psadmin.bat switch-sra-status -u admin-user-name -f password-file on

  7. 启用 SRA。

    PortalServer-base\bin\psadmin.bat provision-sra -u admin-user-name -f password-file -p PortalName --gateway-profile gateway_profile -enable

  8. 创建 SRA 组件实例。

    PortalServer-base\bin\psadmin.bat create-sra-instance -u admin-user-name -f password-file -S PortalServer-base/data/template-property-file -t gateway/nlproxy/rwproxy

  9. 启动 SRA 实例。

    PortalServer-base \bin\psadmin.bat start-sra-instance -u admin-user-name -f password-file -N gateway_profile -t gateway/nlproxy/rwproxy