Bug 3486 - Add test that loads and unloads naming service as dll
Summary: Add test that loads and unloads naming service as dll
Status: RESOLVED FIXED
Alias: None
Product: TAO
Classification: Unclassified
Component: Name Service (show other bugs)
Version: 1.6.6
Hardware: All All
: P3 normal
Assignee: DOC Center Support List (internal)
URL:
Depends on: 2926
Blocks:
  Show dependency tree
 
Reported: 2008-11-03 03:47 CST by Johnny Willemsen
Modified: 2008-11-03 05:31 CST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johnny Willemsen 2008-11-03 03:47:09 CST
Add test that loads and unloads naming service as dll
Comment 1 Johnny Willemsen 2008-11-03 05:31:06 CST
Mon Nov  3 10:28:00 UTC 2008  Johnny Willemsen  <jwillemsen@remedy.nl>

        * orbsvcs/tests/Bug_3486_Regression/*:
          New file for bugzilla 3486

Mon Nov  3 10:24:00 UTC 2008  Johnny Willemsen  <jwillemsen@remedy.nl>

        * tao/Object_Ref_Table.cpp:
        * tao/Object_Ref_Table.h:
        * tao/Object_Ref_Table.inl:
        * tao/ORB.cpp:
        * tao/ORB.h:
          Added ORB::unregister_initial_reference to unregister a rir
          from the ORB. Usefull when we load and unload services on demand.
          Reported an enhancement request to the OMG. Also reworked the
          ORT a little bit to make sure we atomically update the table

        * orbsvcs/orbsvcs/Naming/Naming_Service_Container.h:
        * orbscvs/Naming_Service/Naming_Service.h:
          Layout change

        * orbsvcs/orbsvcs/Naming/Naming_Server.cpp:
        * orbsvcs/orbsvcs/Naming/Naming_Server.h:
          Const/bool changes. Also unregister the NamingService from the
          ORB rir table. This makes it possible to load and unload the
          naming service multiple times as services, fixes bugzilla 3486

        * orbsvcs/orbsvcs/Naming/Naming_Loader.cpp:
          Use the tchar argv array

        * orbsvcs/Naming_Service/Naming_Service.cpp:
          result is only used within the try/catch block