[omniORB] Problem configuring with --with-omniORB-config

Pablo Alvarez palvarez at neuralarts.com
Tue Sep 2 14:30:02 BST 2003


Hi all,

I just suffered for a few hours trying to figure out why my new installation 
of omniORB-4.0.2 could not find its name server. It turns out it could not 
find its config file, although the only diagnostic I got for that was a 
CORBA::NO_RESOURCES exception. Finally I figured out that I had given the 
directory for the file to the configure command, rather than the complete 
pathname including the file itself. Well, the --prefix and 
--with-omniNames-logdir options both take directories... OK, so it was dumb, 
but in the hope of helping fellow dummies I would like to make a couple of 
suggestions:

in README.unix, replace: 

 --with-omniORB-config=
                     Location to look for the omniORB configuration
                     file. Default /etc/omniORB.cfg

with:

 --with-omniORB-config=
                     Complete path name to the omniORB configuration
                     file (e.g. /home/foo/myomni.cfg). 
                     Default /etc/omniORB.cfg


Also, change resolve_initial_references so that it prints out some kind of 
informative message when there is no config file, rather than throwing a 
NO_RESOURCES exception.

Thanks,

Pablo Alvarez




More information about the omniORB-list mailing list