[omniORB] omniORB and Java

JHJE (Jan Holst Jensen) jhje at novonordisk.com
Sun Sep 14 17:37:41 BST 2003


> I started the omniORB service on port 900 first (I've
> also set the host, localhost, and the port 900 in
> omniORB.cfg). Then I startet the server, eg3_impl. At
> last I startet the Java client with:
>    
>    java EchoClient -ORBInitialPort 900
> 
> But I get the following error message:
> 
> ERROR: org.omg.CORBA.OBJECT_NOT_EXIST:   minor code:

You have missed "-ORBInitialHost localhost" which should be set as well.
Better, you can use "-ORBInitRef NameService=corbaname::localhost:900"
instead, since -ORBInitialHost and -ORBInitialPort are old Java extensions
AFAIK.

Cheers

-- Jan Holst Jensen, Novo Nordisk A/S



More information about the omniORB-list mailing list