summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsma <sma@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2011-02-16 11:15:50 +0000
committersma <sma@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2011-02-16 11:15:50 +0000
commit4c7ea1f62d12143e1636e7e4d5819a841c794971 (patch)
treefb35e5b10ed7b8013929b0f0df5925cd9e21e660
parent4913307c091baf1e77bb01a48f8b44070c018de7 (diff)
downloadATCD-4c7ea1f62d12143e1636e7e4d5819a841c794971.tar.gz
ChangeLogTag: Tue Feb 16 11:15:00 UTC 2011 Simon Massey <simon dot massey at prismtech dot com>
-rw-r--r--TAO/ChangeLog7
-rw-r--r--TAO/orbsvcs/ImplRepo_Service/ImR_Locator_i.cpp2
-rw-r--r--TAO/orbsvcs/ImplRepo_Service/tao_imr_i.cpp1
3 files changed, 9 insertions, 1 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog
index 31aca949a42..7a9ea992d10 100644
--- a/TAO/ChangeLog
+++ b/TAO/ChangeLog
@@ -1,3 +1,10 @@
+Tue Feb 16 11:15:00 UTC 2011 Simon Massey <simon dot massey at prismtech dot com>
+
+ * orbsvcs/ImplRepo_Service/ImR_Locator_i.cpp:
+ * orbsvcs/ImplRepo_Service/tao_imr_i.cpp:
+ Initalise instance of enum ActivationMode when first
+ created, otherwise rubbish value gets marshaled.
+
Tue Feb 15 13:53:16 UTC 2011 Vladimir Zykov <vladimir.zykov@prismtech.com>
* tao/PortableServer/Active_Object_Map.cpp:
diff --git a/TAO/orbsvcs/ImplRepo_Service/ImR_Locator_i.cpp b/TAO/orbsvcs/ImplRepo_Service/ImR_Locator_i.cpp
index 1aad53134c1..b8204ebca0e 100644
--- a/TAO/orbsvcs/ImplRepo_Service/ImR_Locator_i.cpp
+++ b/TAO/orbsvcs/ImplRepo_Service/ImR_Locator_i.cpp
@@ -1108,7 +1108,7 @@ ImR_Locator_i::find (const char* server,
else
{
ACE_NEW_THROW_EX (imr_info, ImplementationRepository::ServerInformation, CORBA::NO_MEMORY ());
-
+ imr_info->startup.activation= ImplementationRepository::NORMAL;
if (debug_ > 1)
ACE_DEBUG ((LM_DEBUG, "ImR: Cannot find server <%C>\n", server));
}
diff --git a/TAO/orbsvcs/ImplRepo_Service/tao_imr_i.cpp b/TAO/orbsvcs/ImplRepo_Service/tao_imr_i.cpp
index 7937126a7d2..3c80579dd5f 100644
--- a/TAO/orbsvcs/ImplRepo_Service/tao_imr_i.cpp
+++ b/TAO/orbsvcs/ImplRepo_Service/tao_imr_i.cpp
@@ -1018,6 +1018,7 @@ TAO_IMR_Op_Register::run (void)
ACE_DEBUG((LM_DEBUG, "Adding Server <%C> on update command.\n", this->server_name_.c_str ()));
is_add_ = true;
}
+ local.activation= ImplementationRepository::NORMAL;
options = &local;
}