diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-05-04 20:02:47 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-05-04 20:02:47 +0000 |
commit | 1c89c484296eb4e5ddde09ca0588cc415719c1dd (patch) | |
tree | 57f00b57ab7677b951e7ac27d441835aed102a60 /TAO/orbsvcs/tests/LoadBalancing/server.cpp | |
parent | c03dddf83ed6cad116b43bd7c3f6b4e2a2f9aaad (diff) | |
download | ATCD-new_load_balancer.tar.gz |
Minor updates.new_load_balancer
Diffstat (limited to 'TAO/orbsvcs/tests/LoadBalancing/server.cpp')
-rw-r--r-- | TAO/orbsvcs/tests/LoadBalancing/server.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/TAO/orbsvcs/tests/LoadBalancing/server.cpp b/TAO/orbsvcs/tests/LoadBalancing/server.cpp index f47efd57aa6..1526a5e1343 100644 --- a/TAO/orbsvcs/tests/LoadBalancing/server.cpp +++ b/TAO/orbsvcs/tests/LoadBalancing/server.cpp @@ -43,7 +43,9 @@ main (int argc, char *argv[]) } CORBA::Object_var poa_object = - orb->resolve_initial_references ("RootPOA"); + orb->resolve_initial_references ("RootPOA", ACE_TRY_ENV); + ACE_TRY_CHECK; + if (CORBA::is_nil (poa_object.in ())) ACE_ERROR_RETURN ((LM_ERROR, " (%P|%t) Unable to initialize the POA.\n"), |