summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service.cpp')
-rw-r--r--TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service.cpp b/TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service.cpp
index fad363a4c76..f307f797a23 100644
--- a/TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service.cpp
+++ b/TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service.cpp
@@ -52,7 +52,7 @@ Life_Cycle_Service_Server::init (int argc,
command.get_TCHAR_argv());
if (retval == -1)
- ACE_ERROR_RETURN ((LM_ERROR,
+ ORBSVCS_ERROR_RETURN ((LM_ERROR,
ACE_TEXT("%p\n"),
ACE_TEXT("init")),
-1);
@@ -61,7 +61,7 @@ Life_Cycle_Service_Server::init (int argc,
retval = this->orb_manager_.activate_poa_manager ();
if (retval == -1)
- ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "activate_poa_manager"), -1);
+ ORBSVCS_ERROR_RETURN ((LM_ERROR, "%p\n", "activate_poa_manager"), -1);
this->parse_args (command.get_argc(), command.get_TCHAR_argv());
@@ -75,13 +75,13 @@ Life_Cycle_Service_Server::init (int argc,
this->orb_manager_.activate (this->life_Cycle_Service_i_ptr_);
if (this->debug_level_ >= 2)
- ACE_DEBUG ((LM_DEBUG, "LifeCycle_Service: IOR is: <%C>\n", str.in ()));
+ ORBSVCS_DEBUG ((LM_DEBUG, "LifeCycle_Service: IOR is: <%C>\n", str.in ()));
// Register the LifeCycle Service with the Naming Service.
try
{
if (this->debug_level_ >= 2)
- ACE_DEBUG ((LM_DEBUG,
+ ORBSVCS_DEBUG ((LM_DEBUG,
ACE_TEXT("LifeCycle_Service: Trying to get a reference to the Naming Service.\n")));
// Get the Naming Service object reference.
@@ -89,7 +89,7 @@ Life_Cycle_Service_Server::init (int argc,
orb_manager_.orb()->resolve_initial_references ("NameService");
if (CORBA::is_nil (namingObj_var.in ()))
- ACE_ERROR ((LM_ERROR,
+ ORBSVCS_ERROR ((LM_ERROR,
" LifeCycle_Service: Unable get the Naming Service.\n"));
// Narrow the object reference to a Naming Context.
@@ -97,11 +97,11 @@ Life_Cycle_Service_Server::init (int argc,
if (CORBA::is_nil (namingContext_var_.in ()))
- ACE_ERROR ((LM_ERROR,
+ ORBSVCS_ERROR ((LM_ERROR,
"LifeCycle_Service: Unable get the Naming Service.\n"));
if (this->debug_level_ >= 2)
- ACE_DEBUG ((LM_DEBUG,
+ ORBSVCS_DEBUG ((LM_DEBUG,
ACE_TEXT("LifeCycle_Service: Have a proper reference to the Naming Service.\n")));
CosNaming::Name life_Cycle_Service_Name (1);
@@ -114,7 +114,7 @@ Life_Cycle_Service_Server::init (int argc,
tmp);
if (this->debug_level_ >= 2)
- ACE_DEBUG ((LM_DEBUG,
+ ORBSVCS_DEBUG ((LM_DEBUG,
ACE_TEXT("LifeCycle_Service: Bound the LifeCycle Service to the Naming Context.\n")));
}
catch (const CORBA::Exception& ex)
@@ -131,7 +131,7 @@ int
Life_Cycle_Service_Server::run (void)
{
if (this->debug_level_ >= 1)
- ACE_DEBUG ((LM_DEBUG,
+ ORBSVCS_DEBUG ((LM_DEBUG,
ACE_TEXT("\nLifeCycle Service: Life_Cycle_Service_Server is running\n")));
orb_manager_.orb()->run ();
@@ -158,11 +158,11 @@ Life_Cycle_Service_Server::parse_args (int argc,
break;
default:
exit_code = 1;
- ACE_ERROR ((LM_ERROR,
+ ORBSVCS_ERROR ((LM_ERROR,
"%s: unknown arg, -%c\n",
argv[0], char(opt)));
case '?':
- ACE_DEBUG ((LM_DEBUG,
+ ORBSVCS_DEBUG ((LM_DEBUG,
ACE_TEXT("usage: %s")
ACE_TEXT(" [-d] <debug level> - Set the debug level\n")
ACE_TEXT(" [-?] - Prints this message\n")