diff options
Diffstat (limited to 'TAO/performance-tests/Latency/st_server.cpp')
-rw-r--r-- | TAO/performance-tests/Latency/st_server.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/TAO/performance-tests/Latency/st_server.cpp b/TAO/performance-tests/Latency/st_server.cpp index 846d2285586..dd3425aae53 100644 --- a/TAO/performance-tests/Latency/st_server.cpp +++ b/TAO/performance-tests/Latency/st_server.cpp @@ -74,7 +74,9 @@ main (int argc, char *argv[]) ACE_TRY_CHECK; 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"), |