安装 WebSphere Application Server 以进行发布

服务器工具功能部件允许您在本地或远程独立安装的 WebSphere® Application Server 上发布项目。

要在本地或远程安装 WebSphere Application Server,遵循下列步骤:

  1. 在要发布项目的本地或远程机器上安装 WebSphere Application Server。
    重要: 建议您在安装“代理控制器”之前安装 WebSphere Application Server。
  2. 在 WebSphere Application Server 所在的同一机器上安装“代理控制器”。 此产品的大多数配置都包括了“代理控制器”。遵循此产品安装指南中的指示信息。“代理控制器”在文档中的其它地方讨论。
  3. 如果在安装 WebSphere Application Server 之前安装“代理控制器”,则可能需要在“代理控制器”配置文件中定义 WebSphere Application Server 安装目录。
    1. 打开 x:\plugins\com.ibm.etools.websphere.tools\config 目录下的 pluginconfig.xml 文件,其中 x 是“代理控制器”的安装目录。
    2. 找到以下部分:
      <AgentControllerEnvironment configuration="default">
      <Variable name="WAS_HOME_V4" value="%WAS_HOME_V4%" position="replace"/> 
      <Variable name="WAS_HOME_V5" value="%WAS_HOME_V5%" position="replace"/>
      <Variable name="WAS_HOME_V51" value="%WAS_HOME_V51%" position="replace"/>
       </AgentControllerEnvironment>
    3. 如果目标服务器是 WebSphere Application Server V4(仅用于向后兼容性目的),则检查系统环境变量 WAS_HOME_V4 的值以确定该值是否设置为应用程序服务器的安装目录,例如,C:\Program Files\WebSphere\AppServer。 如果未设置系统环境变量,则在此 pluginconfig.xml 文件中将 WAS_HOME_V4 变量的值从 %WAS_HOME_V4% 更改为应用程序服务器的安装目录的名称。
    4. 如果目标服务器是 WebSphere Application Server V5.0,则在此文件中将 WAS_HOME_V5 变量的值从 %WAS_HOME_V5% 更改为应用程序服务器的安装目录的名称。 在另一位置重新安装了 WebSphere Application Server 之后,必须将上述变量更新为正确的路径。
    5. 如果目标服务器是 WebSphere Application Server V5.1,则在此文件中将 WAS_HOME_V51 变量的值从 %WAS_HOME_V51% 更改为应用程序服务器的安装目录的名称。 在另一位置重新安装了 WebSphere Application Server 之后,必须将上述变量更新为正确的路径。
    6. 保存更改并重新启动“代理控制器”。
      注: 如果以后在另一位置重新安装 WebSphere Application Server,则应记住更新 pluginconfig.xml 文件并重新启动“代理控制器”,以使更改生效。
  4. 在远程机器上启动“代理控制器”。 有关如何启动和停止“代理控制器”的更多信息,参阅“代理控制器”联机文档。
  5. 如果使用的是 FTP 服务器,则确保已启动它。
使用条款 | 反馈
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.