summaryrefslogtreecommitdiff
path: root/TAO/tests/POA/On_Demand_Activation/server.cpp
diff options
context:
space:
mode:
authornaga <naga@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-01-28 20:43:41 +0000
committernaga <naga@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-01-28 20:43:41 +0000
commitd2219c21dd1b030028d3afd3617e6302dfaa209b (patch)
tree0cd480a02fb2de350f5fcecf624058fb189c54e2 /TAO/tests/POA/On_Demand_Activation/server.cpp
parentcc10ee9a89f1a4545c14612da104eaa17c60f146 (diff)
downloadATCD-d2219c21dd1b030028d3afd3617e6302dfaa209b.tar.gz
Changed comments
Diffstat (limited to 'TAO/tests/POA/On_Demand_Activation/server.cpp')
-rw-r--r--TAO/tests/POA/On_Demand_Activation/server.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/TAO/tests/POA/On_Demand_Activation/server.cpp b/TAO/tests/POA/On_Demand_Activation/server.cpp
index 54c2575791b..acdddf5f45a 100644
--- a/TAO/tests/POA/On_Demand_Activation/server.cpp
+++ b/TAO/tests/POA/On_Demand_Activation/server.cpp
@@ -210,6 +210,7 @@ main (int argc, char **argv)
cout << first_foo_ior.in () << endl;
cout << second_foo_ior.in () << endl;
+ // Set the poa_manager state to active, ready to process requests
poa_manager->activate (env);
if (env.exception () != 0)
{
@@ -217,6 +218,7 @@ main (int argc, char **argv)
return -1;
}
+ // Run the ORB
if (orb->run () == -1)
ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "CORBA::ORB::run"), -1);