diff options
-rw-r--r-- | TAO/ChangeLogs/ChangeLog-02a | 6 | ||||
-rw-r--r-- | TAO/tao/ORB_Core.cpp | 25 |
2 files changed, 19 insertions, 12 deletions
diff --git a/TAO/ChangeLogs/ChangeLog-02a b/TAO/ChangeLogs/ChangeLog-02a index 46d581151cc..b67325f9da1 100644 --- a/TAO/ChangeLogs/ChangeLog-02a +++ b/TAO/ChangeLogs/ChangeLog-02a @@ -1,3 +1,9 @@ +Mon Jul 2 17:06:22 2001 Balachandran Natarajan <bala@cs.wustl.edu> + + * tao/ORB_Core.cpp: Initialization of the transport_cache () + should preceed the preconnects (). Thanks to Irfan for pointing + this out. + Mon Jul 2 15:53:29 2001 Jeff Parsons <parsons@cs.wustl.edu> * orbsvcs/tests/InterfaceRepo/IFR_Test/Admin_Client.cpp: diff --git a/TAO/tao/ORB_Core.cpp b/TAO/tao/ORB_Core.cpp index 892b7a4fce3..58cf0b6ae40 100644 --- a/TAO/tao/ORB_Core.cpp +++ b/TAO/tao/ORB_Core.cpp @@ -1058,6 +1058,19 @@ TAO_ORB_Core::init (int &argc, char *argv[], CORBA::Environment &ACE_TRY_ENV) CORBA::COMPLETED_NO), -1); + // Open the Transport Cache + // @@ This seems to be a nice place to configure the transport + // cache for the number of allowed entries + if (this->transport_cache_->open (this) == -1) + { + ACE_THROW_RETURN (CORBA::INITIALIZE ( + CORBA::SystemException::_tao_minor_code ( + TAO_ORB_CORE_INIT_LOCATION_CODE, + 0), + CORBA::COMPLETED_NO), + -1); + } + // Initialize the connector registry and create a connector for each // configured protocol. if (this->connector_registry ()->open (this) != 0) @@ -1074,18 +1087,6 @@ TAO_ORB_Core::init (int &argc, char *argv[], CORBA::Environment &ACE_TRY_ENV) this, this->orb_params ()->preconnects ()); - // Open the Transport Cache - // @@ This seems to be a nice place to configure the transport - // cache for the number of allowed entries - if (this->transport_cache_->open (this) == -1) - { - ACE_THROW_RETURN (CORBA::INITIALIZE ( - CORBA::SystemException::_tao_minor_code ( - TAO_ORB_CORE_INIT_LOCATION_CODE, - 0), - CORBA::COMPLETED_NO), - -1); - } // Look for BiDirectional library here. If the user has svc.conf // file, load the library at this point. |