VisiBroker 4.5 中 iiop客户端能否通过OAD来激活服务程序? ( 积分: 100 )

  • 主题发起人 主题发起人 Tony_comm
  • 开始时间 开始时间
T

Tony_comm

Unregistered / Unconfirmed
GUEST, unregistred user!
结论似乎是不行。(痛苦中...)
情形,服务程序位于防火墙的内部,客户端是通过Gatekeeper来和服务程序进行通讯的,使用的是IIOP协议,运行十分正常。
目的,在服务端使用OAD功能来使服务端程序在收到客户端请求时自动启动服务端程序。(是一个.exe)
手册资料,
Activating servers
The OAD activates servers in response to client requests. The following types of
clients can activate servers through the OAD:
•
VisiBroker for C++ 4.x clients.
•
VisiBroker for C++ 3.x clients.
•
Non-VisiBroker IIOP-compliant clients. Any client that follows the IIOP can
activate a VisiBroker server when that server’s reference is used. The server’s
exported Object Reference points to the OAD and the client can be forwarded to
the spawned server in accordance with the rules of IIOP. To allow true
persistification of the server’s object references (such as through a Name Service),
the OAD must always be started on the same port. In the following example, the
OAD is started on port 16050.
prompt> oad -VBJprop vbroker.se.iiop_tp.scm.iiop_tp.listener.port=16050
Note Port 16000 is the default port, but it can be changed by setting the listener.port
property.

有经验的高手请指点一下,•
Non-VisiBroker IIOP-compliant clients 这名话的意思是否明确说明不支持Gatekeeper?简直令人不敢相信啊?:-)
 
结论似乎是不行。(痛苦中...)
情形,服务程序位于防火墙的内部,客户端是通过Gatekeeper来和服务程序进行通讯的,使用的是IIOP协议,运行十分正常。
目的,在服务端使用OAD功能来使服务端程序在收到客户端请求时自动启动服务端程序。(是一个.exe)
手册资料,
Activating servers
The OAD activates servers in response to client requests. The following types of
clients can activate servers through the OAD:
•
VisiBroker for C++ 4.x clients.
•
VisiBroker for C++ 3.x clients.
•
Non-VisiBroker IIOP-compliant clients. Any client that follows the IIOP can
activate a VisiBroker server when that server’s reference is used. The server’s
exported Object Reference points to the OAD and the client can be forwarded to
the spawned server in accordance with the rules of IIOP. To allow true
persistification of the server’s object references (such as through a Name Service),
the OAD must always be started on the same port. In the following example, the
OAD is started on port 16050.
prompt> oad -VBJprop vbroker.se.iiop_tp.scm.iiop_tp.listener.port=16050
Note Port 16000 is the default port, but it can be changed by setting the listener.port
property.

有经验的高手请指点一下,•
Non-VisiBroker IIOP-compliant clients 这名话的意思是否明确说明不支持Gatekeeper?简直令人不敢相信啊?:-)
 
耐心期待中。。。。
 
进展,
我用bank_portable例子做测试,结果使用OAD是非常成功的;

再试图加入Naming Service功能,不幸的是始终不成功。

不巧的是VisiBroker for C++ Developer's Guide Using the Object Activation Daemon (OAD) 中没有介绍 Using the OAD with the Naming Service而FOR java则有明确的例子。但我用的是for c++ VB。所以没得参考!
请有经验的大侠说明一下Using the OAD with the Naming Service注意事项。
谢谢!!!
 
一直在思考和试验中,还没有成功。

耐心期待中....
 
后退
顶部