需要一些问题

我们有2台机器,每个机器都有2个WebSphere单元格。 机1(X1和X2细胞) 机2(Y1和Y2细胞)

我们在x1单元上安装了Web应用程序,它具有EJB客户端组件,该组件在安装的4个单元中安装的EJB组件上调用业务方法。x1,x2,y1和y2。 EJB客户端组件使用InitalContext类使用IIOP URL查找查找主界面。

EJB客户端组件与B1和B2的通信正常,没有任何问题。但与X2单元格的通信不会正确地发生(在日志中没有看到任何家庭接口查找问题),以某种方式调用X1服务器本身的业务方法。

我们有一个纯java客户端,它使用main()方法来调用所有四个服务器。此设置在生产中运行2年。但问题启动了,因为我们移动了Web应用程序而不是main()中的四个服务器的调用逻辑。

它使x1和x2在同一物理机器上的差异?

有帮助吗?

解决方案

If the servers have the same name, then I suspect you need the com.ibm.websphere.orb.uniqueServerName property specified in the "Two servers with the same name running on the same host are being used to interoperate" of this InfoCenter article:

http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/topic/com.ibm.websphere.nd.multiplatform.doc/info/ae/ae/rtrb_namingprobs.html

其他提示

I encountered this problem once on a test system. It occurs if WebSphere (incorrectly) determines that the EJB actually runs in the local server. In my case this occurred with two servers running on the same host and configured with the same server name (server1). Unfortunately I don't know any solution (other than reinstalling one of the servers with a different server name).

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top