[omniORB] omniNames with ORBAcus Java
Poilpret Jean Francois
jfpoilpret@hn.vnn.vn
Sun, 19 Sep 1999 16:03:59 +0700
Hi omniORBers,
I've been stuck for a few hours with a problem having ORBACUS Java (3.2) =
use omniNames (omniORB 2.8.0 pre1), on Windows NT.
I'm sorry to talk about this problem here on this mailing list, because =
in fact, the solution is certainly not on omniORB's side, but rather on =
ORBACUS's.
I already searched the archives of the omniORB list with no success.
I read the ORBACUS doc and found that I need to provide special =
arguments to ORB.init() :
-ORBInitRef =
NameService=3Diioploc://localhost:1234/0x37956c03000000fc00000002
in this case: localhost is the host on which omniNames is running, port =
1234; and I got the object key "0x37956c03000000fc00000002" using catior =
-x with the omniNames IOR (just read from the omniNames log file).
Unfortunately, this does not work, I have an exception =
"org.omg.CORBA.OBJECT_NOT_EXIST" as soon as I launch my Java server.
As I know there are many omniNames users here who already know how to =
interoperate with ORBACUS Java, it would be greatly appreciated if they =
could give me some help.
Maybe I misunderstood ORBAcus documentation or there is something I do =
wrong, I actually don't know !
Last-minute info: I just found another way to get it work (but I don't =
like it very much):
instead of using an URL like iioploc, I can use the complete IOR like =
this:
-ORBInitRef NameService=3DIOR:0100000....00000037956c03000000fc00000002
But what if I change the host running omniNames ?
I always have to copy/paste the IOR of omniNames from omniNames log file =
?
It seems here that the problem with using an iioploc URL, you cannot =
type the stringified object key like 0x.... but you mus use the true =
ASCII characters ? If so, this is impossible because the characters of =
the object key are not printable ! Has someone got a solution ?
Thanks in advance for any help
Jean-Francois