2.2. Common Coding Problems

2.2.1. LD_LIBRARY_PATH not defined

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

2.2.2. 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.

2.2.3. 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)