Problem using TAO Naming Service with TAO Implementation Repository

Problem using TAO Naming Service with TAO Implementation Repository

Post by Douglas C. Schmid » Wed, 05 Jun 2002 20:27:20



Hi Derek,

        Thanks for using the PRF.

Quote:>> TAO VERSION: 1.2a-OCI
>>     ACE VERSION: 5.2a-OCI

I recommend that you upgrade to a newer version of TAO (e.g., TAO
1.2.3 available from deuce.doc.wustl.edu/Download.html) since a number
of bugs have been fixed pertaining to the ImplRepo.  If you need to

commercial support.  In general, if you use the OCI version of TAO

group TAO mailing list.

Thanks,

        Doug

Quote:>>        PC NT 4.0    
>>        Visual C++

>>     SYNOPSIS:
>>        Trouble using the Implementation Repository and Name Service
>> together.

>>     DESCRIPTION:
>>        The name service part seems to working fine. I can get the client to
>> connect if I start the server manually.
>>        However if I do not start the server manually I get an exception.

>>        Here is what I did
>>        Start the implementation repository
>>        d:\ACE_wrappers\TAO\orbsvcs\ImplRepo_Service\ImplRepo_Service -o
>> implrepo.ior -d 10 -ORBobjrefstyle URL

>>        Start the NameService
>>        D:\ACE_wrappers\TAO\orbsvcs\Naming_Service\Naming_Service -f
>> d:\corba\sfport\exe\nameService_save.txt
>>                -ORBEndPoint iiop://derek:12345 -d 10
>>        also tried
>>        D:\ACE_wrappers\TAO\orbsvcs\Naming_Service\Naming_Service -f
>> d:\corba\sfport\exe\nameService_save.txt
>>                -ORBEndPoint iiop://derek:12345 -d 10 -ORBInitRef
>> ImplRepoService=file://implrepo.ior

>>        Added the service to the impl repository
>>        d:\ACE_wrappers\bin\tao_imr -ORBInitRef
>> ImplRepoService=file://implrepo.ior add childPOA -c
>>                "sf.exe -ORBUseIMR 1 -ORBobjrefstyle URL -ORBInitRef
>> NameService=corbaloc:iiop:derek:12345/NameService"

>>        Start client
>>        SFclient.exe -ORBInitRef
>> NameService=corbaloc:iiop:derek:12345/NameService

>>        OUTPUT in client console window
>>                TRANSIENT (IDL:omg.org/CORBA/TRANSIENT:1.0)
>>        OUTPUT name service window
>>                TAO (539|536) - TAO_Transport_Cache_Manager::bind_i (0x12ec20,
>> 0xd2a220)
>>                TAO (539|536) IIOP_Connection_Handler::handle_close (292, 1)
>>                TAO (539|536) IIOP_Connection_Handler::handle_close_i (292)
>>        No output in the implementation repository service window.

>> Can anyone tell me what I am missing or doing wrong?
>> Thanks You

--
Dr. Douglas C. Schmidt, Associate Professor  TEL: (949) 824-1901
Dept of Electrical & Computer Engineering    FAX: (949) 824-2321
616E Engineering Tower                       WEB: www.ece.uci.edu/~schmidt/

 
 
 

1. Problem using TAO Naming Service with TAO Implementation Repository

TAO VERSION: 1.2a-OCI
    ACE VERSION: 5.2a-OCI

        PC NT 4.0    
        Visual C++

    SYNOPSIS:
        Trouble using the Implementation Repository and Name Service
together.

    DESCRIPTION:
        The name service part seems to working fine. I can get the client to
connect if I start the server manually.
        However if I do not start the server manually I get an exception.

        Here is what I did
        Start the implementation repository
        d:\ACE_wrappers\TAO\orbsvcs\ImplRepo_Service\ImplRepo_Service -o
implrepo.ior -d 10 -ORBobjrefstyle URL

        Start the NameService
        D:\ACE_wrappers\TAO\orbsvcs\Naming_Service\Naming_Service -f
d:\corba\sfport\exe\nameService_save.txt
                -ORBEndPoint iiop://derek:12345 -d 10
        also tried
        D:\ACE_wrappers\TAO\orbsvcs\Naming_Service\Naming_Service -f
d:\corba\sfport\exe\nameService_save.txt
                -ORBEndPoint iiop://derek:12345 -d 10 -ORBInitRef
ImplRepoService=file://implrepo.ior

        Added the service to the impl repository
        d:\ACE_wrappers\bin\tao_imr -ORBInitRef
ImplRepoService=file://implrepo.ior add childPOA -c
                "sf.exe -ORBUseIMR 1 -ORBobjrefstyle URL -ORBInitRef
NameService=corbaloc:iiop:derek:12345/NameService"

        Start client
        SFclient.exe -ORBInitRef
NameService=corbaloc:iiop:derek:12345/NameService

        OUTPUT in client console window
                TRANSIENT (IDL:omg.org/CORBA/TRANSIENT:1.0)
        OUTPUT name service window
                TAO (539|536) - TAO_Transport_Cache_Manager::bind_i (0x12ec20,
0xd2a220)
                TAO (539|536) IIOP_Connection_Handler::handle_close (292, 1)
                TAO (539|536) IIOP_Connection_Handler::handle_close_i (292)
        No output in the implementation repository service window.

Can anyone tell me what I am missing or doing wrong?
Thanks You

2. Murder She Sodding Wrote

3. TAO question, having problem using Implementation Repository service

4. Help--Cannot Unhide Hidden Files and Folders

5. Problem with Implementation Repository in TAO 1.3

6. FP 2002 SLOWWWW

7. [TAO-Corba]: [Conecting client to server on different machine using 'Naming Service']

8. A challenge ???

9. querying name bindings registered in the Tao Name Service

10. [tao-users] Using TAO on a project already using ace

11. TAO VERSION: 1.2.1 Runing Naming service and ImpRepo service as persistent

12. TAO problem: AMI with Naming Service

13. [Fwd: TAO problem: AMI with Naming Service]