problem with the generated skel-impl.c created 'destroy' fn.



Hi,
I was trying to destroy the servant at the server end by calling the
function impl_module_object__destroy function. It still doesn't
destroy the servant ( i think ). The function
CORBA_Object_non_existent ((CORBA_Object)obj, ev) still returns FALSE.
after the destroy has been called.

After this when the client makes another query, it just hangs. (The client doesn't attempt to rebind to the stale IOR. If it does,
as expected, string_to_object(stale IOR) function fails).

Is this an ORBit bug. This question has been asked earlier too but no answers came forth.


From: Michael Rumpf <michael rumpfonline de>
    To: orbit-list gnome org
    Subject: Re: question object servers going down
    Date: Wed, 13 Sep 2000 23:31:07 +0200

Hi,

I just tested this with the "echo-server" and the "echo-client IOR_of_Server 10000" and took the server down while the client was running. The client just hangs without any error message.

Looking at the CORBA 2.3 spec (The Standard Exceptions are described in more detail here) there should be either an OBJECT_NOT_EXIST exception when the server was not available anymore before sending the request and a TRANSIENT exception if the server died after the request has beend sent.

I guess that in the latter case there must be some kind of timeout to detect this kind of problem.. ?

Am I right, and if yes, is this a known problem with ORBit 0.5.x ??

Michael

rajesh mirkhelkar wrote:

Hello all,
I had this question about how to know when the servers go down. The stale
IORs are still being used by the clients without raising any exception. The
environment variable ev._major is not being set to CORBA_SYSTEM_EXCEPTION.
how to overcome this problem??

2)Say if the server is running and the client has bound to it, then suddenly
the server goes down and the object doesn;t know it and doesn't do a bind
everytime it calls the server functions, then why is the connection in
*-stubs.c still work out without raising any exception even though the
server is down??

I would greatly appreciate any answers to my questions.

TIA

Rajesh
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]