• TAO parallel connect to several endpoints in IOR profile.

    From Vasyl Hordynskyy@21:1/5 to All on Tue Dec 19 08:43:04 2017
    ACE version: 6.3.3
    TAO version: 2.3.3

    OPERATING SYSTEM:
    Windows 10

    COMPILER NAME AND VERSION:
    Embarcadero Seattle C++ builder update 1. bcc32.exe version 7.11

    ace/config-win32.h
    config-win32-borland.h

    DOES THE PROBLEM AFFECT:
    COMPILATION?
    NO
    LINKING?
    NO
    EXECUTION?
    YES

    SYNOPSIS:
    IOR contains several endpoints(3 - 4), valid endpoint is last one. ORBUseParallelConnection is 1 and ORBUseSharedProfile 1.
    Connect to several endpoints is consecutive.

    DESCRIPTION:
    Server is available through Naming service (Windows service). Client connect to server through Naming service. Client parameters is following: -ORBDebug -ORBDebugLevel 10 -ORBDottedDecimalAddresses 1 -ORBInitRef NameService=corbaloc:iiop:UAPC1410:2001/
    NameService -ORBListenEndpoints iiop://:10010/portspan=10&reuse_addr=0&hostname_in_ior=localhost -ORBLogFile corba.log -ORBObjRefStyle URL -ORBParallelConnectDelay 100 -ORBSvcConf svc.conf -ORBUseParallelConnects 1 -ORBUseSharedProfile 1 -RequestTimeout 0

    svc.conf:
    static Advanced_Resource_Factory "-ORBAMIResponseHandlerAllocator thread -ORBReactorType select_mt"
    static Client_Strategy_Factory "-ORBTransportMuxStrategy MUXED -ORBClientConnectionHandler MT"
    static Server_Strategy_Factory "-ORBTransportMuxStrategy MUXED -ORBConcurrency thread-per-connection"
    dynamic TAO_Transport_IIOP_Current_Loader Service_Object * TAO_TC_IIOP:_make_TAO_Transport_IIOP_Current_Loader() ""

    Server provide IOR with several endpoints. (IOR: corbaloc:iiop:1.2@PS-IIOKA:10000,iiop:1.2@172.21.4.27:10000/StandardImplName/HomePoa/UserSecurityHome).

    On log file I found suspicious output (which should block.) below is part of log:
    TAO (9776|28100) - IIOP_Connector::begin_connection, to <PS-IIOKA:10000> which should block
    TAO (9776|28100) - TAO_LF_CH_Event[0]::state_changed_i, state LFS_IDLE->LFS_CONNECTION_WAIT
    TAO (9776|28100) - IIOP_Connection_Handler[144908400]::IIOP_Connection_Handler, this=08ACCA60
    TAO (9776|28100) - TAO_LF_CH_Event[144908400]::state_changed_i, state LFS_CONNECTION_WAIT->LFS_CONNECTION_CLOSED
    TAO (9776|28100) - Transport[144908400]::purge_entry, entry is 00000000
    TAO (9776|28100) - IIOP_Connection_Handler[144908400]::~IIOP_Connection_Handler, this=08ACCA60, transport=08A32070
    TAO (9776|28100) - Transport[144908400]::~Transport
    TAO (9776|28100) - Transport[144908400]::cleanup_queue_i, cleaning up complete queue
    TAO (9776|28100) - Transport[144908400]::cleanup_queue_i, discarded 0 messages, 0 bytes.
    TAO (9776|28100) - IIOP_Connector::begin_connection, to <172.21.4.27:10000> which should block
    TAO (9776|28100) - TAO_LF_CH_Event[0]::state_changed_i, state LFS_IDLE->LFS_CONNECTION_WAIT
    TAO (9776|28100) - IIOP_Connection_Handler[144908400]::IIOP_Connection_Handler, this=08ACCA60
    TAO (9776|28100) - IIOP_Connection_Handler::open, The local addr is <172.21.4.27:62679>
    TAO (9776|28100) - IIOP_Connection_Handler::open, IIOP connection to peer <172.21.4.27:10000> on 1548
    TAO (9776|28100) - Transport::post_open, tport id changed from 144908400 to 1548
    TAO (9776|28100) - Transport[1548]::post_open, cache_map_entry_ is 0
    TAO (9776|28100) - TAO_LF_CH_Event[1548]::state_changed_i, state LFS_CONNECTION_WAIT->LFS_SUCCESS
    TAO (9776|28100) - Cache_IntId_T::Cache_IntId_T, this=0D54EDCC Transport[1548] is connected
    TAO (9776|28100) - Cache_IntId_T::recycle_state, ENTRY_UNKNOWN->ENTRY_IDLE_AND_PURGABLE Transport[1548] IntId=0D54EDCC
    TAO (9776|28100) - Transport_Cache_Manager_T::bind_i, Transport[1548] @ hash:index{-1407898837:0}
    TAO (9776|28100) - Transport_Cache_Manager_T::bind_i: Success Transport[1548] @ hash:index{-1407898837:0}. Cache size is [3]
    TAO (9776|28100) - IIOP_Connector::make_connection, new connected connection to <172.21.4.27:10000> on Transport[1548]
    TAO (9776|28100) - Transport[1548]::register_handler
    TAO (9776|28100) - Transport[1548]::register_handler - registering event handler with reactor
    TAO (9776|28100) - Codeset_Manager_i::set_tcs, setting char translator (00010001)
    TAO (9776|28100) - Codeset_Manager_i::set_tcs, setting wchar translator (00010109)
    TAO (9776|28100) - Muxed_TMS[1548]::request_id, <1>


    My question is: why parallel connect does not work? Do you have any glue?

    Thanks in advance.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)