summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>2001-07-02 22:09:09 +0000
committerbala <balanatarajan@users.noreply.github.com>2001-07-02 22:09:09 +0000
commite0cdc474154f2a6af0716a9ef36759dea5378924 (patch)
tree128c9c9eb4d05c6782becd5fa01f8130b37af387
parenta35f7b2ffd977c8b2543c243a01f21ad54efa7ec (diff)
downloadATCD-e0cdc474154f2a6af0716a9ef36759dea5378924.tar.gz
ChangeLogTag: Mon Jul 2 17:06:22 2001 Balachandran Natarajan <bala@cs.wustl.edu>
-rw-r--r--TAO/ChangeLogs/ChangeLog-02a6
-rw-r--r--TAO/tao/ORB_Core.cpp25
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.