diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-06-21 18:09:08 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-06-21 18:09:08 +0000 |
commit | 78227874909605a5cfa608d4e070405d85ef178f (patch) | |
tree | eb938e482802355de141f1ff6f1d60293be9f508 | |
parent | 7becb7b3ba91ca9ef45cab933c55a91136f2cd54 (diff) | |
download | ATCD-78227874909605a5cfa608d4e070405d85ef178f.tar.gz |
*** empty log message ***
-rw-r--r-- | TAO/orbsvcs/tests/LoadBalancing/HasherFactory.cpp | 10 | ||||
-rw-r--r-- | TAO/orbsvcs/tests/LoadBalancing/server.cpp | 3 |
2 files changed, 12 insertions, 1 deletions
diff --git a/TAO/orbsvcs/tests/LoadBalancing/HasherFactory.cpp b/TAO/orbsvcs/tests/LoadBalancing/HasherFactory.cpp index 7c449ee871a..09a04ed4133 100644 --- a/TAO/orbsvcs/tests/LoadBalancing/HasherFactory.cpp +++ b/TAO/orbsvcs/tests/LoadBalancing/HasherFactory.cpp @@ -107,6 +107,10 @@ HasherFactory::create_object ( ACE_TRY_ENV); ACE_CHECK_RETURN (CORBA::Object::_nil ()); + + ACE_DEBUG ((LM_DEBUG, + "Hasher activated.\n")); + HasherFactory::FactoryCreationId fcid = this->bind_fcid (oid.in (), ACE_TRY_ENV); ACE_CHECK_RETURN (CORBA::Object::_nil ()); @@ -177,9 +181,13 @@ HasherFactory::init (CORBA::Environment &ACE_TRY_ENV) this->root_poa_->create_id_assignment_policy ( PortableServer::SYSTEM_ID); + PortableServer::POAManager_var manager = + this->root_poa_->the_POAManager (ACE_TRY_ENV); + ACE_CHECK; + this->poa_ = this->root_poa_->create_POA ("Hasher_POA", - PortableServer::POAManager::_nil (), + manager.in (), policies, ACE_TRY_ENV); ACE_CHECK; diff --git a/TAO/orbsvcs/tests/LoadBalancing/server.cpp b/TAO/orbsvcs/tests/LoadBalancing/server.cpp index 5c159e58a46..d184c579e58 100644 --- a/TAO/orbsvcs/tests/LoadBalancing/server.cpp +++ b/TAO/orbsvcs/tests/LoadBalancing/server.cpp @@ -50,6 +50,9 @@ setup_lb (CORBA::Object_ptr lb, TAO_LB_RPMS_Monitor &rpms_monitor, HasherFactory &hasher_factory) { + ACE_DEBUG ((LM_DEBUG, + "Setting up LB\n")); + ACE_DECLARE_NEW_CORBA_ENV; ACE_TRY { |