[omniORB] Multiple servers pinning the same port?
Bruce Fountain
B_Fountain@motherwell.com.au
Tue, 24 Jul 2001 13:37:31 +0800
Bruce Visscher
> > I have noticed that omniORB seems quite happy to
> > seize control of a port that is already being used
> > by another server. For instance, you can run two
> > naming services on the same port.
>
> Really? When I try that on OpenVMS, here's what happens:
>
> SYS16[.DPC.BCV.CFG]> omninames
> BOA_init falied: cannot use port 27500 to accept incoming IIOP calls.
> %CXXL-F-TERMINATE, terminate() or unexpected() called
> %TRACE-F-TRACEBACK, symbolic stack dump follows
> image module routine line rel PC
> abs PC
> OMNINAMES 0
<snip>
>
> Not very pretty, but effective!
>
> I always assumed it was the OS's responsibility to prevent
> problems like what
> you describe. What platform are you doing this on?
Sorry, I should have said. The problem appears on NT. Interestingly,
the same code throws an INITIALIZE exception when run on Solaris.
Bruce Fountain