
使用 EJB 传输与应用程序服务器集群中的 Content Platform Engine 进行通信
可以配置使用 EJB 传输与应用程序服务器集群中的 Content Platform Engine 进行通信的客户机,例如 Application Engine。
对于使用 EJB 传输与应用程序服务器集群配置中的 Content Platform Engine 进行通信的客户机(例如,Application Engine),必须使用与非高可用性配置中的 URI 具有不同格式的 URI。
限制: 在以下示例中,如果 URI 旨在供一些较旧的应用程序使用,例如,FileNet® P8 应用程序 Workplace 或
Workplace XT,那么必须在 URI 前面加上标记 cemp:。例如,您将使用 URL
cemp:corbaloc::testnode1:9810,:testnode2:9810/cell/clusters/
testwascluster/FileNet/Engine 而不使用 corbaloc::testnode1:9810,:testnode2:9810/cell/clusters/
testwascluster/FileNet/Engine。
当通过应用程序服务器集群配置使得 Content Platform Engine 具有高可用性时,Content Platform Engine URI 应当具有以下格式(没有回车符):
WebSphere Application Server
corbaloc::node1_hostname:BOOTSTRAP_ADDRESS,
:node2_hostname:BOOTSTRAP_ADDRESS/cell/clusters/
your_websphere_cluster_name/FileNet/Engine
除了需要将节点名作为 URI 的一部分以外,此配置还需要 WebSphere® 集群名称。用于集群配置的引导程序端口(缺省情况下为端口 9810)通常不同于非集群(独立)配置的引导程序端口(缺省情况下为端口 2809)。
不管是否使用了 SSL,都将仅使用一个 URI。如果启用了 EJB 安全性,那么会自动建立 WebSphere EJB over SSL。
示例:
corbaloc::testnode1:9810,:testnode2:9810/cell/clusters/
testwascluster/FileNet/Engine
如果 EJB 客户机与 Content Platform Engine 部署到同一 WebSphere Network Deployment 单元中,那么可使用下列其中一个更简单的 corbaloc URI:
- IBM® Content
Navigator 的示例:
corbaloc:rir:/cell/clusters/your_websphere_cluster_name/FileNet/Engine
- Workplace 和 Workplace XT 的示例:
cemp:corbaloc:rir:/cell/clusters/your_websphere_cluster_name/FileNet/Engine
Oracle WebLogic Server
- SSL
- t3s://node1_name:node1_SSL_port,node2 name:node2 SSL port/FileNet/Engine
- 非 SSL
- t3://node1_name:node1_port,node2_name:node2 port /FileNet/Engine
示例:t3://testnode1:7001,testnode2:7001/FileNet/Engine
JBoss Application Server
- SSL
- 要获取信息,请参阅 JBoss Application Server 文档中有关 SSL 的信息。
- 非 SSL
- jnp://node1_name:node1_port,node2_name:node2_port/FileNet/Engine
JBoss Application Server 的行为与前一条注释中 Oracle WebLogic Server 的行为相反;JBoss Application Server 将按顺序尝试与列表中的服务器建立连接,并连接到第一个作出响应的服务器,而不是在所显示的服务器之间实现负载均衡。
示例:jnp://testnode1:1100,testnode2:1100/FileNet/Engine