[omniORB] Synchronization between omniNames service & Services

R. P. Janaka rpjanaka at gmail.com
Tue Aug 5 16:40:24 BST 2008


The second one is the scenario..

As you think I am also guess, the problem is trying to contact the original
object reference that was registered with the Nameservice rather than the
new one.

On Tue, Aug 5, 2008 at 3:09 PM, Nigel Rantor <wiggly at wiggly.org> wrote:

> R. P. Janaka wrote:
>
>> No.. still did not get a solution.
>>
>> As I found with new experiments, this problem is not a specific for this
>> Master/Slave case. If we just consider only about the Master, Problem still
>> remains. I found these result with debugging.
>>
>> I just repeat the same procedure with only a single server.
>>
>>    * Start the server and get registered with the name service
>>    * Manually kill the server
>>    * Start the server and get registered with the name service *again *.
>>
>>
>> Then the registration also get success. But when the client try to call
>> server's functions, it gives this exception.
>>
>> the exception is *"SystemException: TRANSIENT_ConnectFailed"*
>>
>> The reason for this problem may be the sudden break down of the server
>> with out informing it to the name service.
>>
>> Do we have any solution for this....?
>>
>
> You're going to have to be more explicit about this.
>
> Which of the following is the order things are happening in?
>
> A
> --------------------------------------------------------------
> - Start server
> - Server registers with Nameservice as "server"
> - Kill server
> - Start server again
> - Server registers with Nameservice as "server"
> - Start client
> - Client looks up "server" with Nameservice
> - Client invokes an operation on the reference from the Nameservice
> - Client gets "SystemException: TRANSIENT_ConnectFailed"
> --------------------------------------------------------------
>
> B
> --------------------------------------------------------------
> - Start server
> - Server registers with Nameservice as "server"
> - Client looks up "server" with Nameservice
> - Kill server
> - Start server again
> - Server registers with Nameservice as "server"
> - Start client
> - Client invokes an operation on the reference from the Nameservice
> - Client gets "SystemException: TRANSIENT_ConnectFailed"
> --------------------------------------------------------------
>
> My question is, has the client got the most recently bound name from the
> nameservice or not?
>
> It appears from you description that it is trying to contact the original
> object reference that was registered with the Nameservice rather than the
> new one.
>
>  n
>
>


-- 
Regards,
R. P. Janaka
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20080805/37b668db/attachment.htm


More information about the omniORB-list mailing list