WEB开发网
开发学院服务器服务器方案 创建 Web 服务网关集群 阅读

创建 Web 服务网关集群

 2008-12-01 11:02:57 来源:WEB开发网   
核心提示: 假设: 将 Web 服务网关作为 WebSphere Application Server ND 安装程序的一部分, 已经创建了打算在上面部署 WSGW 的应用服务器,创建 Web 服务网关集群(3),并且 WebSphere Application Server 管理器和节点代理 (No

假设:

将 Web 服务网关作为 WebSphere Application Server ND 安装程序的一部分,

已经创建了打算在上面部署 WSGW 的应用服务器,并且

WebSphere Application Server 管理器和节点代理 (Node Agent) 正在运行。

导航到 deploymentmanagerrootWSGWscriptsinstall ,设置 OS shell PATH 变量,让其包括 deploymentmanagerrootbin 目录。允许执行 wsadmin 的权限,然后从 OS command shell 执行命令,如清单 1 所示:

清单 1.使用 wsadmin 安装 Web 服务网关wsadmin -f setupWSGW.jacl deploymentmanagerroot servername nodename
# example on Windows
# "wsadmin -f setupWSGW.jacl "C:/WebSphere Application Server51/DeploymentManager" server1 node1
# note you MUST use forward slashes "/" even on Windows

在清单 1 中, deploymentmanagerroot 是 WebSphere Application Server ND 的安装目录, servername 是安装 WSGW 的服务器的名称, nodename 是服务器上 WebSphere Application Server ND 节点的名称。

在安装 Web 服务网关的每台应用服务器上,都需要运行一次这个脚本。脚本一运行完成,就已经在每台服务器上安装了如下三个应用程序:

Web 服务网关 ( wsgw.ear )

Apache SOAP 通道 1 ( wsgwsoap1.ear )

通过 HTTP 传输 SOAP 的通道 1 ( wsgwsoaphttp1.ear )。

(在执行脚本的过程中,可能会有一些从空字符串创建 ObjectNames 的错误。这是正常的,可以忽略这些消息。)

如果 WSGW 应用程序安装成功,在 OS command shell(带有适当的服务器名称参数值)中会显示如清单 2 所示的消息。

上一页  1 2 3 4 5 6 7 8  下一页

Tags:创建 Web 服务

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接