[omniORB] Java + Naming Service Access Problems
Tingle, Alex
Alex.Tingle at bronermetals.com
Wed Dec 10 16:13:05 GMT 2003
Thomas wrote:
> the corbaname-style initialisation works for clients if I use jacORB
> with the jacORB naming service. The server components are
> implemented in
> C++ with omniORB or are java servers making use of jacORB.
>
> The line for jacorb.properties looks like
>
> ORBInitRef.NameService=corbaloc::<jacorb nameservice host>:3528
>
> for a jacorb name service configured with JBoss. The exact same thing
> did not work in the
> case where the host was running omninames. In that case only omniORB
> clients could resolve names successfully.
>
> Btw. you have to use org.omg.CosNaming.NamingContextExt to be
> successful.
So you're not just using the naming service from Jacorb, you are using
Jacorb for your clients too! I suspect that might be why you're not seeing
the problems with the built-in Java ORB ;-)
-Alex
More information about the omniORB-list
mailing list