[omniORB] Can I start my Servant at a given port?
Duncan Grisby
dgrisby@uk.research.att.com
Fri, 23 Feb 2001 10:39:30 +0000
On Thursday 22 February, "Cary O'Brien" wrote:
> > I would like to start a servant on a web server where there are a lot of
> > CGIs accessing it in omniORB 2.8. I do not want to put its reference
> > into the NameServer to lessen its burden and to solve the question
> > locally.
[...]
> See the section in the documentation about the corbaloc naming
> scheme in the "Interoperable Naming Service" chapter (Chapter 4).
Unfortunately, the original poster is using omniORB 2.8, which doesn't
support corbaloc. With 2.8, there's no simple way to get the same
effect. The best you can do is to always create an object with the
same key, listening on the same port. That way, the IOR remains the
same between runs, so you can give the clients the IOR once, and they
never need to update it. See the omniNames source (in 2.8) to see how
to do that.
[...]
> 2) Does using omniINSPOA prevent use of other POAs in the server process?
No -- you can continue to use any number of other POAs.
Cheers,
Duncan.
--
-- Duncan Grisby \ Research Engineer --
-- AT&T Laboratories Cambridge --
-- http://www.uk.research.att.com/~dpg1 --