Bug 3637 - TAO_FT_ClientORB fails to use comma delimited corbaloc properly
Summary: TAO_FT_ClientORB fails to use comma delimited corbaloc properly
Status: NEW
Alias: None
Product: TAO
Classification: Unclassified
Component: Fault Tolerance Service (show other bugs)
Version: 1.6.8
Hardware: x86 Linux
: P3 normal
Assignee: DOC Center Support List (internal)
URL:
Depends on:
Blocks:
 
Reported: 2009-04-02 12:12 CDT by milan.cvetkovic
Modified: 2009-04-02 12:22 CDT (History)
1 user (show)

See Also:


Attachments
idl file (51 bytes, text/plain)
2009-04-02 12:13 CDT, milan.cvetkovic
Details
MPC project file (408 bytes, text/plain)
2009-04-02 12:14 CDT, milan.cvetkovic
Details
README (605 bytes, text/plain)
2009-04-02 12:14 CDT, milan.cvetkovic
Details
script for automatic execution (751 bytes, text/plain)
2009-04-02 12:15 CDT, milan.cvetkovic
Details
client.cpp (2.10 KB, text/plain)
2009-04-02 12:15 CDT, milan.cvetkovic
Details
server.cpp (2.42 KB, text/plain)
2009-04-02 12:16 CDT, milan.cvetkovic
Details
client.conf loading the FT_Client_ORB (130 bytes, text/plain)
2009-04-02 12:21 CDT, milan.cvetkovic
Details

Note You need to log in before you can comment on or make changes to this bug.
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