how to shutdown a CORBA server without the client getting a disconnect



I found that when I have a shutdown method in my IDL and I invoke it
in a CORBA client and the servers implementation is to immediately
shutdown, the client rcvs a disconnect exception. To get around this I
made the shutdown on the impl class set a flag and I changed the
server so its CORBA event loop had a timeout. This enabled it to poll
that flag. But the timeout was using a proprietary extension of Orbix.
I am using jacORB now which does not not have this. So I was
wondering,l what is the standard way for a server to shutdown in an
orderly way without the client that invoked the shutfown experiencing
a disconnect?

Regards,

Andrew Marlow

.



Relevant Pages

  • Re: IOCP with graceful close
    ... socket is shutdown before the the send data is arrive to send queue of IOCP. ... >> server send a Command to client and then closesocket. ...
    (microsoft.public.win32.programmer.networks)
  • Re: how to shutdown a CORBA server without the client getting a disconnect
    ... shutdown, the client rcvs a disconnect exception. ... server so its CORBA event loop had a timeout. ...
    (comp.object.corba)
  • Re: Socket.Send() succeeds, but remote end point closed the connection
    ... Client connects to server and sends data sucessfully ). ... I see the server connection status go from ESTABLISHED to FIN_WAIT2, the client connection go from ESTABLISHED to WAIT_CLOSE. ... What you describe is not graceful close by server. ... CLOSE_WAIT means that other side has shutdown it's outgoing side of connection, but you may send until you shutdown your side. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: ssh x11 forwarding
    ... The configuration file for the client ssh /etc/ssh_config ... X connection to localhost:10.0 broken (explicit kill or server shutdown). ...
    (comp.unix.bsd.freebsd.misc)
  • Re: What doesnt lend itself to OO?
    ... >> proxy and instructs the server to constuct the real object. ... rather than client code. ... If 'clock' is instantiated in the server, ... > for the server interface at the OOA level. ...
    (comp.object)