Websphere 6.1:多单元格中的问题使用IIOP调用 [英] Websphere 6.1: Issue in Multiple Cells Call using IIOP

查看:220
本文介绍了Websphere 6.1:多单元格中的问题使用IIOP调用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

需要帮助以下问题



我们有2台机器,每台机器都安装了2个websphere单元。
机器1(X1和X2单元)
机器2(Y1和Y2单元格)



我们在X1单元上安装了Web应用程序, EJB客户端组件,它调用安装在4个单元格(即X1,X2,Y1和Y2)上的EJB组件上的业务方法。 EJB客户端组件使用IIOP URL查找主页界面,使用InitalContext类。



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



我们有一个普通的Java客户端,它使用 main()方法来调用所有四个服务器。这个设置是up&生产2年。但是,由于我们移动了在Web应用程序中调用四个服务器而不是main()的逻辑,所以问题开始了。



它使得X1和X2在相同的物理机器?

解决方案

如果服务器名称相同,那么我怀疑你需要 com.ibm.websphere在InfoCenter文章中使用同一个主机上运行相同名称的两台服务器正在使用中指定的.orb.uniqueServerName 属性

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


Need some help with below issue

We have 2 machines, each of these machines has 2 websphere cells installed in it. Machine 1 (X1 and X2 cell) Machine 2 (Y1 and Y2 cell)

We have web application installed on X1 cell, which has EJB client component, which invokes business methods on EJB component installed on each of 4 cells i.e. X1 , X2 , Y1 and Y2. EJB client component look-ups the home interface using IIOP URL look-up, using InitalContext class.

Communication of EJB client component with B1 and B2 happens, properly, without any issues. But communication with X2 cell, does not happens properly (does not see any home interface look-up problems in logs), it somehow calls business methods on X1 server itself.

We had a plain Java client which uses main() method to invoke all four servers. This setup was up & running in production for 2 years. But the problem started since we moved the logic of invocation of four servers in Web application instead of main().

What difference does it makes that X1 and X2 are on the same physical machine?

解决方案

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

这篇关于Websphere 6.1:多单元格中的问题使用IIOP调用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆