From 78227874909605a5cfa608d4e070405d85ef178f Mon Sep 17 00:00:00 2001 From: Ossama Othman Date: Thu, 21 Jun 2001 18:09:08 +0000 Subject: *** empty log message *** --- TAO/orbsvcs/tests/LoadBalancing/HasherFactory.cpp | 10 +++++++++- TAO/orbsvcs/tests/LoadBalancing/server.cpp | 3 +++ 2 files changed, 12 insertions(+), 1 deletion(-) 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 { -- cgit v1.2.1