[omniORB] Using omniNames with Java Client (sun's IDL)

Devin Venable dvenable@visionael.com
Wed, 5 May 1999 10:50:45 -0500


Like Mark Howells, I also am having trouble with omniNames using a Java
client.

I am running omniNames on host "devin" and port 6239.  I've had no problems
utilizing it using my c++ clients.

I evoke my Java client in standard way:

> Java BugClient -ORBInitialHost devin -ORBInitialPort 6239

and I get this error:

ERROR : org.omg.CosNaming.NamingContextPackage.NotFound
org.omg.CosNaming.NamingContextPackage.NotFound
        at
org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read(Compiled Code)
        at
org.omg.CosNaming.NamingContextPackage.NotFoundHelper.extract(NotFoundHelper
.java:54)
        at
org.omg.CosNaming._NamingContextStub.resolve(_NamingContextStub.java:165)
        at BugClient.main(BugClient.java:22)

Running a very similar program but using Sun's naming service works fine.
This is my first attempt at using a Java client to communicate with a C++
server and my first attempt at using omniNames as the common nameservice.
I'm also a Java newbie, so that might not help matters.

Anyone have any insight?

Devin Venable
Product Developer



Devin Venable
Product Developer