[omniORB] omniORB and Java

Duncan Grisby duncan at grisby.org
Mon Sep 15 18:19:21 BST 2003


On Sunday 14 September, "JHJE (Jan Holst Jensen)" wrote:

> 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.

You should definitely use the -ORBInitRef version. Not only are the
-ORBInitialHost / Port settings old Java extensions, but the server
side of it is now turned of by default in omniORB. To get omniNames to
work with a client using the old mechanism, you must add
-ORBsupportBootstrapAgent 1 to the omniNames command line (or set the
parameter in the config file, etc.).

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list