Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

'Rebind' call fails for a CORBA object

Status
Not open for further replies.

Ayaan

Programmer
Nov 28, 2003
1
0
0
US
Hi,

Our Client side code always uses 'rebind' to bind its Name context on Name Service. Scenario of problem is this:-

- First time client binds, everything goes fine.
- Theres a particular parameter which uniquely identifies our client.
- If we start another instance of client with that same parameter, server shud identify this new client and should communicate with this rather than previous one as 'rebind' call is being used on client side.
- But that doesnt happen , server still associates the client NameContext with previous instance of client.

Is my understanding of 'rebind' call wrong?
We use Visibroker ORB.

Regds
Ayaan
 
I think you shuld set id uniqueness policy to UNIQUE_ID

Ion Filipski
1c.bmp
 
When you resolve a client in your server you get the reference of the client. When you then chage the reference in the naming Service by calling rebind you are not changing it in the server. As i understand it you will have to resolve the client again for the server to get the new reference.

regards
Ingo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top