[omniORB] newbie's question about register_initial_reference()

Igor Lautar igor.lautar at hermes.si
Fri May 19 08:37:27 BST 2006


Hi,

On Thursday 18 May 2006 17:48, Clarke Brunt wrote:
> I'm not familiar with most of what you are doing, but regards getting an
> omniORB server to listen on a particular port, you probably want
> configuration option e.g.
>
> -ORBendPoint giop:tcp::2809
>
> on the command line. Or in the registry (for Windows, without ORB at the
> start), or in an environment variable, or set within the program. See
> omniORB docs for details of endPoint and all its other settings. And use
> 'netstat -a' (or equivalent command on your OS) to check which port it is
> listening on.

And one more thing to keep in mind. If you start two ORBs on the same host 
(for ex. one server and one client), thay have to have different endPoints 
(ex. port), otherwise you will get OBJECT_NOT_EXIST.

I think this is a bug, ORB_init should throw exception if endpoint giop:tcp 
port is already binded.

Regards,
Igor



More information about the omniORB-list mailing list