how to shutdown a CORBA server without the client getting a disconnect
- From: apm35@xxxxxxxxxxxxxxxxxx
- Date: Mon, 13 Aug 2007 05:56:14 -0700
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
.
- Follow-Ups:
- Re: how to shutdown a CORBA server without the client getting a disconnect
- From: ciaran . mchale
- Re: how to shutdown a CORBA server without the client getting a disconnect
- Prev by Date: Interface Repository browser for MICO ORB
- Next by Date: Re: Interface Repository browser for MICO ORB
- Previous by thread: Interface Repository browser for MICO ORB
- Next by thread: Re: how to shutdown a CORBA server without the client getting a disconnect
- Index(es):
Relevant Pages
|