我有这种情况:
问题是:
我按照这里可以找到的指示:https://access.redhat.com/solutions/136963
在客户端上,我已经像这样配置了standalone-ha.xml:
<remote-outbound-connection name="remote-ejb-BE-TEST-A" outbound-socket-binding-ref="ejb-Name-BE-A" ...>
<remote-outbound-connection name="remote-ejb-BE-TEST-B" outbound-socket-binding-ref="ejb-Name-BE-B" ...>
<remote-outbound-connection name="remote-ejb-COMMON-TEST-A" outbound-socket-binding-ref="ejb-name-Test-A" ...>
<remote-outbound-connection name="remote-ejb-COMMON-TEST-B" outbound-socket-binding-ref="ejb-name-Test-B" ...>
.
<outbound-socket-binding name="ejb-Name-BE-A">
<remote-destination host="BE-A" port="4447"/>
</outbound-socket-binding>
<outbound-socket-binding name="ejb-Name-BE-B">
<remote-destination host="BE-B" port="4447"/>
</outbound-socket-binding>
<outbound-socket-binding name="ejb-name-Test-A">
<remote-destination host="Test-A" port="4447"/>
</outbound-socket-binding>
<outbound-socket-binding name="ejb-name-Test-B">
<remote-destination host="Test-B" port="4447"/>
</outbound-socket-binding>
如何配置jboss-ejb-client.xml? 我是否强制在同一个ejb-receivers标签中混合两组不同的连接?
<jboss-ejb-client xmlns="urn:jboss:ejb-client:1.2">
<client-context>
<ejb-receivers>
<remoting-ejb-receiver outbound-connection-ref="remote-ejb-BE-TEST-A" />
<remoting-ejb-receiver outbound-connection-ref="remote-ejb-BE-TEST-A" />
<remoting-ejb-receiver outbound-connection-ref="remote-ejb-COMMON-TEST-A" />
<remoting-ejb-receiver outbound-connection-ref="remote-ejb-COMMON-TEST-A" />
</ejb-receivers>
JBoss如何认识到它们是两个不同的集群?
再见,谢谢