[AIX Solaris HP-UX Linux Windows]

配置 Sun Java System Web Server

本主题描述如何更改 Oracle iPlanet Web Server(以前的 Sun ONE Web Server、iPlanet Web Server 和 Sun Java System Web Server)V6.0 及其更高版本的配置设置。

开始之前

Web 服务器插件配置工具用于配置 Web 服务器插件。本主题描述在必需对现有配置作出某些更改的情况下如何配置 Oracle iPlanet Web Server。编辑 Web 服务器配置文件中的其他过程描述其他受支持 Web 服务器的配置方式。

关于此任务

配置 Sun ONE Web Server 6.0 或 Oracle iPlanet Web Server V6.1 及更高版本。

为了便于呈现,示例和消息有时会显示在多行上。验证是否 Web 服务器配置文件中的每条伪指令都在一行上。

过程

  1. 配置 Oracle iPlanet Web Server V6.0 及其更高版本中的 obj.conf 配置文件和 magnus.conf 配置文件中的条目。
    1. 将两条伪指令添加到 obj.conf 文件中的 <Object name=default> 标记之后:
      Service fn="as_handler"
      AddLog fn="as_term"
    2. magnus.conf 文件末尾添加两个伪指令:

      bootstrap.properties 伪指令的位置视系统配置方式的不同而不同。如果 Web 服务器和应用程序服务器在不同的机器上,那么进行远程安装。

      如果两个服务器在同一机器上,那么进行本地安装。

      如果两个服务器在同一机器上并且应用程序服务器是受管节点,那么进行本地分布式安装。

      避免故障 避免故障: 以下示例引用了仅受 Oracle iPlanet Web Server 7.0 和 6.1 支持的 libns61_http.so 文件。如果您使用的是 Sun ONE Web Server 6.0,请更改对 libns41_http.so 的这些引用。gotcha
      • [AIX][HP-UX][Linux][Solaris]
        本地分布式示例:
        Init fn="load-modules" 
             funcs="as_init,as_handler,as_term" 
             shlib="/opt/IBM/WebSphere/Plugins/bin/libns61_http.so"
        Init fn="as_init" 
             bootstrap.properties="profile_root/config/
                cells/dmgrcell/nodes/managed_node/servers/webserver1/plugin-cfg.xml"
        示例:
        Init fn="load-modules" 
             funcs="as_init,as_handler,as_term" 
             shlib="/opt/IBM/WebSphere/Plugins/bin/libns61_http.so"
        Init fn="as_init" 
             bootstrap.properties="/opt/IBM/WebSphere/Plugins/config/webserver1/plugin-cfg.xml"
      • [Windows]
        本地分布式示例:
        Init fn="load-modules" 
             funcs="as_init,as_handler,as_term" 
             shlib="C:\IBM\WebSphere\Plugins\bin\ns41_http.dll"
        Init fn="as_init" 
             bootstrap.properties=
             "profile_root\config\cells\
                dmgrcell\nodes\managed_node\servers\webserver1\plugin-cfg.xml"
        示例:
        Init fn="load-modules" 
             funcs="as_init,as_handler,as_term" 
             shlib="C:\IBM\WebSphere\Plugins\bin\ns41_http.dll"
        Init fn="as_init" 
             bootstrap.properties="C:\IBM\WebSphere\Plugins\config\webserver1\plugin-cfg.xml"
  2. 在 HP-UX 机器上设置共享库路径。 在 HP-UX 机器上执行 Oracle iPlanet Web Server 的某些安装时,通过为安全套接字层 (SSL) 配置的插件启动 Oracle iPlanet Web Server 之前,必须手动将 SHLIB_PATH 变量设置为 /usr/lib。例如,在 Korn shell 程序中,调用命令以启动 Oracle iPlanet Web Server 之前发出以下命令:
    export SHLIB_PATH=/usr/lib:$SHLIB_PATH
  3. 缺省情况下,禁用 Oracle iPlanet Web Server V6.1中支持 Servlet 和 JavaServer Pages 文件的功能。 禁用此功能,以便 WebSphere Application Server 插件可以处理请求。

    执行以下步骤以禁用此功能:

    1. obj.conf 配置文件中移除或注释掉下列两行:
      NameTrans fn="ntrans-j2ee" name="j2ee"
      Error fn="error-j2ee"
    2. magnus.conf 配置文件中移除或注释掉以下行: [AIX][HP-UX][Linux][Solaris]
      Init fn="load-modules" 
          shlib="C:/Sun/WebServer6.1/bin/https/bin/j2eeplugin.so" 
             shlib_flags="(global|now)"
      [Windows]
      Init fn="load-modules" 
          shlib="C:\Sun\WebServer6.1\bin\https\bin\j2eeplugin.dll" 
             shlib_flags="(global|now)"
  4. 如果要配置 64 位版本的 Oracle iPlanet Web Server,请在 magnus.conf 配置文件中修改 loadModule 条目以指向 plugin_root/bin/64bit/libns61_http.so 文件。

结果

此过程对 Oracle iPlanet Web Server 进行了编辑和重新配置。

下一步做什么

配置 Web 服务器后,您可以在该服务器上安装应用程序。有关更多信息,请参阅信息中心的“应用程序”部分。

提示: 要取消配置 Web 服务器,请反向执行手动步骤并移除本过程中手动添加的内容。

指示主题类型的图标 任务主题



时间戳记图标 最近一次更新时间: last_date
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=tins_manualWebIPL
文件名:tins_manualWebIPL.html