From e9b35e2fd4950c10209e206187709161a0352a2a Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 25 Mar 2016 17:47:51 +0300 Subject: [PATCH] Fix pb with duplication of PVSERVER service --- src/PVServerService/ServiceLoader/PVServer_ServiceLoader.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/PVServerService/ServiceLoader/PVServer_ServiceLoader.cxx b/src/PVServerService/ServiceLoader/PVServer_ServiceLoader.cxx index 6bfe12307..c36695f7c 100644 --- a/src/PVServerService/ServiceLoader/PVServer_ServiceLoader.cxx +++ b/src/PVServerService/ServiceLoader/PVServer_ServiceLoader.cxx @@ -52,7 +52,9 @@ std::string PVServer_ServiceLoader::findOrLoadService(const char * containerName std::string PVServer_ServiceLoader::findService(const char * containerName) { - std::string path = std::string(containerName) + "/PVSERVER"; + std::string path = "/Containers"; + path += containerName; + path += "/PVSERVER"; CORBA::Object_ptr obj = _ns->Resolve(path.c_str()); if(!CORBA::is_nil(obj)) { -- 2.39.2