Common Coding Problems

LD_LIBRARY_PATH not defined

ORBit uses dynamically loadable libraries and these need to be on the LD_LIBRARY_PATH for things to work.

IOR strings with newlines

When you get an object using a stringified IOR, make sure you trim the trailing newline from the string before passing it on.

Activating POAManager before servants can handle requests

You must activate the POAManager before incoming requests can be processed


PortableServer_POAManager_activate(PortableServer_POA__get_the_POAManager(poa,&ev),&ev)