summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2008-11-24 19:49:26 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2008-11-24 19:49:26 +0000
commitc782f4908a4a9bc23f05a232fe257b7de1a9ccb3 (patch)
treeedd255a13e2cc8a12abd45753cfb97d81dfd9a4f
parent137b83b44b5f493f34fbd3c8d8915b24a7d587e3 (diff)
downloadATCD-c782f4908a4a9bc23f05a232fe257b7de1a9ccb3.tar.gz
Mon Nov 24 19:48:57 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl>
-rw-r--r--flat/CIAO/CCF/Documentation/Build.html4
-rw-r--r--flat/CIAO/CIAO-INSTALL.html2
-rw-r--r--flat/CIAO/ChangeLog44
-rw-r--r--flat/CIAO/DAnCE/NodeApplication/NodeApplication_Impl.cpp396
-rw-r--r--flat/CIAO/DAnCE/NodeApplication/ServerActivator_Impl.cpp2
-rw-r--r--flat/CIAO/DAnCE/NodeManager/NodeManager_Impl.cpp22
-rw-r--r--flat/CIAO/DAnCE/NodeManager/Node_Manager_Module.cpp8
-rw-r--r--flat/CIAO/ccm/ComponentServer/ComponentServer.mpc2
-rw-r--r--flat/CIAO/ciao/Containers/Session/Session_Container.cpp4
-rw-r--r--flat/CIAO/ciao/Contexts/Context_Impl_Base.h2
-rw-r--r--flat/CIAO/ciao/Servants/Home_Servant_Impl_Base.h5
-rw-r--r--flat/CIAO/ciao/Servants/Port_Activator.h2
-rw-r--r--flat/CIAO/ciao/Servants/Servant_Impl_T.h2
-rw-r--r--flat/CIAO/examples/Hello/Sender/Sender_exec.cpp2
-rw-r--r--flat/CIAO/ofccm/Cdmw/CDMW_Deployment.idl11
-rw-r--r--flat/CIAO/ofccm/Cdmw/CDMW_IDL_Ext.idl2
16 files changed, 269 insertions, 241 deletions
diff --git a/flat/CIAO/CCF/Documentation/Build.html b/flat/CIAO/CCF/Documentation/Build.html
index 94415303afe..227dc2358f0 100644
--- a/flat/CIAO/CCF/Documentation/Build.html
+++ b/flat/CIAO/CCF/Documentation/Build.html
@@ -196,7 +196,9 @@ section.</p>
<a href="http://www.boost.org/more/getting_started.html">Boost Building
Instructions</a>. Please remember the install locations of the boost libraries
because they will be needed to properly configure your environment for building
-CCF.<p>
+CCF.
+bjam --build-dir="c:\temp\boost2" --toolset=msvc-8.0 link=static/variant=debug/runtime-link=static --with-regex<p>
+
<!--p>After you have successfully compiled necessary libraries in the boost
distribution you need to do one more thing. Inside the boost distribution
diff --git a/flat/CIAO/CIAO-INSTALL.html b/flat/CIAO/CIAO-INSTALL.html
index 680b36d0f9c..5b0dfe95939 100644
--- a/flat/CIAO/CIAO-INSTALL.html
+++ b/flat/CIAO/CIAO-INSTALL.html
@@ -114,7 +114,7 @@
libraries on your machine. For Windows, you can download either the
Windows-specific .exe file or the platform-independent .zip file. Use version
1.32.0 or later. The accompanying documentation on how to build and install
- Boost is pretty straightforward.
+ Boost is pretty straightforward. Another option is to use the intsaller from <a href="http://www.boostpro.com/products/free">BoostPro Computing</a>. Install the latest boost version and select the Multi Threaded Static version, also make sure you select FileSystem
<li>
Set the following environment variables:
<ul>
diff --git a/flat/CIAO/ChangeLog b/flat/CIAO/ChangeLog
index cbdc8089632..963ebb449ef 100644
--- a/flat/CIAO/ChangeLog
+++ b/flat/CIAO/ChangeLog
@@ -1,10 +1,50 @@
+Mon Nov 24 19:48:57 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl>
+
+ * ccm/ComponentServer/ComponentServer.mpc
+ Layout change
+
+ * ciao/Containers/Session/Session_Container.cpp:
+ Catch exceptions as const
+
+ * ciao/Contexts/Context_Impl_Base.h:
+ Updated include
+
+ * ciao/Servants/Home_Servant_Impl_Base.h:
+ Include Container_BaseC.h, the forward declaration
+ gives problems with msvc8
+
+ * ciao/Servants/Port_Activator.h:
+ Corrected signature so that we match the base class
+
+ * ciao/Servants/Servant_Impl_T.h:
+ Removed not needed forward declaration
+
+ * DAnCE/NodeApplication/NodeApplication_Impl.cpp:
+ Unicode changes
+
+ * DAnCE/NodeApplication/ServerActivator_Impl.cpp:
+ Const change
+
+ * DAnCE/NodeManager/Node_Manager_Module.cpp:
+ Unicode and layout changes
+
+ * DAnCE/NodeManager/NodeManager_Impl.cpp:
+ Layout changes and initialise pointer with 0
+
+ * examples/Hello/Sender/Sender_exec.cpp:
+ Unicode change
+
+ * ofccm/Cdmw/CDMW_Deployment.idl:
+ * ofccm/Cdmw/CDMW_IDL_Ext.idl:
+ Updated includes
+
Mon Nov 24 16:06:57 UTC 2008 William R. Otte <wotte@dre.vanderbilt.edu>
* DAnCE/NodeApplication/Name_Utilities.h:
* DAnCE/NodeApplication/Name_Utilities.cpp:
- Files missing from last commit.
-
+ Files missing from last commit.
+
Sun Nov 23 23:59:50 UTC 2008 William R. Otte <wotte@dre.vanderbilt.edu>
* DAnCE/Deployment/DAnCE_Properties.idl:
diff --git a/flat/CIAO/DAnCE/NodeApplication/NodeApplication_Impl.cpp b/flat/CIAO/DAnCE/NodeApplication/NodeApplication_Impl.cpp
index 1e83c30934d..aacef6ed4bf 100644
--- a/flat/CIAO/DAnCE/NodeApplication/NodeApplication_Impl.cpp
+++ b/flat/CIAO/DAnCE/NodeApplication/NodeApplication_Impl.cpp
@@ -37,7 +37,7 @@ namespace
CORBA::Any any;
DANCE_DEBUG ((LM_TRACE, DLINFO "NodeApplicion::<anonymous>::get_property_value<T> - "
- "Finding property value for name '%s'\n",
+ "Finding property value for name '%C'\n",
name));
if (properties.find (name, any) == 0)
@@ -47,13 +47,13 @@ namespace
else
{
DANCE_ERROR ((LM_WARNING, DLINFO "NodeApplicion::<anonymous>::get_property_value<T> - "
- "Failed to extract property value for %s\n", name));
+ "Failed to extract property value for %C\n", name));
return false;
}
}
-
+
DANCE_DEBUG ((LM_TRACE, DLINFO "NodeApplicion::<anonymous>::get_property_value<T> - "
- "Property value for name '%s' has no value\n", name));
+ "Property value for name '%C' has no value\n", name));
return false;
}
@@ -65,7 +65,7 @@ namespace
CORBA::Any any;
DANCE_DEBUG ((LM_TRACE, DLINFO "NodeApplicion::<anonymous>::get_property_value<bool> - "
- "Finding property value for name '%s'\n",
+ "Finding property value for name '%C'\n",
name));
if (properties.find (name, any) == 0)
@@ -75,13 +75,13 @@ namespace
else
{
DANCE_ERROR ((LM_WARNING, DLINFO "NodeApplicion::<anonymous>::get_property_value<T> - "
- "Failed to extract property value for %s\n", name));
+ "Failed to extract property value for %C\n", name));
return false;
}
}
-
+
DANCE_DEBUG ((LM_TRACE, DLINFO "NodeApplicion::<anonymous>::get_property_value<bool> - "
- "Property value for name '%s' has no value\n", name));
+ "Property value for name '%C' has no value\n", name));
return false;
}
@@ -93,7 +93,7 @@ namespace
CORBA::Any any;
DANCE_DEBUG ((LM_TRACE, DLINFO "NodeApplicion::<anonymous>::get_property_value<bool> - "
- "Finding property value for name '%s'\n",
+ "Finding property value for name '%C'\n",
name));
if (properties.find (name, any) == 0)
@@ -103,13 +103,13 @@ namespace
else
{
DANCE_ERROR ((LM_WARNING, DLINFO "NodeApplicion::<anonymous>::get_property_value<const char *> - "
- "Failed to extract property value for %s\n", name));
+ "Failed to extract property value for %C\n", name));
return false;
}
}
DANCE_DEBUG ((LM_TRACE, DLINFO "NodeApplicion::<anonymous>::get_property_value<bool> - "
- "Property value for name '%s' has no value\n", name));
+ "Property value for name '%C' has no value\n", name));
return false;
}
@@ -120,7 +120,7 @@ namespace
DANCE_TRACE ("NodeApplicion::<anonymous>::get_property_value<T>");
DANCE_DEBUG ((LM_TRACE, DLINFO "NodeApplicion::<anonymous>::get_property_value<T> - "
- "Finding property value for name '%s'\n",
+ "Finding property value for name '%C'\n",
name));
for (CORBA::ULong i = 0; i < properties.length (); ++i)
@@ -128,13 +128,13 @@ namespace
if (ACE_OS::strcmp (properties[i].name.in (), name) == 0)
{
DANCE_DEBUG ((LM_TRACE, DLINFO "NodeApplicion::<anonymous>::get_property_value<T> - "
- "Found property '%s'\n", name));
+ "Found property '%C'\n", name));
if (properties[i].value >>= val)
return true;
else
{
DANCE_ERROR ((LM_WARNING, DLINFO "NodeApplicion::<anonymous>::get_property_value<T> - "
- "Failed to extract property value for %s\n", name));
+ "Failed to extract property value for %C\n", name));
return false;
}
}
@@ -142,7 +142,7 @@ namespace
DANCE_DEBUG ((LM_TRACE, DLINFO "NodeApplicion::<anonymous>::get_property_value<T> - "
- "Property value for name '%s' has no value\n", name));
+ "Property value for name '%C' has no value\n", name));
return false;
}
@@ -153,7 +153,7 @@ namespace
DANCE_TRACE ("NodeApplicion::<anonymous>::get_property_value<const char *>");
DANCE_DEBUG ((LM_TRACE, DLINFO "NodeApplicion::<anonymous>::get_property_value<T> - "
- "Finding property value for name '%s'\n",
+ "Finding property value for name '%C'\n",
name));
for (CORBA::ULong i = 0; i < properties.length (); ++i)
@@ -161,17 +161,17 @@ namespace
if (ACE_OS::strcmp (properties[i].name.in (), name) == 0)
{
DANCE_DEBUG ((LM_TRACE, DLINFO "NodeApplicion::<anonymous>::get_property_value<T> - "
- "Found property '%s'\n", name));
+ "Found property '%C'\n", name));
if (properties[i].value >>= CORBA::Any::to_string (val, 0))
{
DANCE_DEBUG ((LM_TRACE, DLINFO "NodeApplicion::<anonymous>::get_property_value<T> - "
- "Value is %s\n", val));
+ "Value is %C\n", val));
return true;
}
else
{
DANCE_ERROR ((LM_WARNING, DLINFO "NodeApplicion::<anonymous>::get_property_value<T> - "
- "Failed to extract property value for %s\n", name));
+ "Failed to extract property value for %C\n", name));
return false;
}
}
@@ -179,7 +179,7 @@ namespace
DANCE_DEBUG ((LM_TRACE, DLINFO "NodeApplicion::<anonymous>::get_property_value<T> - "
- "Unable to find property named %s\n", name));
+ "Unable to find property named %C\n", name));
return false;
}
@@ -219,7 +219,7 @@ NodeApplication_Impl::NodeApplication_Impl (CORBA::ORB_ptr orb,
while (!i.done ())
{
DANCE_DEBUG ((LM_DEBUG, DLINFO "NodeApplication_Impl::NodeApplication_Impl - "
- "Binding value for property '%s'\n", i->key ().c_str ()));
+ "Binding value for property '%C'\n", i->key ().c_str ()));
this->properties_.bind (i->key (), i->item ());
i.advance ();
}
@@ -262,10 +262,10 @@ NodeApplication_Impl::~NodeApplication_Impl()
server.ref->remove_container (container.ref.in ());
container.ref = CIAO::Deployment::Container::_nil ();
}
- catch (CORBA::Exception &ex)
+ catch (const CORBA::Exception &ex)
{
DANCE_ERROR ((LM_ERROR, DLINFO "NodeApplication_Impl::~NodeApplication_Impl - "
- "Caught CORBA exception while removing container %u on server %u: %s\n",
+ "Caught CORBA exception while removing container %u on server %u: %C\n",
j, i, ex._info ().c_str ()));
}
catch (...)
@@ -283,10 +283,10 @@ NodeApplication_Impl::~NodeApplication_Impl()
{
this->activator_->remove_component_server (server.ref.in ());
}
- catch (CORBA::Exception &ex)
+ catch (const CORBA::Exception &ex)
{
DANCE_ERROR ((LM_ERROR, DLINFO "NodeApplication_Impl::~NodeApplication_Impl - "
- "Caught CORBA exception while removing server %u: %s\n",
+ "Caught CORBA exception while removing server %u: %C\n",
i, ex._info ().c_str ()));
}
catch (...)
@@ -297,7 +297,7 @@ NodeApplication_Impl::~NodeApplication_Impl()
}
DANCE_DEBUG ((LM_INFO, DLINFO "NodeApplication_Impl::~NodeApplication_Impl - "
- "Successfully removed container %u on node %s.\n",
+ "Successfully removed container %u on node %C.\n",
i, this->node_name_.c_str ()));
}
}
@@ -320,17 +320,17 @@ NodeApplication_Impl::init()
get_property_value (CIAO::Deployment::SERVER_EXECUTABLE, this->properties_, cs_path);
DANCE_DEBUG ((LM_DEBUG, DLINFO "NodeApplication_Impl::init - "
- "Component server path: %s\n", cs_path));
+ "Component server path: %C\n", cs_path));
get_property_value (CIAO::Deployment::SERVER_ARGUMENTS, this->properties_, cs_args);
DANCE_DEBUG ((LM_DEBUG, DLINFO "NodeApplication_Impl::init - "
- "Component server arguments: %s\n", cs_args));
+ "Component server arguments: %C\n", cs_args));
get_property_value (CIAO::Deployment::SERVER_TIMEOUT, this->properties_, spawn);
DANCE_DEBUG ((LM_DEBUG, DLINFO "NodeApplication_Impl::init - "
"Spawn delay: %u\n", spawn));
get_property_value (CIAO::Deployment::SERVER_MULTITHREAD, this->properties_, multithread);
DANCE_DEBUG ((LM_DEBUG, DLINFO "NodeApplication_Impl::init - "
- "Threading: %s\n", multithread ? "Multi" : "Single"));
-
+ "Threading: %C\n", multithread ? "Multi" : "Single"));
+
DANCE_DEBUG ((LM_TRACE, DLINFO "NodeApplication_Impl::init - "
"Spawning server activator\n"));
@@ -350,9 +350,9 @@ NodeApplication_Impl::init()
this->poa_->activate_object (this->activator_.get ());
DANCE_DEBUG((LM_TRACE, DLINFO "NodeApplication_impl::init - ServerActivator object created\n"));
-
+
const ACE_TCHAR *ior;
-
+
if (get_property_value (DAnCE::INSTANCE_NC, this->properties_, ior) ||
get_property_value (DAnCE::DOMAIN_NC, this->properties_, ior))
{
@@ -361,7 +361,7 @@ NodeApplication_Impl::init()
CORBA::Object_var obj = this->orb_->string_to_object (ior);
this->instance_nc_ = CosNaming::NamingContext::_narrow (obj);
}
- catch (CORBA::Exception &e)
+ catch (const CORBA::Exception &e)
{
DANCE_ERROR ((LM_ERROR, DLINFO "NodeApplication_impl::init - "
"Unable to resolve the instance naming context:%C\n",
@@ -390,7 +390,7 @@ NodeApplication_Impl::configuration_complete_components ()
}
DANCE_DEBUG ((LM_TRACE, DLINFO "NodeApplication_Impl::configuration_complete_components - "
- "Invoking configuration_complete on component instance %s on node %s\n",
+ "Invoking configuration_complete on component instance %C on node %C\n",
this->plan_.instance[this->instances_[k]->idd_idx].name.in (),
this->node_name_.c_str ()));
@@ -401,7 +401,7 @@ NodeApplication_Impl::configuration_complete_components ()
if (CORBA::is_nil (this->instances_[k]->ref))
{
DANCE_ERROR ((LM_ERROR, DLINFO "NodeApplication_Impl::configuration_complete_components - "
- "Failed to narrow object reference for component instance %s\n",
+ "Failed to narrow object reference for component instance %C\n",
this->plan_.instance[this->instances_[k]->idd_idx].name.in ()));
continue;
}
@@ -423,13 +423,13 @@ NodeApplication_Impl::configuration_complete_components ()
}
DANCE_DEBUG ((LM_INFO, DLINFO "NodeApplication_Impl::configuration_complete_components - "
- "Component %s successfully configured.\n",
+ "Component %C successfully configured.\n",
this->plan_.instance[this->instances_[k]->idd_idx].name.in ()));
}
- catch (CORBA::Exception &ex)
+ catch (const CORBA::Exception &ex)
{
DANCE_ERROR ((LM_ERROR, DLINFO "NodeApplication_Impl::configuration_complete_components - "
- "Caught CORBA exception from ccm_activate on component %s: %s\n",
+ "Caught CORBA exception from ccm_activate on component %C: %C\n",
this->plan_.instance[this->instances_[k]->idd_idx].name.in (),
ex._info ().c_str ()));
if (!error)
@@ -442,7 +442,7 @@ NodeApplication_Impl::configuration_complete_components ()
catch (...)
{
DANCE_ERROR ((LM_ERROR, DLINFO "NodeApplication_Impl::configuration_complete_components - "
- "Caught unknown C++ exception from ccm_activate on component %s\n",
+ "Caught unknown C++ exception from ccm_activate on component %C\n",
this->plan_.instance[this->instances_[k]->idd_idx].name.in ()));
if (!error)
{
@@ -473,7 +473,7 @@ NodeApplication_Impl::start ()
}
DANCE_DEBUG ((LM_TRACE, DLINFO "NodeApplication_Impl::start - "
- "Invoking start on component instance %s on node %s\n",
+ "Invoking start on component instance %C on node %C\n",
this->plan_.instance[this->instances_[k]->idd_idx].name.in (),
this->node_name_.c_str ()));
@@ -486,7 +486,7 @@ NodeApplication_Impl::start ()
{
DANCE_ERROR ((LM_ERROR, DLINFO "NodeApplication_Impl::start - "
"Failed to narrow object reference for container managing "
- "component instance %s to a CIAO container reference\n",
+ "component instance %C to a CIAO container reference\n",
this->plan_.instance[this->instances_[k]->idd_idx].name.in ()));
test_and_set_exception (error, exception,
this->plan_.instance[this->instances_[k]->idd_idx].name.in (),
@@ -512,13 +512,13 @@ NodeApplication_Impl::start ()
}
DANCE_DEBUG ((LM_INFO, DLINFO "NodeApplication_Impl::start - "
- "Component %s successfully activated.\n",
+ "Component %C successfully activated.\n",
this->plan_.instance[this->instances_[k]->idd_idx].name.in ()));
}
- catch (CORBA::Exception &ex)
+ catch (const CORBA::Exception &ex)
{
DANCE_ERROR ((LM_ERROR, DLINFO "NodeApplication_Impl::start - "
- "Caught CORBA exception from ccm_activate on component %s: %s\n",
+ "Caught CORBA exception from ccm_activate on component %C: %C\n",
this->plan_.instance[this->instances_[k]->idd_idx].name.in (),
ex._info ().c_str ()));
if (!error)
@@ -531,7 +531,7 @@ NodeApplication_Impl::start ()
catch (...)
{
DANCE_ERROR ((LM_ERROR, DLINFO "NodeApplication_Impl::start - "
- "Caught unknown C++ exception from ccm_activate on component %s\n",
+ "Caught unknown C++ exception from ccm_activate on component %C\n",
this->plan_.instance[this->instances_[k]->idd_idx].name.in ()));
if (!error)
{
@@ -555,9 +555,9 @@ NodeApplication_Impl::install_home (Container &cont, Instance &inst)
const ::Deployment::InstanceDeploymentDescription &idd = this->plan_.instance[inst.idd_idx];
DANCE_DEBUG ((LM_DEBUG, DLINFO "NodeApplication_Impl::install_home - "
- "Starting installation of home %s on node %s\n",
+ "Starting installation of home %C on node %C\n",
idd.name.in (), idd.node.in ()));
-
+
this->instances_[inst.idd_idx] = &inst;
// need to get significant property values
@@ -567,7 +567,7 @@ NodeApplication_Impl::install_home (Container &cont, Instance &inst)
if (entrypt == 0)
{
DANCE_ERROR ((LM_ERROR, DLINFO "NodeApplication_Impl::install_home - "
- "Unable to find home factory property on home %s\n",
+ "Unable to find home factory property on home %C\n",
idd.name.in ()));
throw ::Deployment::InvalidComponentExecParameter (mdd.name.in (),
"No 'home factory' property present on MDD\n");
@@ -581,7 +581,7 @@ NodeApplication_Impl::install_home (Container &cont, Instance &inst)
for (CORBA::ULong i = 0; i < mdd.execParameter.length (); ++i)
{
DANCE_DEBUG ((LM_TRACE, DLINFO "NodeApplication_Impl::install_home - "
- "Inserting value for execParameter %s\n", mdd.execParameter[i].name.in ()));
+ "Inserting value for execParameter %C\n", mdd.execParameter[i].name.in ()));
config[pos++] = new CIAO::ConfigValue_impl (mdd.execParameter[i].name.in (),
mdd.execParameter[i].value);
}
@@ -589,7 +589,7 @@ NodeApplication_Impl::install_home (Container &cont, Instance &inst)
for (CORBA::ULong i = 0; i < idd.configProperty.length (); ++i)
{
DANCE_DEBUG ((LM_TRACE, DLINFO "NodeApplication_Impl::install_home - "
- "Inserting value for configProperty %s\n", idd.configProperty[i].name.in ()));
+ "Inserting value for configProperty %C\n", idd.configProperty[i].name.in ()));
config[pos++] = new CIAO::ConfigValue_impl (idd.configProperty[i].name.in (),
idd.configProperty[i].value);
}
@@ -597,7 +597,7 @@ NodeApplication_Impl::install_home (Container &cont, Instance &inst)
try
{
DANCE_DEBUG ((LM_DEBUG, DLINFO "NodeApplication_Impl::install_home - "
- "Calling install_home on container. Home id '%s', entrypt '%s', "
+ "Calling install_home on container. Home id '%C', entrypt '%C', "
"length of config values is %u\n",
idd.name.in (), entrypt, config.length ()));
@@ -608,7 +608,7 @@ NodeApplication_Impl::install_home (Container &cont, Instance &inst)
if (CORBA::is_nil (home))
{
DANCE_ERROR ((LM_ERROR, DLINFO "NodeApplication_Impl::install_home - "
- "Got nil object reference from container while installing home %s on node %s,"
+ "Got nil object reference from container while installing home %C on node %C,"
"throwing PlanError\n",
idd.name.in (), idd.node.in ()));
throw ::Deployment::PlanError (idd.name.in (),
@@ -616,35 +616,35 @@ NodeApplication_Impl::install_home (Container &cont, Instance &inst)
}
DANCE_DEBUG ((LM_INFO, DLINFO "NodeApplication_Impl::install_home - "
- "Home '%s' on node '%s' successfully installed\n",
+ "Home '%C' on node '%C' successfully installed\n",
idd.name.in (), idd.node.in ()));
-
+
inst.ref = CORBA::Object::_narrow (home);
DANCE_DEBUG ((LM_TRACE, DLINFO "NodeApplication_Impl::install_home - "
- "Populating attributes for home %s\n",
+ "Populating attributes for home %C\n",
idd.name.in ()));
-
-
+
+
ComponentAttributesSetter::SetComponentAttributes (idd.name.in (),
inst.ref.in (),
idd.configProperty,
this->orb_.in ());
-
+
inst.state = eInstalled;
}
- catch (Components::InvalidConfiguration &)
+ catch (const Components::InvalidConfiguration &)
{
DANCE_ERROR ((LM_ERROR, DLINFO "NodeApplication_Impl::install_home - "
- "Error creating home %s on node %s, caught InvalidConfiguration. Throwing exception\n",
+ "Error creating home %C on node %C, caught InvalidConfiguration. Throwing exception\n",
idd.name.in (), idd.node.in ()));
throw ::Deployment::InvalidProperty (idd.name.in (),
"Invalid configuration exception from container");
}
- catch (CORBA::Exception &ex)
+ catch (const CORBA::Exception &ex)
{
DANCE_ERROR ((LM_ERROR, DLINFO "NodeApplication_Impl::install_home - "
- "Caught CORBA exception while installing home %s: %s\n",
+ "Caught CORBA exception while installing home %C: %C\n",
idd.name.in (),
ex._info ().c_str ()));
throw ::Deployment::StartError (idd.name.in (),
@@ -653,7 +653,7 @@ NodeApplication_Impl::install_home (Container &cont, Instance &inst)
catch (...)
{
DANCE_ERROR ((LM_ERROR, DLINFO "NodeApplication_Impl::install_home - "
- "Caught unknown C++ exception while installing home %s\n",
+ "Caught unknown C++ exception while installing home %C\n",
idd.name.in ()));
throw ::Deployment::StartError (idd.name.in (),
"Unknown C++ exception");
@@ -677,7 +677,7 @@ NodeApplication_Impl::install_homed_component (Container &cont, Instance &inst)
this->instances_[inst.idd_idx] = &inst;
DANCE_DEBUG ((LM_TRACE, DLINFO "NodeApplication_Impl::install_homed_component - "
- "Starting installation of homed component %s on node %s\n",
+ "Starting installation of homed component %C on node %C\n",
idd.name.in (),
idd.node.in ()));
@@ -685,21 +685,21 @@ NodeApplication_Impl::install_homed_component (Container &cont, Instance &inst)
get_property_value (DAnCE::EXPLICIT_HOME, idd.configProperty, home_id);
DANCE_DEBUG ((LM_DEBUG, DLINFO "NodeApplication_Impl::install_homed_component - "
- "Property %s has value %s\n",
+ "Property %C has value %C\n",
DAnCE::EXPLICIT_HOME, home_id));
if (home_id == 0)
{
DANCE_ERROR ((LM_ERROR, DLINFO "Nodeapplication_Impl::install_homed_component - "
- "Apparent homed component %s lacks a %s configProperty, aborting installation\n",
+ "Apparent homed component %C lacks a %C configProperty, aborting installation\n",
idd.name.in (), DAnCE::EXPLICIT_HOME));
throw ::Deployment::PlanError (idd.name.in (),
"No explicit home property on component requiring explicit home.");
}
DANCE_DEBUG ((LM_DEBUG, DLINFO "NodeApplication_Impl::install_homed_component - "
- "Found explicit home property '%s' for component '%s'\n",
+ "Found explicit home property '%C' for component '%C'\n",
home_id,
idd.name.in ()));
@@ -711,7 +711,7 @@ NodeApplication_Impl::install_homed_component (Container &cont, Instance &inst)
this->plan_.instance[cont.homes[i].idd_idx].name.in ()) == 0)
{
DANCE_DEBUG ((LM_TRACE, DLINFO "NodeApplication_Impl::install_homed_component - "
- "Found home designated for component '%s'\n",
+ "Found home designated for component '%C'\n",
idd.name.in ()));
home_inst = &cont.homes[i];
break;
@@ -721,7 +721,7 @@ NodeApplication_Impl::install_homed_component (Container &cont, Instance &inst)
if (home_inst == 0)
{
DANCE_ERROR ((LM_ERROR, DLINFO "NodeApplication_Impl::install_homed_component - "
- "Unable to find home instance matching %s allocated to same container as component %s\n",
+ "Unable to find home instance matching %C allocated to same container as component %C\n",
home_id,
idd.name.in ()));
throw Deployment::InvalidProperty (idd.name.in (),
@@ -734,7 +734,7 @@ NodeApplication_Impl::install_homed_component (Container &cont, Instance &inst)
if (CORBA::is_nil (home.in ()))
{
DANCE_ERROR ((LM_ERROR, DLINFO "NodeApplication_Impl::install_homed_component - "
- "Object reference for home '%s' for homed component '%s' is nil\n",
+ "Object reference for home '%C' for homed component '%C' is nil\n",
home_id,
idd.name.in ()));
throw Deployment::PlanError (idd.name.in (),
@@ -745,17 +745,17 @@ NodeApplication_Impl::install_homed_component (Container &cont, Instance &inst)
{
inst.home = home_inst;
DANCE_DEBUG ((LM_TRACE, DLINFO "NodeApplication_Impl::install_homed_component - "
- "Invoking create_component on home %s for component %s\n",
+ "Invoking create_component on home %C for component %C\n",
home_id,
idd.name.in ()));
Components::CCMObject_var ccm_obj = home->create_component ();
-
+
if (CORBA::is_nil (ccm_obj))
{
DANCE_ERROR ((LM_ERROR, DLINFO "NodeApplication_Impl::install_homed_component - "
- "Received nil component reference from create_component on home %s "
- " while creating component %s\n",
+ "Received nil component reference from create_component on home %C "
+ " while creating component %C\n",
home_id, idd.name.in ()));
throw Deployment::StartError (idd.name.in (),
"Home for explicitly homed component returned nil");
@@ -763,32 +763,32 @@ NodeApplication_Impl::install_homed_component (Container &cont, Instance &inst)
inst.ref = CORBA::Object::_narrow (ccm_obj.in ());
DANCE_DEBUG ((LM_INFO, DLINFO "NodeApplication_Impl::install_homed_component - "
- "Component %s successfully installed in home %s\n",
+ "Component %C successfully installed in home %C\n",
idd.name.in (),
home_id));
-
+
DANCE_DEBUG ((LM_TRACE, DLINFO "NodeApplication_Impl::install_home - "
- "Populating attributes for component %s\n",
+ "Populating attributes for component %C\n",
idd.name.in ()));
ComponentAttributesSetter::SetComponentAttributes (idd.name.in (),
inst.ref.in (),
idd.configProperty,
this->orb_.in ());
- inst.state = eInstalled;
+ inst.state = eInstalled;
}
- catch (Components::CreateFailure &)
+ catch (const Components::CreateFailure &)
{
DANCE_ERROR ((LM_ERROR, DLINFO "NodeApplication_Impl::install_homed_component - "
- "Caught CreateFailure exception from home '%s' while installing component '%s'\n",
+ "Caught CreateFailure exception from home '%C' while installing component '%C'\n",
home_inst,
idd.name.in ()));
throw Deployment::StartError (idd.name.in (),
"Caught CreateFailure exception");
}
- catch (CORBA::Exception &ex)
+ catch (const CORBA::Exception &ex)
{
DANCE_ERROR ((LM_ERROR, DLINFO "NodeApplication_Impl::install_homed_component - "
- "Caught CORBA exception while installing component %s in home %s: %s\n",
+ "Caught CORBA exception while installing component %C in home %C: %C\n",
idd.name.in (),
home_id,
ex._info ().c_str ()));
@@ -798,7 +798,7 @@ NodeApplication_Impl::install_homed_component (Container &cont, Instance &inst)
catch (...)
{
DANCE_ERROR ((LM_ERROR, DLINFO "NodeApplication_Impl::install_homed_component - "
- "Caught unknown C++ exception while installing component %s in home %s\n",
+ "Caught unknown C++ exception while installing component %C in home %C\n",
idd.name.in (),
home_id));
throw ::Deployment::StartError (idd.name.in (),
@@ -822,14 +822,14 @@ NodeApplication_Impl::create_component_server (size_t index)
DANCE_DEBUG((LM_DEBUG, DLINFO "NodeApplication_impl::create_component_server - "
"component server created\n"));
}
- catch (::Components::CreateFailure& )
+ catch (const ::Components::CreateFailure& )
{
DANCE_ERROR((LM_ERROR, DLINFO "NodeApplication_impl::create_container - "
"Components::Deployment::ServerActivator_var::create_component_server() "
"returned ::Components::CreateFailure exception\n"));
throw ::Deployment::StartError();
}
- catch (::Components::Deployment::InvalidConfiguration& )
+ catch (const ::Components::Deployment::InvalidConfiguration& )
{
DANCE_ERROR((LM_ERROR, DLINFO "NodeApplication_impl::create_container - "
"Components::Deployment::ServerActivator_var::create_component_server() "
@@ -852,13 +852,13 @@ NodeApplication_Impl::create_component_server (size_t index)
}
}
-void
+void
NodeApplication_Impl::store_instance_ior (Instance &inst)
{
DANCE_TRACE ("NodeApplication_impl::store_instance_ior");
-
+
const char *name = 0;
-
+
if (get_property_value (DAnCE::REGISTER_NAMING,
this->plan_.instance[inst.idd_idx].configProperty,
name))
@@ -867,10 +867,10 @@ NodeApplication_Impl::store_instance_ior (Instance &inst)
"Storing instance '%C' object reference in Naming Service as %C",
this->plan_.instance[inst.idd_idx].name.in (),
name));
-
+
Name_Utilities::bind_object (name, inst.ref.in (), this->instance_nc_.in ());
}
-
+
if (get_property_value (DAnCE::INSTANCE_IOR_FILE,
this->plan_.instance[inst.idd_idx].configProperty,
name))
@@ -953,7 +953,7 @@ NodeApplication_Impl::create_container (unsigned int index)
try
{
DANCE_DEBUG((LM_DEBUG, DLINFO "NodeApplication_impl::create_container - "
- "creating container for destination: %s\n", processDest.c_str()));
+ "creating container for destination: %C\n", processDest.c_str()));
this->containers_.rebind (processDest.c_str(), compServer->create_container (config_values));
DANCE_DEBUG((LM_DEBUG, DLINFO "NodeApplication_impl::create_container - container created\n"));
}
@@ -1012,7 +1012,7 @@ NodeApplication_Impl::init_components()
case eHome:
{
DANCE_DEBUG ((LM_DEBUG, DLINFO "NodeApplication_impl::init_components - "
- "Allocating instance %s as a home\n",
+ "Allocating instance %C as a home\n",
this->plan_.instance[i].name.in ()));
size_t pos = this->servers_[0].containers[0].homes.size ();
@@ -1027,7 +1027,7 @@ NodeApplication_Impl::init_components()
case eComponent:
{
DANCE_DEBUG ((LM_DEBUG, DLINFO "NodeApplication_impl::init_components - "
- "Allocating instance %s as a standalone component\n",
+ "Allocating instance %C as a standalone component\n",
this->plan_.instance[i].name.in ()));
size_t pos = this->servers_[0].containers[0].homes.size ();
this->servers_[0].containers[0].components.size (pos + 1);
@@ -1041,7 +1041,7 @@ NodeApplication_Impl::init_components()
case eHomedComponent:
{
DANCE_DEBUG ((LM_DEBUG, DLINFO "NodeApplication_impl::init_components - "
- "Allocating instance %s as a home managed component\n",
+ "Allocating instance %C as a home managed component\n",
this->plan_.instance[i].name.in ()));
size_t pos = this->servers_[0].containers[0].components.size ();
this->servers_[0].containers[0].components.size (pos + 1);
@@ -1062,7 +1062,7 @@ NodeApplication_Impl::init_components()
} // switch
} catch (...)
{
- DANCE_ERROR((LM_ERROR, DLINFO "Exception was thrown while sorting instance \"%s\".\n", this->plan_.instance[i].name.in()));
+ DANCE_ERROR((LM_ERROR, DLINFO "Exception was thrown while sorting instance \"%C\".\n", this->plan_.instance[i].name.in()));
throw;
}
}
@@ -1104,7 +1104,7 @@ NodeApplication_Impl::passivate_components()
{
DANCE_ERROR ((LM_ERROR, DLINFO "NodeApplication_Impl::start - "
"Failed to narrow object reference for container managing "
- "component instance %s to a CIAO container reference\n",
+ "component instance %C to a CIAO container reference\n",
this->plan_.instance[this->instances_[k]->idd_idx].name.in ()));
test_and_set_exception (error, exception,
this->plan_.instance[this->instances_[k]->idd_idx].name.in (),
@@ -1121,7 +1121,7 @@ NodeApplication_Impl::passivate_components()
else
{
DANCE_ERROR ((LM_ERROR, DLINFO "NodeApplication_Impl::start - "
- "Attempting to passivate non-active component %s\n",
+ "Attempting to passivate non-active component %C\n",
this->plan_.instance[this->instances_[k]->idd_idx].name.in ()));
test_and_set_exception (error, exception,
this->plan_.instance[this->instances_[k]->idd_idx].name.in (),
@@ -1130,13 +1130,13 @@ NodeApplication_Impl::passivate_components()
}
DANCE_DEBUG ((LM_INFO, DLINFO "NodeApplication_Impl::passivate_components - "
- "Component %s successfully passivated.\n",
+ "Component %C successfully passivated.\n",
this->plan_.instance[this->instances_[k]->idd_idx].name.in ()));
}
- catch (CORBA::Exception &ex)
+ catch (const CORBA::Exception &ex)
{
DANCE_ERROR ((LM_ERROR, DLINFO "NodeApplication_Impl::passivate_components - "
- "Caught CORBA exception from ccm_passivate on component %s: %s\n",
+ "Caught CORBA exception from ccm_passivate on component %C: %C\n",
this->plan_.instance[this->instances_[k]->idd_idx].name.in (),
ex._info ().c_str ()));
if (!error)
@@ -1149,7 +1149,7 @@ NodeApplication_Impl::passivate_components()
catch (...)
{
DANCE_ERROR ((LM_ERROR, DLINFO "NodeApplication_Impl::passivate_components - "
- "Caught unknown C++ exception from ccm_passivate on component %s\n",
+ "Caught unknown C++ exception from ccm_passivate on component %C\n",
this->plan_.instance[this->instances_[k]->idd_idx].name.in ()));
if (!error)
{
@@ -1190,7 +1190,7 @@ NodeApplication_Impl::remove_components()
if (this->instances_[k]->container == 0)
{
DANCE_ERROR ((LM_ERROR, DLINFO "NodeApplication_Impl::remove_components - "
- "Container element in component data structure for '%s' is nill\n",
+ "Container element in component data structure for '%C' is nill\n",
this->plan_.instance[this->instances_[k]->idd_idx].name.in ()
));
@@ -1216,18 +1216,18 @@ NodeApplication_Impl::remove_components()
this->instances_[k]->state = eInvalidState;
continue;
}
-
+
ciao_container->remove_component (Components::CCMObject::_narrow (this->instances_[k]->ref.in ()));
}
else
{
- Components::CCMHome_var home =
+ Components::CCMHome_var home =
Components::CCMHome::_narrow (this->instances_[k]->home->ref.in ());
-
+
if (CORBA::is_nil (home))
{
DANCE_ERROR ((LM_ERROR, DLINFO "NodeApplication_Impl::remove_components - "
- "Object reference for home %s, managing component %s is nil.\n",
+ "Object reference for home %C, managing component %C is nil.\n",
this->plan_.instance[this->instances_[k]->home->idd_idx].name.in (),
this->plan_.instance[this->instances_[k]->idd_idx].name.in ()));
test_and_set_exception (error,
@@ -1237,22 +1237,22 @@ NodeApplication_Impl::remove_components()
this->instances_[k]->state = eInvalidState;
continue;
}
-
+
home->remove_component (Components::CCMObject::_narrow (this->instances_[k]->ref.in ()));
}
-
-
+
+
this->instances_[k]->state = eRemoved;
-
+
DANCE_DEBUG ((LM_INFO, DLINFO "NodeApplication_Impl::remove_components - "
- "Component %s successfully removed.\n",
+ "Component %C successfully removed.\n",
this->plan_.instance[this->instances_[k]->idd_idx].name.in ()));
-
+
}
- catch (CORBA::Exception &ex)
+ catch (const CORBA::Exception &ex)
{
DANCE_ERROR ((LM_ERROR, DLINFO "NodeApplication_Impl::remove_components - "
- "Caught CORBA exception removing on component %s: %s\n",
+ "Caught CORBA exception removing on component %C: %C\n",
this->plan_.instance[this->instances_[k]->idd_idx].name.in (),
ex._info ().c_str ()));
test_and_set_exception (error,
@@ -1263,7 +1263,7 @@ NodeApplication_Impl::remove_components()
catch (...)
{
DANCE_ERROR ((LM_ERROR, DLINFO "NodeApplication_Impl::remove_components - "
- "Caught unknown C++ exception from ccm_remove on component %s\n",
+ "Caught unknown C++ exception from ccm_remove on component %C\n",
this->plan_.instance[this->instances_[k]->idd_idx].name.in ()));
test_and_set_exception (error,
exception,
@@ -1271,23 +1271,23 @@ NodeApplication_Impl::remove_components()
"Unknown C++ exception");
}
}
-
+
for (size_t k = 0; k < this->instances_.size (); ++k)
{
try
{
if (this->instances_[k]->type != eHome)
continue;
-
+
DANCE_ERROR ((LM_TRACE, DLINFO "NodeApplication_Impl::remove_components - "
- "Removing home %s\n",
+ "Removing home %C\n",
this->plan_.instance[this->instances_[k]->idd_idx].name.in ()));
-
+
if (this->instances_[k]->container == 0 ||
CORBA::is_nil (this->instances_[k]->container->ref.in ()))
{
DANCE_ERROR ((LM_ERROR, DLINFO "NodeApplication_Impl::remove_components - "
- "Home %s lacks an associated container reference\n",
+ "Home %C lacks an associated container reference\n",
this->plan_.instance[this->instances_[k]->idd_idx].name.in ()));
test_and_set_exception (error,
exception,
@@ -1295,18 +1295,18 @@ NodeApplication_Impl::remove_components()
"Didn't have a valid container reference");
continue;
}
-
+
Components::CCMHome_var home = Components::CCMHome::_narrow (this->instances_[k]->ref.in ());
this->instances_[k]->container->ref->remove_home (home.in ());
-
+
DANCE_DEBUG ((LM_INFO, DLINFO "NodeApplication_Impl::remove_components - "
- "Successfully uninstalled home %s\n",
+ "Successfully uninstalled home %C\n",
this->plan_.instance[this->instances_[k]->idd_idx].name.in ()));
}
- catch (CORBA::Exception &ex)
+ catch (const CORBA::Exception &ex)
{
DANCE_ERROR ((LM_ERROR, DLINFO "NodeApplication_Impl::remove_components - "
- "Caught CORBA exception removing home %s: %s\n",
+ "Caught CORBA exception removing home %C: %C\n",
this->plan_.instance[this->instances_[k]->idd_idx].name.in (),
ex._info ().c_str ()));
test_and_set_exception (error,
@@ -1317,7 +1317,7 @@ NodeApplication_Impl::remove_components()
catch (...)
{
DANCE_ERROR ((LM_ERROR, DLINFO "NodeApplication_Impl::remove_components - "
- "Caught unknown C++ exception from while removing home %s\n",
+ "Caught unknown C++ exception from while removing home %C\n",
this->plan_.instance[this->instances_[k]->idd_idx].name.in ()));
test_and_set_exception (error,
exception,
@@ -1325,7 +1325,7 @@ NodeApplication_Impl::remove_components()
"Unknown C++ exception");
}
}
-
+
if (error)
throw exception;
}
@@ -1334,13 +1334,13 @@ NodeApplication_Impl::EInstanceType
NodeApplication_Impl::get_instance_type (const Deployment::Properties& prop) const
{
DANCE_TRACE ("NodeApplication_Impl::get_instance_type");
-
+
for (CORBA::ULong i = 0; i < prop.length (); ++i)
{
DANCE_DEBUG ((LM_TRACE, DLINFO "NodeApplication_Impl::get_instance_type - "
- "Checking property %s\n",
+ "Checking property %C\n",
prop[i].name.in ()));
-
+
if (ACE_OS::strcmp (prop[i].name.in (),
DAnCE::HOME_FACTORY) == 0)
{
@@ -1363,7 +1363,7 @@ NodeApplication_Impl::get_instance_type (const Deployment::Properties& prop) con
return eHomedComponent;
}
}
-
+
DANCE_ERROR ((LM_ERROR, DLINFO "NodeApplication_Impl::get_instance_type - "
"Unable to determine instance type\n"));
return eInvalid;
@@ -1434,19 +1434,19 @@ NodeApplication_Impl::getAllConnections()
index = conn->length ();
conn->length (index + 1);
(*conn) [index].name = CORBA::string_dup (this->plan_.connection[i].name.in());
-
- ACE_CString inst_name =
+
+ ACE_CString inst_name =
this->plan_.instance[this->plan_.connection[i].internalEndpoint[j].instanceRef].name.in();
-
+
DANCE_DEBUG ((LM_DEBUG, DLINFO "NodeApplication_Impl::getAllConnections() - "
- "Found provider '%s' for connection '%s'\n",
+ "Found provider '%C' for connection '%C'\n",
this->plan_.connection[i].name.in (),
inst_name.c_str ()));
-
- Components::CCMObject_var obj =
+
+ Components::CCMObject_var obj =
Components::CCMObject::
_narrow (this->instances_[this->plan_.connection[i].internalEndpoint[j].instanceRef]->ref.in ());
-
+
(*conn) [index].endpoint.length (1L);
// ACE_CString path = CCMObjectLocator::TreeNode::mergePath (inst_name.c_str()
// , this->plan_.connection[i].internalEndpoint[j].portName.in());
@@ -1460,21 +1460,21 @@ NodeApplication_Impl::getAllConnections()
if (name.compare ("supports") != 0)
{
DANCE_DEBUG((LM_DEBUG, DLINFO "NodeApplication_impl::getAllConnections - "
- "provide_facet for connection %s endpoint %s started\n",
- this->plan_.connection[i].name.in(),
+ "provide_facet for connection %C endpoint %C started\n",
+ this->plan_.connection[i].name.in(),
this->plan_.connection[i].internalEndpoint[j].portName.in()));
CORBA::String_var facet_name = CORBA::string_dup (name.c_str());
(*conn) [index].endpoint[0] = obj->provide_facet (facet_name.in());
DANCE_DEBUG((LM_DEBUG, DLINFO "NodeApplication_impl::getAllConnections - "
- "provide_facet for connection %s endpoint %s finished\n",
- this->plan_.connection[i].name.in(),
+ "provide_facet for connection %C endpoint %C finished\n",
+ this->plan_.connection[i].name.in(),
this->plan_.connection[i].internalEndpoint[j].portName.in()));
}
else
{
DANCE_DEBUG((LM_DEBUG, DLINFO "NodeApplication_impl::getAllConnections - "
- "provide_facet for connection %s endpoint %s started\n",
- this->plan_.connection[i].name.in(),
+ "provide_facet for connection %C endpoint %C started\n",
+ this->plan_.connection[i].name.in(),
this->plan_.connection[i].internalEndpoint[j].portName.in()));
(*conn) [index].endpoint[0] = CORBA::Object::_duplicate (obj.in());
}
@@ -1486,7 +1486,7 @@ NodeApplication_Impl::getAllConnections()
//app_node.addChild(path.c_str(), obj->provide_facet(facet_name));
DANCE_DEBUG((LM_DEBUG, DLINFO "NodeApplication_impl::getAllConnections - provide_facet finished\n"));
}
- catch (::Components::InvalidName& )
+ catch (const ::Components::InvalidName& )
{
DANCE_ERROR((LM_ERROR, DLINFO " NodeApplication_impl::getAllConnections - "
"Components::CCMObject_var::provide_facet() returned "
@@ -1500,8 +1500,8 @@ NodeApplication_Impl::getAllConnections()
try
{
DANCE_DEBUG((LM_DEBUG, DLINFO "NodeApplication_impl::getAllConnections - "
- "get_consumer for connection %s endpoint %s started\n",
- this->plan_.connection[i].name.in(),
+ "get_consumer for connection %C endpoint %C started\n",
+ this->plan_.connection[i].name.in(),
this->plan_.connection[i].internalEndpoint[j].portName.in()));
(*conn) [index].endpoint[0] = obj->get_consumer (this->plan_.connection[i].internalEndpoint[j].portName.in());
/*this->redirection_.registration (this->node_name_,
@@ -1514,7 +1514,7 @@ NodeApplication_Impl::getAllConnections()
DANCE_DEBUG((LM_DEBUG, DLINFO "NodeApplication_impl::getAllConnections - "
"get_consumer finished\n"));
}
- catch (::Components::InvalidName& )
+ catch (const ::Components::InvalidName& )
{
DANCE_ERROR((LM_ERROR, DLINFO " NodeApplication_impl::getAllConnections - "
"Components::CCMObject_var::get_consumer() returned "
@@ -1546,25 +1546,25 @@ NodeApplication_Impl::finishLaunch (const Deployment::Connections & providedRefe
::CORBA::Boolean start)
{
DANCE_TRACE ("NodeApplication_Impl::finishLaunch");
-
+
DANCE_DEBUG((LM_DEBUG, DLINFO "NodeApplication_impl::finishLaunch - "
- "started for connections sequence with length: %d\n",
+ "started for connections sequence with length: %d\n",
providedReference.length()));
-
-#ifdef GEN_OSTREAM_OPS
+
+#ifdef GEN_OSTREAM_OPS
std::cerr << providedReference << std::endl;
#endif /* GEN_OSTREAM_OPS */
-
+
for (unsigned int j = 0; j < this->plan_.connection.length(); ++j)
{
CORBA::ULong inst (this->plan_.connection[j].internalEndpoint[0].instanceRef);
DANCE_DEBUG ((LM_TRACE, DLINFO "NodeApplication_impl::finishLaunch - "
- "Connection %s, instance %u\n",
+ "Connection %C, instance %u\n",
this->plan_.connection[j].name.in (),
inst));
-#ifdef GEN_OSTREAM_OPS
+#ifdef GEN_OSTREAM_OPS
std::cerr << this->plan_.connection[j];
#endif /* GEN_OSTREAM_OPS */
@@ -1575,7 +1575,7 @@ NodeApplication_Impl::finishLaunch (const Deployment::Connections & providedRefe
if (CORBA::is_nil (obj.in ()))
{
DANCE_ERROR ((LM_ERROR, DLINFO "NodeApplication_impl::finishLaunch - "
- "Unable to narrow apparent component instance reference to CCMObject for instance '%s'\n",
+ "Unable to narrow apparent component instance reference to CCMObject for instance '%C'\n",
this->plan_.instance[inst].name.in ()));
throw Deployment::InvalidConnection (this->plan_.instance[inst].name.in (),
"Unable to narrow apparent component instance reference to CCMObject\n");
@@ -1584,11 +1584,11 @@ NodeApplication_Impl::finishLaunch (const Deployment::Connections & providedRefe
const ::Deployment::PlanConnectionDescription &conn = this->plan_.connection[j];
ACE_CString name = conn.name.in();
-
+
for (unsigned int i = 0; i < providedReference.length(); ++i)
{
- //DANCE_DEBUG((LM_DEBUG, "[%M] NodeApplication_impl::finishLaunch - loop on all connections iteration %d for connection %s\n", i, providedReference[i].name.in()));
-
+ //DANCE_DEBUG((LM_DEBUG, "[%M] NodeApplication_impl::finishLaunch - loop on all connections iteration %d for connection %C\n", i, providedReference[i].name.in()));
+
if (name.compare (providedReference[i].name.in()) == 0)
{
switch (conn.internalEndpoint[0].kind)
@@ -1596,7 +1596,7 @@ NodeApplication_Impl::finishLaunch (const Deployment::Connections & providedRefe
case Deployment::Facet:
{
DANCE_DEBUG((LM_DEBUG, DLINFO "NodeApplication_impl::finishLaunch - "
- "set for facet %s \n", name.c_str ()));
+ "set for facet %C \n", name.c_str ()));
Components::CCMObject_var ext_inst;
try
{
@@ -1608,7 +1608,7 @@ NodeApplication_Impl::finishLaunch (const Deployment::Connections & providedRefe
{
obj = Components::CCMObject::
_narrow (this->instances_[conn.internalEndpoint[1].instanceRef]->ref.in ());
-
+
this->connect_receptacle (obj.in (),
conn.internalEndpoint[1].portName.in(),
providedReference[i].endpoint[0].in());
@@ -1623,25 +1623,25 @@ NodeApplication_Impl::finishLaunch (const Deployment::Connections & providedRefe
*/
break;
}
- CORBA::Object_var tmp =
+ CORBA::Object_var tmp =
this->orb_->string_to_object (conn.externalReference[0].location.in());
ext_inst = Components::CCMObject::_narrow (tmp);
if (CORBA::is_nil (ext_inst.in()))
{
DANCE_ERROR((LM_ERROR, DLINFO "NodeApplication_impl::finishLaunch - "
- "facet for %s can't be narrowed \n", name.c_str ()));
+ "facet for %C can't be narrowed \n", name.c_str ()));
break;
}
this->connect_receptacle_ext (ext_inst,
conn.externalReference[0].portName.in(),
providedReference[i].endpoint[0].in());
}
- catch (CORBA::OBJECT_NOT_EXIST&)
+ catch (const CORBA::OBJECT_NOT_EXIST&)
{
// @@TODO: Shouldn't this be an error?!?
break;
}
- catch (CORBA::TRANSIENT&)
+ catch (const CORBA::TRANSIENT&)
{
// @@TODO: Shouldn't this be an error?!?
break;
@@ -1659,13 +1659,13 @@ NodeApplication_Impl::finishLaunch (const Deployment::Connections & providedRefe
{
break;
}
- CORBA::Object_var tmp =
+ CORBA::Object_var tmp =
this->orb_->string_to_object (conn.externalReference[0].location.in());
ext_inst = Components::CCMObject::_narrow (tmp);
if (CORBA::is_nil (ext_inst.in()))
{
DANCE_ERROR((LM_ERROR, DLINFO " NodeApplication_impl::finishLaunch - "
- "facet for %s can't be narrowed \n", name.c_str ()));
+ "facet for %C can't be narrowed \n", name.c_str ()));
break;
}
try
@@ -1675,7 +1675,7 @@ NodeApplication_Impl::finishLaunch (const Deployment::Connections & providedRefe
conn.externalReference[0].portName.in(),
providedReference[i].endpoint[0].in());
}
- catch (::Components::InvalidName&)
+ catch (const ::Components::InvalidName&)
{
// No this is consumer to publisher
this->connect_publisher (ext_inst,
@@ -1683,11 +1683,11 @@ NodeApplication_Impl::finishLaunch (const Deployment::Connections & providedRefe
providedReference[i].endpoint[0].in());
}
}
- catch (CORBA::OBJECT_NOT_EXIST&)
+ catch (const CORBA::OBJECT_NOT_EXIST&)
{
break;
}
- catch (CORBA::TRANSIENT&)
+ catch (const CORBA::TRANSIENT&)
{
break;
}
@@ -1723,9 +1723,9 @@ NodeApplication_Impl::finishLaunch (const Deployment::Connections & providedRefe
{
DANCE_ERROR((LM_ERROR, DLINFO " NodeApplication_impl::finishLaunch - currect Connection.InternalEndPoint.Kind "
"is not a Deployment::SimplexReceptacle, Deployment::EventEmitter, Deployment::EventPublisher "
- "(Connection:%s Kind:%i PortName:%s)\n",
- conn.name.in(),
- conn.internalEndpoint[0].kind,
+ "(Connection:%C Kind:%i PortName:%C)\n",
+ conn.name.in(),
+ conn.internalEndpoint[0].kind,
conn.internalEndpoint[0].portName.in()
));
throw ::Deployment::InvalidConnection();
@@ -1736,7 +1736,7 @@ NodeApplication_Impl::finishLaunch (const Deployment::Connections & providedRefe
}//for ( unsigned int j = 0; j < this->plan_.connection.length(); ++j )
this->configuration_complete_components ();
-
+
if (start)
{
this->start();
@@ -1754,29 +1754,29 @@ NodeApplication_Impl::connect_receptacle (Components::CCMObject_ptr inst,
try
{
DANCE_DEBUG((LM_DEBUG, DLINFO "NodeApplication_impl::finishLaunch - "
- "connect SimplexReceptacle for %s started\n", port_name.c_str()));
+ "connect SimplexReceptacle for %C started\n", port_name.c_str()));
res = inst->connect (port_name.c_str(), facet);
DANCE_DEBUG((LM_DEBUG, DLINFO "NodeApplication_impl::finishLaunch - connect finished\n"));
}
- catch (::Components::InvalidName& )
+ catch (const ::Components::InvalidName& )
{
DANCE_ERROR((LM_ERROR, DLINFO " NodeApplication_impl::finishLaunch - "
"Components::CCMObject_var::connect() returned ::Components::InvalidName exception\n"));
throw ::Deployment::StartError();
}
- catch (::Components::InvalidConnection& )
+ catch (const ::Components::InvalidConnection& )
{
DANCE_ERROR((LM_ERROR, DLINFO " NodeApplication_impl::finishLaunch - "
"Components::CCMObject_var::connect() returned ::Components::InvalidConnection exception\n"));
throw ::Deployment::InvalidConnection();
}
- catch (::Components::AlreadyConnected& )
+ catch (const ::Components::AlreadyConnected& )
{
DANCE_ERROR((LM_ERROR, DLINFO " NodeApplication_impl::finishLaunch - "
"Components::CCMObject_var::connect() returned ::Components::AlreadyConnected exception\n"));
throw ::Deployment::InvalidConnection();
}
- catch (::Components::ExceededConnectionLimit& )
+ catch (const ::Components::ExceededConnectionLimit& )
{
DANCE_ERROR((LM_ERROR, DLINFO " NodeApplication_impl::finishLaunch - "
"Components::CCMObject_var::connect() returned ::Components::ExceededConnectionLimit exception\n"));
@@ -1794,29 +1794,29 @@ NodeApplication_Impl::connect_receptacle_ext (Components::CCMObject_ptr inst,
try
{
DANCE_DEBUG((LM_DEBUG, DLINFO "NodeApplication_impl::finishLaunch - "
- "connect SimplexReceptacle for %s started\n", port_name.c_str()));
+ "connect SimplexReceptacle for %C started\n", port_name.c_str()));
res = inst->connect (port_name.c_str(), facet);
DANCE_DEBUG((LM_DEBUG, DLINFO "NodeApplication_impl::finishLaunch - connect finished\n"));
}
- catch (::Components::InvalidName& )
+ catch (const ::Components::InvalidName& )
{
DANCE_ERROR((LM_ERROR, DLINFO " NodeApplication_impl::finishLaunch - "
"Components::CCMObject_var::connect() returned ::Components::InvalidName exception\n"));
throw ::Deployment::StartError();
}
- catch (::Components::InvalidConnection& )
+ catch (const ::Components::InvalidConnection& )
{
DANCE_ERROR((LM_ERROR, DLINFO " NodeApplication_impl::finishLaunch - "
"Components::CCMObject_var::connect() returned ::Components::InvalidConnection exception\n"));
throw ::Deployment::InvalidConnection();
}
- catch (::Components::AlreadyConnected& )
+ catch (const ::Components::AlreadyConnected& )
{
DANCE_ERROR((LM_ERROR, DLINFO " NodeApplication_impl::finishLaunch - "
"Components::CCMObject_var::connect() returned ::Components::AlreadyConnected exception\n"));
//throw ::Deployment::InvalidConnection();
}
- catch (::Components::ExceededConnectionLimit& )
+ catch (const ::Components::ExceededConnectionLimit& )
{
DANCE_ERROR((LM_ERROR, DLINFO " NodeApplication_impl::finishLaunch - "
"Components::CCMObject_var::connect() returned ::Components::ExceededConnectionLimit exception\n"));
@@ -1834,24 +1834,24 @@ NodeApplication_Impl::connect_emitter (Components::CCMObject_ptr inst,
try
{
DANCE_DEBUG((LM_DEBUG, DLINFO "NodeApplication_impl::finishLaunch - "
- "connect_consumer for %s started\n", port_name.c_str()));
+ "connect_consumer for %C started\n", port_name.c_str()));
inst->connect_consumer (port_name.c_str(), event);
DANCE_DEBUG((LM_DEBUG, DLINFO "NodeApplication_impl::finishLaunch - "
"connect_consumer finished\n"));
}
- catch (::Components::InvalidName& )
+ catch (const ::Components::InvalidName& )
{
DANCE_ERROR((LM_ERROR, DLINFO " NodeApplication_impl::finishLaunch - "
"Components::CCMObject_var::connect_consumer() returned ::Components::InvalidName exception\n"));
throw ::Deployment::StartError();
}
- catch (::Components::AlreadyConnected& )
+ catch (const ::Components::AlreadyConnected& )
{
DANCE_ERROR((LM_ERROR, DLINFO " NodeApplication_impl::finishLaunch - "
"Components::CCMObject_var::connect_consumer() returned ::Components::AlreadyConnected exception\n"));
throw ::Deployment::InvalidConnection();
}
- catch (::Components::InvalidConnection& )
+ catch (const ::Components::InvalidConnection& )
{
DANCE_ERROR((LM_ERROR, DLINFO " NodeApplication_impl::finishLaunch - "
"Components::CCMObject_var::connect_consumer() returned ::Components::InvalidConnection exception\n"));
@@ -1868,17 +1868,17 @@ NodeApplication_Impl::connect_emitter_ext (Components::CCMObject_ptr inst,
try
{
DANCE_DEBUG((LM_DEBUG, DLINFO "NodeApplication_impl::finishLaunch - "
- "connect_consumer for %s started\n", port_name.c_str()));
+ "connect_consumer for %C started\n", port_name.c_str()));
inst->connect_consumer (port_name.c_str(), event);
DANCE_DEBUG((LM_DEBUG, DLINFO "NodeApplication_impl::finishLaunch - connect_consumer finished\n"));
}
- catch (::Components::AlreadyConnected& )
+ catch (const ::Components::AlreadyConnected& )
{
DANCE_DEBUG ( (LM_WARNING, "NodeApplication_impl::finishLaunch - "
"Components::CCMObject_var::connect_consumer() returned ::Components::AlreadyConnected exception\n"));
//throw ::Deployment::InvalidConnection();
}
- catch (::Components::InvalidConnection& )
+ catch (const ::Components::InvalidConnection& )
{
DANCE_ERROR((LM_ERROR, DLINFO " NodeApplication_impl::finishLaunch - "
"Components::CCMObject_var::connect_consumer() returned ::Components::InvalidConnection exception\n"));
@@ -1892,11 +1892,11 @@ NodeApplication_Impl::connect_publisher (Components::CCMObject_ptr inst,
CORBA::Object_ptr consumer)
{
DANCE_TRACE ("NodeApplication_Impl::connect_publisher");
-
+
if (CORBA::is_nil (inst))
{
DANCE_ERROR ((LM_ERROR, DLINFO "NodeApplication_Impl::connect_publisher - "
- "Provided a nil CCMObject reference while connecting port %s\n",
+ "Provided a nil CCMObject reference while connecting port %C\n",
port_name.c_str ()));
throw ::Deployment::InvalidConnection ();
}
@@ -1905,22 +1905,22 @@ NodeApplication_Impl::connect_publisher (Components::CCMObject_ptr inst,
try
{
res = inst->subscribe (port_name.c_str(), event);
- DANCE_DEBUG((LM_DEBUG, DLINFO "NodeApplication_impl::finishLaunch - successfully subscribed %s\n",
+ DANCE_DEBUG((LM_DEBUG, DLINFO "NodeApplication_impl::finishLaunch - successfully subscribed %C\n",
port_name.c_str ()));
}
- catch (::Components::InvalidName& )
+ catch (const ::Components::InvalidName& )
{
DANCE_ERROR((LM_ERROR, DLINFO " NodeApplication_impl::finishLaunch - "
"Components::CCMObject_var::subscribe() returned ::Components::InvalidName exception\n"));
throw ::Deployment::StartError();
}
- catch (::Components::InvalidConnection& )
+ catch (const ::Components::InvalidConnection& )
{
DANCE_ERROR((LM_ERROR, DLINFO " NodeApplication_impl::finishLaunch - "
"Components::CCMObject_var::subscribe() returned ::Components::InvalidConnection exception\n"));
throw ::Deployment::InvalidConnection();
}
- catch (::Components::ExceededConnectionLimit& )
+ catch (const ::Components::ExceededConnectionLimit& )
{
DANCE_ERROR((LM_ERROR, DLINFO " NodeApplication_impl::finishLaunch - "
"Components::CCMObject_var::subscribe() returned ::Components::ExceededCOnnectionLimit exception\n"));
@@ -1929,7 +1929,7 @@ NodeApplication_Impl::connect_publisher (Components::CCMObject_ptr inst,
return res;
}
-void NodeApplication_Impl::create_config_values(const Deployment::Properties& prop,
+void NodeApplication_Impl::create_config_values(const Deployment::Properties& prop,
Components::ConfigValues& cfg) const
{
ACE_CString cdmw_name = "cdmw.config.";
diff --git a/flat/CIAO/DAnCE/NodeApplication/ServerActivator_Impl.cpp b/flat/CIAO/DAnCE/NodeApplication/ServerActivator_Impl.cpp
index c9bccf4cfe9..541457a9afe 100644
--- a/flat/CIAO/DAnCE/NodeApplication/ServerActivator_Impl.cpp
+++ b/flat/CIAO/DAnCE/NodeApplication/ServerActivator_Impl.cpp
@@ -11,7 +11,7 @@ bool read_config_value (const ACE_CString & name,
CORBA::Any_out value)
{
bool found = false;
- CORBA::ULong len = config.length();
+ CORBA::ULong const len = config.length();
for (CORBA::ULong count = 0; count < len; ++count)
{
if (name.compare (config[count]->name()) == 0)
diff --git a/flat/CIAO/DAnCE/NodeManager/NodeManager_Impl.cpp b/flat/CIAO/DAnCE/NodeManager/NodeManager_Impl.cpp
index 59b50bd9ab0..61e58edc94c 100644
--- a/flat/CIAO/DAnCE/NodeManager/NodeManager_Impl.cpp
+++ b/flat/CIAO/DAnCE/NodeManager/NodeManager_Impl.cpp
@@ -15,21 +15,21 @@
namespace DAnCE
{
- NodeManager_Impl::NodeManager_Impl(CORBA::ORB_ptr orb,
- PortableServer::POA_ptr poa,
- const char* name,
+ NodeManager_Impl::NodeManager_Impl(CORBA::ORB_ptr orb,
+ PortableServer::POA_ptr poa,
+ const char* name,
RedirectionService& redirection,
const PROPERTY_MAP &properties)
- : orb_ (CORBA::ORB::_duplicate (orb)),
- poa_ (PortableServer::POA::_duplicate (poa)),
- name_ (name),
+ : orb_ (CORBA::ORB::_duplicate (orb)),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ name_ (name),
redirection_ (redirection),
properties_ (properties.current_size ())
{
DANCE_TRACE ( "NodeManager_Impl::NodeManager_Impl");
redirection.add_node (name);
DANCE_DEBUG ((LM_INFO, DLINFO "NodeManager_impl::NodeManager_impl has been created\n"));
-
+
PROPERTY_MAP::const_iterator i = properties.begin ();
while (!i.done ())
{
@@ -65,7 +65,7 @@ namespace DAnCE
DANCE_ERROR ((LM_WARNING, DLINFO
"NodeManager_impl::~NodeManager_impl - Caught exception while removing "
"NodeApplicationManager %s\n", (*iter).ext_id_.c_str ()));
- }
+ }
}
}
@@ -95,10 +95,10 @@ namespace DAnCE
::Deployment::ResourceCommitmentManager_ptr /*resourceCommitment*/)
{
DANCE_TRACE ( "NodeManager_Impl::preparePlan");
-
+
DANCE_DEBUG ((LM_DEBUG, DLINFO "NodeManager_impl::preparePlan - "
"started for node %s and plan %s\n", this->name_.c_str(), plan.UUID.in()));
-
+
#ifdef GEN_OSTREAM_OPS
std::cerr << plan << std::endl;
#endif /* GEN_OSTREAM_OPS */
@@ -116,7 +116,7 @@ namespace DAnCE
}
ACE_DEBUG ((LM_DEBUG, "*** size of properties_:%u\n", properties_.current_size ()));
DANCE_DEBUG ((LM_TRACE, DLINFO "NodeManager_impl::preparePlan - creating NodeApplicationManager...\n"));
- NodeApplicationManager_Impl* manager;
+ NodeApplicationManager_Impl* manager = 0;
ACE_NEW_THROW_EX (manager,
NodeApplicationManager_Impl (this->orb_.in(),
this->poa_.in(),
diff --git a/flat/CIAO/DAnCE/NodeManager/Node_Manager_Module.cpp b/flat/CIAO/DAnCE/NodeManager/Node_Manager_Module.cpp
index b57a94faf1f..7cf7b80f54a 100644
--- a/flat/CIAO/DAnCE/NodeManager/Node_Manager_Module.cpp
+++ b/flat/CIAO/DAnCE/NodeManager/Node_Manager_Module.cpp
@@ -196,7 +196,7 @@ DAnCE_NodeManager_Module::parse_args (int argc, ACE_TCHAR * argv[])
this->options_.standalone_ = true;
}
else if (ACE_OS::strcmp (get_opts.long_option (),
- "server-args") == 0)
+ ACE_TEXT("server-args")) == 0)
{
DANCE_DEBUG ((LM_DEBUG, DLINFO "Node_Manager_Module::parse_args - "
"Using provided compoent server arguments: '%C'\n",
@@ -611,14 +611,12 @@ DAnCE_NodeManager_Module::create_nm_properties (DAnCE::PROPERTY_MAP &props)
{
CORBA::Any val;
val <<= this->options_.timeout_;
- props.bind (CIAO::Deployment::SERVER_TIMEOUT,
- val);
+ props.bind (CIAO::Deployment::SERVER_TIMEOUT, val);
}
{
CORBA::Any val;
val <<= CORBA::Any::from_string (CORBA::string_dup (this->options_.cs_path_),0);
- props.bind (CIAO::Deployment::SERVER_EXECUTABLE,
- val);
+ props.bind (CIAO::Deployment::SERVER_EXECUTABLE, val);
}
{
CORBA::Any val;
diff --git a/flat/CIAO/ccm/ComponentServer/ComponentServer.mpc b/flat/CIAO/ccm/ComponentServer/ComponentServer.mpc
index 041caff0805..dfc62e329a0 100644
--- a/flat/CIAO/ccm/ComponentServer/ComponentServer.mpc
+++ b/flat/CIAO/ccm/ComponentServer/ComponentServer.mpc
@@ -16,7 +16,7 @@ project(CCM_ComponentServer_IDL) : taoidldefaults, anytypecode {
}
}
-project(CCM_ComponentServer_stub) : taolib_with_idl, tao_output, messaging, ccm_stub, anytypecode, ciao_lib {
+project(CCM_ComponentServer_stub) : taolib_with_idl, tao_output, messaging, ccm_stub, anytypecode, ciao_lib {
dynamicflags = DANCE_COMPONENTSERVER_STUB_BUILD_DLL
after += CCM_ComponentServer_IDL
diff --git a/flat/CIAO/ciao/Containers/Session/Session_Container.cpp b/flat/CIAO/ciao/Containers/Session/Session_Container.cpp
index b310868d1c9..fa8855c5f24 100644
--- a/flat/CIAO/ciao/Containers/Session/Session_Container.cpp
+++ b/flat/CIAO/ciao/Containers/Session/Session_Container.cpp
@@ -684,7 +684,7 @@ namespace CIAO
"Invoking CCM activate on provided component object reference."));
sess->activate_component ();
}
- catch (CIAO::InvalidComponent &ex)
+ catch (CIAO::InvalidComponent &)
{
CIAO_ERROR ((LM_ERROR, CLINFO "Session_Container::activate_component - "
"Failed to retrieve servant and/or cast to servant pointer.\n"));
@@ -732,7 +732,7 @@ namespace CIAO
"Invoking CCM activate on provided component object reference."));
sess->passivate_component ();
}
- catch (CIAO::InvalidComponent &ex)
+ catch (CIAO::InvalidComponent &)
{
throw;
}
diff --git a/flat/CIAO/ciao/Contexts/Context_Impl_Base.h b/flat/CIAO/ciao/Contexts/Context_Impl_Base.h
index b65f51bd262..0db40ef13e0 100644
--- a/flat/CIAO/ciao/Contexts/Context_Impl_Base.h
+++ b/flat/CIAO/ciao/Contexts/Context_Impl_Base.h
@@ -24,7 +24,7 @@
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-#include "ccm/CCM_ContainerC.h"
+#include "ccm/CCM_ContextC.h"
namespace Components
{
diff --git a/flat/CIAO/ciao/Servants/Home_Servant_Impl_Base.h b/flat/CIAO/ciao/Servants/Home_Servant_Impl_Base.h
index 1ad5b984346..69d858b467d 100644
--- a/flat/CIAO/ciao/Servants/Home_Servant_Impl_Base.h
+++ b/flat/CIAO/ciao/Servants/Home_Servant_Impl_Base.h
@@ -25,13 +25,10 @@
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include <ccm/CCM_HomeS.h>
+#include <ciao/Containers/Container_BaseC.h>
namespace CIAO
{
- class Container;
- typedef Container *Container_ptr;
- typedef TAO_Objref_Var_T<Container> Container_var;
-
/**
* @class Home_Servant_Impl_Base
*
diff --git a/flat/CIAO/ciao/Servants/Port_Activator.h b/flat/CIAO/ciao/Servants/Port_Activator.h
index 48bb31535bf..9dc24241cb8 100644
--- a/flat/CIAO/ciao/Servants/Port_Activator.h
+++ b/flat/CIAO/ciao/Servants/Port_Activator.h
@@ -62,7 +62,7 @@ namespace CIAO
virtual PortableServer::Servant activate (
const PortableServer::ObjectId &oid) = 0;
- virtual void deactivate (const PortableServer::Servant servant) = 0;
+ virtual void deactivate (::PortableServer::Servant servant) = 0;
protected:
/// The object ID that is used to activate the servant within the
diff --git a/flat/CIAO/ciao/Servants/Servant_Impl_T.h b/flat/CIAO/ciao/Servants/Servant_Impl_T.h
index 4d6c1dc601f..10c25af865b 100644
--- a/flat/CIAO/ciao/Servants/Servant_Impl_T.h
+++ b/flat/CIAO/ciao/Servants/Servant_Impl_T.h
@@ -28,8 +28,6 @@
namespace CIAO
{
- class Session_Container;
-
/**
* @class Servant_Impl
*
diff --git a/flat/CIAO/examples/Hello/Sender/Sender_exec.cpp b/flat/CIAO/examples/Hello/Sender/Sender_exec.cpp
index d8b7115e34e..e2c27d3e202 100644
--- a/flat/CIAO/examples/Hello/Sender/Sender_exec.cpp
+++ b/flat/CIAO/examples/Hello/Sender/Sender_exec.cpp
@@ -26,7 +26,7 @@ namespace CIDL_Sender_Impl
char*
Message_Impl::get_message ()
{
- ACE_DEBUG ((LM_EMERGENCY, "Sender sending out message: [%s]\n", component_.message_.in ()));
+ ACE_DEBUG ((LM_EMERGENCY, "Sender sending out message: [%C]\n", component_.message_.in ()));
return CORBA::string_dup (component_.message_.in ());
}
diff --git a/flat/CIAO/ofccm/Cdmw/CDMW_Deployment.idl b/flat/CIAO/ofccm/Cdmw/CDMW_Deployment.idl
index 4a81366400e..1e565a845bd 100644
--- a/flat/CIAO/ofccm/Cdmw/CDMW_Deployment.idl
+++ b/flat/CIAO/ofccm/Cdmw/CDMW_Deployment.idl
@@ -1,18 +1,11 @@
/**
- * @@ Compile this file with:
- *
- * tao_idl -Gv -I ../.. \
- * -Wb,export_macro=CIAO_Export \
- * -Wb,export_include=CIAO_export.h \
- * -Wb,pre_include="ace/pre.h" \
- * -Wb,post_include="ace/post.h" \
- * CCM_Deployment.idl
+ *
*/
#if !defined (CDMW_DEPLOYMENT_EXT)
#define CDMW_DEPLOYMENT_EXT
-#include "DAnCE/Cdmw/CDMW_IDL.idl"
+#include "ofccm/Cdmw/CDMW_IDL.idl"
#include "ccm/ComponentServer/ComponentServer.idl"
#pragma prefix "thalesgroup.com"
diff --git a/flat/CIAO/ofccm/Cdmw/CDMW_IDL_Ext.idl b/flat/CIAO/ofccm/Cdmw/CDMW_IDL_Ext.idl
index d819947750f..c208f4bc445 100644
--- a/flat/CIAO/ofccm/Cdmw/CDMW_IDL_Ext.idl
+++ b/flat/CIAO/ofccm/Cdmw/CDMW_IDL_Ext.idl
@@ -14,7 +14,7 @@
#if !defined (CDMW_IDL_EXT)
#define CDMW_IDL_EXT
-#include "DAnCE/Cdmw/CDMW_IDL.idl"
+#include "ofccm/Cdmw/CDMW_IDL.idl"
#include "ccm/CCM_KeylessCCMHome.idl"
#include "ccm/ComponentServer/ComponentServer.idl"