Bug 3637

Summary: TAO_FT_ClientORB fails to use comma delimited corbaloc properly
Product: TAO Reporter: milan.cvetkovic
Component: Fault Tolerance ServiceAssignee: DOC Center Support List (internal) <tao-support>
Status: NEW ---    
Severity: normal CC: simon.mcqueen
Priority: P3    
Version: 1.6.8   
Hardware: x86   
OS: Linux   
Attachments: idl file
MPC project file
README
script for automatic execution
client.cpp
server.cpp
client.conf loading the FT_Client_ORB

Description milan.cvetkovic 2009-04-02 12:12:58 CDT
I have a two server processes serving the same corba object, and
listening on ports 9220 and 9221.

I supply the client with the corbaloc with comma delimited list of objects:

corbaloc:iiop:localhost:9220,iiop:localhost:9221/CorbaSimple

I run the client. It periodically invokes "hello()" on server, and it
ends up being served by the server listening on port 9220.

When I kill the server listening on port 9220, I expect client to
connect to server on port 9221 and continue RPCs using that server.

The problem: When TAO_FT_ClientORB is loaded, this does not work.

Note: the client process is running ORB event loop using orb->run().
When the server terminates, I believe the event loop detects connection closure, and performs some sort of cleanup. It there is no event loop running in the client, (for example, if RPC is called dirrectly from main() ), client properly switches over to backup server.
Comment 1 milan.cvetkovic 2009-04-02 12:13:46 CDT
Created attachment 1110 [details]
idl file
Comment 2 milan.cvetkovic 2009-04-02 12:14:21 CDT
Created attachment 1111 [details]
MPC project file
Comment 3 milan.cvetkovic 2009-04-02 12:14:43 CDT
Created attachment 1112 [details]
README
Comment 4 milan.cvetkovic 2009-04-02 12:15:21 CDT
Created attachment 1113 [details]
script for automatic execution
Comment 5 milan.cvetkovic 2009-04-02 12:15:42 CDT
Created attachment 1114 [details]
client.cpp
Comment 6 milan.cvetkovic 2009-04-02 12:16:01 CDT
Created attachment 1115 [details]
server.cpp
Comment 7 milan.cvetkovic 2009-04-02 12:21:22 CDT
Created attachment 1116 [details]
client.conf loading the FT_Client_ORB