Bug 3486

Summary: Add test that loads and unloads naming service as dll
Product: TAO Reporter: Johnny Willemsen <jwillemsen>
Component: Name ServiceAssignee: DOC Center Support List (internal) <tao-support>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 1.6.6   
Hardware: All   
OS: All   
Bug Depends on: 2926    
Bug Blocks:    

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