Post by EntonHis it possible to use different nameservices to work simultaneously with
different projects?
e.g. Project 1 uses NameService1
Project 2 uses NameService2
How do I initialize the nameservices and connect objects to them?
If the different name services are running on different machines, then
just start them as normal, and point applications at them using
orbInitRef or whatever as usual.
If more than one name service was on the same machine, then obviously
they can't all listen on the default port 2809, so you'd need to start
them listening on different ports. With omninames, this appears to be
the -port command line option, or alternatives involving orbEndPoint.
Again point apps at them using different InitRef settings.
Don't take my word on the precise spelling of the options above - I've
not done it myself, and haven't checked, so read the docs about them.
Perhaps I'm missing something. I can't see the problem. There's nothing
'special' about the name service - it's just another CORBA server, like
ones you could have written yourself. Except of course that apps need to
be able to find it before they can use it to look up other things.
--
Clarke Brunt
TRAFFICMASTER PLC
UNIT 22 / ST. JOHN'S INNOVATION CENTRE
COWLEY ROAD / CAMBRIDGE / CB4 0WS
T: 01223 422469
F:
E: ***@trafficmaster.co.uk
Please consider the environment before printing this email. --------------------------------------------------------
Trafficmaster PLC is a limited Company registered in England and Wales.
Registered number: 2292714 Registered office: Martell House, University Way, Cranfield, BEDS. MK43 0TR
This message (and any associated files) is intended only for the use of omniorb-***@omniorb-support.com and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not omniorb-***@omniorb-support.com you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Any views or opinions presented are solely those of the author ***@trafficmaster.co.uk and do not necessarily represent those of the company.
Warning: Although the company has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments.
--------------------------------------------------------