在 WebSphere Application Server 上进行部署

使用控制台在 WebSphere® Application Server 上部署连接器应用程序。

开始之前

在安装期间,应用程序文件 (SAPConnector.war) 在缺省情况下复制到 SAPCInstallDir\server\webapps 目录中。

关于此任务

要点: 对于 UNIX 如果 WebSphere Application Server 安装在非根环境中,那么部署连接器应用程序的用户必须对安装目录和所有子目录具有读写访问权。
在以下命令行示例中,WASInstallDir 变量表示 WebSphere Application Server 在服务器上的安装位置。
  • 对于 Windows WebSphere Application Server 安装目录的缺省值如下:
    C:\Program Files\IBM\WebSphere\AppServer
    您可以使用以下命令来重新启动服务器:
    cd WASInstallDir\bin 
    stopserver.bat server1 [for a secure server, include: -username {LDAP_User} -password {LDAP_Password}] 
    startserver.bat server1 [for a secure server, include: -username {LDAP_User} -password {LDAP_Password}]
  • 对于 UNIX WebSphere Application Server 安装目录的缺省值如下:
    /opt/IBM/WebSphere/Appserver
    您可以使用以下命令来重新启动服务器:
    cd WASInstallDir/bin 
    ./stopserver.sh server1 [for a secure server, include: -username {LDAP_User} -password {LDAP_Password}] 
    ./startserver.sh server1 [for a secure server, include: -username {LDAP_User} -password {LDAP_Password}]

您通过在 WebSphere Application Server 上安装连接器企业应用程序,从控制台将应用程序服务器设置为托管连接器应用程序。

过程

  1. 从管理控制台中,单击应用程序 > 新建应用程序
  2. 在“新建应用程序”窗口中,单击新建企业应用程序,单击浏览并选择 SAPConnector.ear 文件。此文件的缺省位置为 SAPCInstallDir\server\webapps 目录。
  3. 单击下一步
  4. 选择快速路径 - 仅当需要其他信息时才提示,然后单击下一步
  5. 保留安装选项的缺省设置,然后单击下一步
  6. 选择 SAPConnector 模块,然后单击下一步
  7. 单击完成
  8. 在显示关于成功部署的消息后,要完成安装,请单击直接保存到主配置

    将更改直接保存到主配置

  9. 要确保应用程序已正确安装,请单击应用程序 > 应用程序类型 > WebSphere 企业应用程序。SAPConnector 应用程序将作为资源列出,并且其“应用程序状态”为红色“X”标记,指示其未启动。

    已安装的 SAPConnector 应用程序

  10. 接下来,单击启动 绿色箭头指示应用程序已启动。
  11. 将浏览器指向 https://fully qualified hostname:port/SAPConnector。 通过使用具有管理员特权的帐户来登录到 Rational® Connector for SAP Solution Manager 服务器。
    提示: 您可从管理控制台找到用于应用程序服务器的端口号。单击服务器 > 服务器类型 > WebSphere Application Server > server_name > 端口。如果您要使用 HTTP 传输端口,请查找端口名称 WC_defaulthost 的值。 如果您要使用 HTTPS 传输安全端口,请查找端口名称 WC_defaulthost_secure 的值。

反馈