AW: [omniORB] ORBendPoint for dynamic interface configuration

Kiesswetter, Florian (Florian) fkiesswe at lucent.com
Tue Dec 21 13:45:47 GMT 2004


Duncan,

seems our expectations didn't fool us. After retesting, it works correct and listens on every interface, even if they are configured dynamically.
It was my mistake that it failed, as I specified an additional invalid endPoint which lead to the exception.

Thanks, and sorry that I didn't notice this mistake before posting.
Florian


> ----------
> Von: 	Duncan Grisby[SMTP:duncan at grisby.org]
> Gesendet: 	Dienstag, 21. Dezember 2004 13:10
> An: 	Kiesswetter, Florian (Florian)
> Cc: 	'omniorb-list at omniorb-support.com'
> Betreff: 	Re: [omniORB] ORBendPoint for dynamic interface configuration 
> 
> On Tuesday 21 December, "Kiesswetter, Florian (Florian)" wrote:
> 
> > we are using omniORB 4.0.3 on VxWorks 5.5 target with two (TCP/IP)
> > interfaces. One of the interface is configured dynamically via DHCP, one is
> > configured at startup. 
> > 
> > 1. Is it possible to initialize the ORB with an endPoint
> > at startup (using the already available interface) so that the dynamic
> > interface can also be served (using the same port) during runtime?
> > I expected if I use an endPoint=giop:tcp::<port> that the ORB is listening
> > on the specified port on all available interfaces, but this dosen't work.
> 
> I would expect that to work too. It certainly works on other platforms
> like Linux.
> 
> > 2. Is it really necessary to shutdown/destroy the ORB to support interfaces
> > which are dynamically configured after the ORB has been initialized?
> 
> As I say, it should work to listen on all interfaces, without doing
> anything special. If you really do need to change the endPoint
> specification, you do currently have to destroy the ORB and restart it.
> It wouldn't be impossible to allow the endPoints to change after
> startup, but lots of code currently assumes that they don't change once
> set.
> 
> Cheers,
> 
> Duncan.
> 
> -- 
>  -- Duncan Grisby         --
>   -- duncan at grisby.org     --
>    -- http://www.grisby.org --
> 



More information about the omniORB-list mailing list