![]() |
|||||||
![]() |
|||||||
|
Applications >> C++ Tips
What are some of the memory management issues? Memory management issues to watch for in a C++ client application are:
Why isn't my C++ application receiving OpenSpirit events? On Unix platforms: The MICO object request broker is currently used on all supported Unix platforms. Is the hostname of the machine where you run your C++ application recognizable by the machine running your OpenSpirit shared services? (You can test this with 'ping'). If your machine that runs your C++ application is recognizable only by the IP address, you need to uncomment the line that says -ORBNoResolve in the micorc.txt file in $OSP_HOME/bin/etc. After the change, the file will resemble the following: # List the Mico orb options to use This '-ORBNoResolve' option tells the MICO ORB not to resolve the IP address to a hostname in the CORBA object reference. On Windows: The VisiBroker object request broker is used on the Windows platform, and the above MICO option does not apply. If you are VPN'ed into another network, please see the VPN FAQ.
How is persistence of IORs supported for C++ clients? We are not using the Visibroker activation daemon to start the per-userid data servers. The data servers are automatically started by your UserServer when you issue queries or find factories, but currently we are not starting them when the session is reactivated. You can work around this problem by calling the getAllServers() operation on the session's project set when you re-connect to the session. This will cause all of the data servers needed by the project set to be started.
|
|
||||||||||||||||||||||||||||||||||||||