[英]How to Communicate between two CORBA servers in java
i need to implement two java cobra servers and these two servers needs to invoke function on each other. 我需要实现两个java cobra服务器,这两个服务器需要相互调用函数。 i use this :
我用这个:
orb = ORB.init(args,null);
to initiate the orb for both client and server. 为客户端和服务器启动orb。 but when I invoke the function i get this error :
但是当我调用该函数时,我收到此错误:
Dec 1, 2013 1:26:29 AM com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl <init>
WARNING: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: 192.168.12.4; port: 51478"
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
i guess i use the default setting for orb so when i use, since I have two orb only each of the server, so there may be conflicts. 我想我使用orb的默认设置,所以当我使用时,因为我只有两个orb每个服务器,所以可能会有冲突。 need some help
需要一些帮助
您可以使用UDP在两台服务器之间进行通信
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.