[omniORB] Problem finding nameserver

Duncan Grisby duncan at grisby.org
Tue Apr 18 16:29:51 BST 2006


On Friday 7 April, "Perham, David A." wrote:

> I installed version 4.0.7 of the orb and was able to run my application
> successfully.
> I discovered that I would need to use omniEvents in order to set up an
> eventChannel.
> This application was using omniorb 4.0.6 libraries, so I decided to
> revert to omniOrb 4.0.6.

It would be much better to get a version of omniEvents linked against
4.0.7.

> I removed all of the .7 files, and removed the omniOrb keys from the
> registry. I reconfigured 
> My environment for .6 as I had done for .7 and rebuilt my apps
> (including idl) against the .6 version.
> I then ran omninames -start, which ran successfully.
> However, now my application can no longer reference the nameserver--I
> get a NO_RESOURCES error when attempting to resolve it.

That means you don't have a NameService InitRef registered. Did you
properly add it to the registry?  What do you see if you run your
program with -ORBdumpConfiguration 1 on the command line?

Cheers,

Duncan.

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



More information about the omniORB-list mailing list